Is it possible to accept a bison-rule from the action in combination with the %glr-parser directive active?
Something like the following:
aRule : 'a' 'b' 'c' { /* Do some calculations and depending on those you allow/disallow this rule and continue the parsing without returning from the yyparse function. */ } ;