[fpc-pascal] deprecated syntax is inconsistent.
Florian Klaempfl
florian at freepascal.org
Thu Apr 29 14:51:09 CEST 2010
Michael Van Canneyt schrieb:
>
>
> On Thu, 29 Apr 2010, Graeme Geldenhuys wrote:
>
>> On 29 April 2010 12:39, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>>>
>>> The compiler uses only a single lookahead token, while disambiguating
>>> your
>>> example would require two.
>>
>> I did look at the links you posted and still couldn't see the problem.
>> The paragraph above gives the key information - the FPC parses only
>> uses a single lookahead.
>
> As far as I remember, this was one of the key strengths of the Pascal
> Language: that parsing is possible using a single lookahead token.
Having a bigger lookahead makes a lot more things far more complex
epecially in combination with include files, macros, generics.
More information about the fpc-pascal
mailing list