[Lazarus] Should the "at" word be painted as reserved word ?
Marco van de Voort
marcov at stack.nl
Wed Feb 15 12:17:46 CET 2012
On Wed, Feb 15, 2012 at 12:09:06PM +0100, Sven Barth wrote:
> > That was what I thought too initially. But there is also a gramatical
> > difference that in the case of repeat..until there is a zero or more
> > intermittent statements, while in the case of raise .. at there is one, and
> > only exactly one expression?
>
> What does this have to do with whether this is a keyword or not?
If only one expression, there is no conflict possible. If not a keyword, and
identifier can be defined as keyword, and the statement can be that keyword.
iow
raise at at is not ambiguous, the first "at" is the expression, the second
the keyword.
repeat until until _IS_ ambiguous.
More information about the Lazarus
mailing list