help-bison
[Top][All Lists]
Advanced

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

Re: Unquoted strings in BASIC


From: Hans Åberg
Subject: Re: Unquoted strings in BASIC
Date: Mon, 2 Dec 2024 22:09:25 +0100

> On 1 Dec 2024, at 20:07, James K. Lowden <jklowden@schemamania.org> wrote:
> 
> On Sun, 1 Dec 2024 21:10:31 -0500
> Maury Markowitz <maury.markowitz@gmail.com> wrote:
> 
>>> DATA { yy_push_state(data); }
>> 
>> Is there a difference between yy_push_state(data) and BEGIN(data)?
> 
> Yes.  As stated in the manual, BEGIN simply changes the start
> condition. yy_push_state and yy_pop_state use a stack, so you can
> return to the previous state, no matter how you got there.  

One use is for comments that one wants to be removed without any side effects.





reply via email to

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