> On 1 Dec 2024, at 20:07, James K. Lowden <jklow...@schemamania.org> wrote: > > On Sun, 1 Dec 2024 21:10:31 -0500 > Maury Markowitz <maury.markow...@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.