From b165c324a3149114250c796852dd2b33d79db67d Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 2 Dec 2003 17:08:31 +0000 Subject: [PATCH] * doc/bison.texinfo (How Can I Reset the Parser): More about start conditions. From Bruno Haible. --- ChangeLog | 6 ++++++ THANKS | 1 + doc/bison.texinfo | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 75dcd411..f8d95ab0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-12-02 Akim Demaille + + * doc/bison.texinfo (How Can I Reset the Parser): More about start + conditions. + From Bruno Haible. + 2003-11-18 Alexandre Duret-Lutz * doc/bison.texinfo (Bison Options): Escape `@' in `$@'. diff --git a/THANKS b/THANKS index 4180bd95..cb6025c8 100644 --- a/THANKS +++ b/THANKS @@ -12,6 +12,7 @@ Art Haas ahaas@neosoft.com Benoit Perrot benoit.perrot@epita.fr Bert Deknuydt Bert.Deknuydt@esat.kuleuven.ac.be Bruce Lilly blilly@erols.com +Bruno Haible bruno@clisp.org Charles-Henri de Boysson de-boy_c@epita.fr Cris Bailiff c.bailiff+bison@awayweb.com Cris van Pelt cris@amf03054.office.wxs.nl diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 0e39b9ae..4b706d67 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -6508,6 +6508,11 @@ handle features like include files, you might consider using Flex functions like @samp{yy_switch_to_buffer} that manipulate multiple input buffers. +If your Flex-generated scanner uses start conditions (@pxref{Start +conditions, , Start conditions, flex, The Flex Manual}), you might +also want to reset the scanner's state, i.e., go back to the initial +start condition, through a call to @samp{BEGIN (0)}. + @node Strings are Destroyed @section Strings are Destroyed -- 2.45.2