Exemplo n.º 1
0
 public void SyntaxError(
     IRecognizer recognizer,
     IToken offendingSymbol,
     int line,
     int charPositionInLine,
     string msg,
     RecognitionException e)
 {
     throw handler.ParseFailure(inputFile, $"line {line}:{charPositionInLine} {msg}");
 }