From: Markus Date: 2004-10-12T12:57:01+09:00 Subject: Re: Ruby Directions (was Re: quality of error messages) > I do this also. Basically, anything not an end marker that is _flush_ > left can be ignored for the purpose of "finding the end". Sounds reasonable at first glance. Thanks. > PS: I still like the other idea (end [(module|class|def) []]) > better. =) I have not been able to assure myself that this could be done without breaking anything (or at least, be done by me). I can see how to do it, but I am just rusty enough on the guts of LR(1)/LALR(1) parsers to be uneasy with the potential for conflicts. Would you like me to pursue the idea? (With the caveat that my experiments are for our enlightenment, and not meant to be shaping/forcing ruby's development in any way that it does not wish to go.) -- Markus