Commit 1ddc97ba authored by Johannes Roith's avatar Johannes Roith

Report parser aborts.

parent ef5fa565
package de.in.tum.www2.cup;
import java.io.FileInputStream;
import java.io.InputStream;
import de.in.tum.www2.cup.ast.*;
......@@ -38,9 +37,8 @@ public class CupParser
try {
parser.parse();
} catch (ParserAbortException e) {
context.getErrorManager().Fatal(ErrorSource.Parser, "PARSER ABORT!");
System.out.println("PARSER ABORT!");
this.context = null;
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment