Added the name of the file to the error report.
[repair.git] / Repair / RepairCompiler / java_cup / runtime / lr_parser.java
index 3c8335cb25248cc6619f8f5324ce30d08b5e5543..0687120d8f3542d99d1d3a61c1674614752e6dfe 100755 (executable)
@@ -377,8 +377,8 @@ public abstract class lr_parser {
       System.err.print(message);
       if (info instanceof Symbol)
        if (((Symbol)info).left != -1)
-       System.err.println(" at character " + ((Symbol)info).left + 
-                          " of input");
+           //System.err.println(" at character " + ((Symbol)info).left + " of input");
+           System.err.println(" not expected here.");
        else System.err.println("");
       else System.err.println("");
     }