help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Example in Bison's documentation


From: John P. Hartmann
Subject: Re: Example in Bison's documentation
Date: Tue, 11 Oct 2016 21:57:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

The parser can control the lexer, but you must be careful to do this only when that parser does not need a lookahead token, lest the two get out of sync.

On 10/11/2016 08:58 PM, guillaume marques wrote:
On 11 Oct 2016, at 20:50, address@hidden wrote:

In the manual of Bison 3.0.4, 7.2 Lexical Tie-ins, p. 130:
You must also write the code in yylex to obey the flag.

Oh gosh, I did not pay enough attention to this sentence
when I first read it I guess..

Thanks a lot for all the help you provided and the time you
allocated!

Have a great day :)

Sincerely yours,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]