Re: Unquoted strings in BASIC

Hans Ã…berg <[email protected]> Mon, 2 Dec 2024 22:09:25 +0100
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
> On 1 Dec 2024, at 20:07, James K. Lowden <[email protected]> =
wrote:
>=20
> On Sun, 1 Dec 2024 21:10:31 -0500
> Maury Markowitz <[email protected]> wrote:
>=20
>>> DATA { yy_push_state(data); }
>>=20
>> Is there a difference between yy_push_state(data) and BEGIN(data)?
>=20
> 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. =20

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