help-bison
[Top][All Lists]
Advanced

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

Re: Is it always possible to make a non-reentrant parser reentrant?


From: Hans Åberg
Subject: Re: Is it always possible to make a non-reentrant parser reentrant?
Date: Tue, 12 Feb 2019 10:41:19 +0100

> On 9 Feb 2019, at 00:21, Peng Yu <address@hidden> wrote:
> 
>> %x INITIAL HEREDOC
> 
> I see %x is from flex. Bash can support nested heredoc. How can it be
> implemented in flex?

For nested environments one uses a stack, if there are local variables to keep 
track of. Such switches will then appropriately have to be turned on and off.





reply via email to

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