"Joseph F. Ryan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Rafael Garcia-Suarez wrote:
> >
> >The tokeniser could send two tokens "else" and "if" whenever it
> >recognizes the keyword "elsif" -- so this isn't a problem.
> >
>
> I think the point of having C<if> as a sub rather than as a separate
> syntax is so the parser doesn't have to do anything special for
> special keywords.

The specialness could be generalized, so that its no longer a parser hack:

<proposal rating='NOOOooo'>
#define elsif else if
</idea>

Dave.


Reply via email to