[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Example in Bison's documentation
From: |
Hans Åberg |
Subject: |
Re: Example in Bison's documentation |
Date: |
Tue, 11 Oct 2016 20:50:36 +0200 |
> On 11 Oct 2016, at 19:23, guillaume marques <address@hidden> wrote:
>
> On 11 Oct 2016, at 18:42, address@hidden wrote:
>
>> It is handled by the lexer (cf. the last sentence of that paragraph):
>>
>> In appropriate places, the variable is read, and different lexing takes
>> place.
>> Flex admits start conditions that can be set before the lexing begins.
>
> Oh, I see! Thank you very much for your help!
You are welcome.
> May I ask you one more thing?
Just shoot.
> Where did you find this sentence? Because i
> can't seem to find it..
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.