Example #1
0
 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));
     }
 }
Example #2
0
 public void AddError(SourceLocation location, string message, ParserState state)
 {
     Errors.Add(new SyntaxError(location, message, state));
 }