more info on NoViableAltException?
1 posts in topic
Flat View  Flat View

Posted By:   joe_kraska
Posted On:   Saturday, January 26, 2002 07:07 PM

When a NoViableAltException occurs, I would like to know both what decision I was in at the time of the exception as well as the entire set of LA(1) tokens
which _would have_ satisfied the production. Does anyone know how to do this? It's not obvious to me at all.

Joe Kraska

San Diego


Re: more info on NoViableAltException?

Posted By:   Terence_Parr  
Posted On:   Saturday, February 2, 2002 10:00 AM

Hi Joe. I believe 2.7.2 will provide a bit more info for you in that it will let you ask for lookahead sets...Hmm...i will ponder this 'tracking which decision' thing. It's a bit tough when there is an error in a deeply nested subrule ;) How do you name something that has no label?
About | Sitemap | Contact