[fpc-pascal] deprecated syntax is inconsistent.

Marco van de Voort marcov at stack.nl
Thu Apr 29 14:39:54 CEST 2010


In our previous episode, ik said:

> > The compiler uses only a single lookahead token, while disambiguating your
> > example would require two.
> >
> 
> I probably missing something here but how does the compiler knows about
> override, cdecl etc... directives in one pass ?

A procedure declaration never is followed by an identifier, so the ambiguity
doesn't exist there. (at least not after the 2.4.0 fixes)



More information about the fpc-pascal mailing list