Michael Van Canneyt schrieb:
> 
> 
> On Thu, 29 Apr 2010, Graeme Geldenhuys wrote:
> 
>> On 29 April 2010 12:39, Jonas Maebe <jonas.ma...@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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to