Message6960

Author fwierzbicki
Recipients fwierzbicki, smokxx
Date 2012-03-23.22:29:04
SpamBayes Score 8.717765e-05
Marked as misclassified No
Message-id <1332541745.25.0.746817688491.issue1866@psf.upfronthosting.co.za>
In-reply-to
Content
+    @Override
+    public void reportError(RecognitionException e) {
+      // Update syntax error count and output error.
+      super.reportError(e);
+      errorHandler.reportError(this, e);
-}
+    }
+}

smokxx: we won't be able to do it like you have as we will end up with ANTLR style error messages on top of/mixed in with Python style error messages - is there any way you can change your patch to extend some kind of errorHandler?
History
Date User Action Args
2012-03-23 22:29:05fwierzbickisetmessageid: <1332541745.25.0.746817688491.issue1866@psf.upfronthosting.co.za>
2012-03-23 22:29:05fwierzbickisetrecipients: + fwierzbicki, smokxx
2012-03-23 22:29:05fwierzbickilinkissue1866 messages
2012-03-23 22:29:04fwierzbickicreate