Hi Jim,

 

I'm trying to do my own error report, so I'm testing with some
ill-formed syntax. Then I came across the MATCH of EOF in the
myParser.c. Through debugging, I found that in getMissingSymbol in
recoverFromMismatchedToken, the ttype passed in is -1, and then inside
of it, when it tries to appen8 which would fail with the second
parameter being  (const char
*)recognizer->state->tokenNames[expectedTokenType].

 

Hope I didn't mistake anything, can you check it and see if it's a real
bug?

 

Many thanks!

Linlin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to