> On 9 Feb 2019, at 00:21, Peng Yu <pengyu...@gmail.com> 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.



_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to