Le 25 janv. 2011 à 04:47, Joel E. Denny a écrit :

> Also, as you probably recall, the reason scan-gram.l has to be so messy in 
> order to support omitting semicolons is because Bison-generated parsers 
> support only one token of lookahead.  However, after 2.5, I'd like to 
> propose a mechanism that enables a user to cleanly extend lookahead at 
> particular points in a grammar.  About a year ago, I implemented that 
> mechanism offline and successfully used it to clean up this area of the 
> grammar without changing the functionality.  So, whenever we return to 
> this issue, if we find that there's no other nice way to clean up this 
> code without losing important backward compatibility, we'll still have a 
> decent way out.

That sounds like a very reasonable plan!


Reply via email to