Re: Optional "then" and "do"
- Posted by Larry Miller <larrymiller at ?as?tel.net> May 14, 2008
- 981 views
yuku wrote: > > I made changes to the parser.e so that the keyword "then" and "do" > is optional (if the coder wants that it is still accepted). > > Reasons: > > - Less typing > > - Prevent mistakes of writing if <expr> do and for <expr> then > which I did a lot of times (Kat too) > > If no real objection is made, I will commit it. If I remember correctly Rob Craig had mentioned this some time ago. I wasn't able to find the reference. I think the parser needs these words to avoid ambiguity in some cases. I think this needs to be further investigated before making any changes. Larry Miller