public void AddError(SourceLocation location, string message, ParserState state) { if (Errors.Count < 20) //just for now, 20 is max { Errors.Add(new SyntaxError(location, message, state)); } }
public void AddError(SourceLocation location, string message, ParserState state) { Errors.Add(new SyntaxError(location, message, state)); }