Le 22 déc. 05 à 19:49, Joel E. Denny a écrit :
Would it be worthwhile to warn about unmentioned typed $$ as well?
The correct handling of $$ is troublesome when there are midrule actions. I tried to see how this could be implemented peacefully in bison, but I gave up: there's a lot of code duplication here, complexified by games played with "current_rule" and "previous_rule". This is the kind of things I'd like to get rid of by moving the translation of $$ etc. in a second pass, in a second scanner. So I propose that we leave it as is for now, later, with a cleaner set up, it will be easier to have it right. I installed the following. Note that the warning is somewhat annoying with rules running YYERROR etc.
diffs.patch
Description: Binary data
