How to get 'expected token' in bison/yacc GLR-parser?
Hi,
In the project i am doing, there'er a few ambiguous gramar. So i am trying to use %glr-parser to solve the shift/reduce confilicts.
When i was using non-GLR parser, i can use the yystate(global variable) to get the "expected token" when detect syntax error.But after switch to GLR parser, i find it's not global variable anymore.
So my question is, is there anyway to get the "expected token" in GLR-parser when there's a syntax error?