bison-patches
[Top][All Lists]
Advanced

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

Re: LANG and @documentlanguage


From: Akim Demaille
Subject: Re: LANG and @documentlanguage
Date: Tue, 02 Dec 2003 18:03:30 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 >> C'est vrai :)  Mais c'est fait depuis d'ailleurs (CVS Bison):

 > Bien!

 >> ...
 >> These problems typically come not from Bison itself, but from
 >> Lex-generated scanners.  Because these scanners use large buffers for
 >> speed, they might not notice a change of input file...

 > Après ce texte, j'ajouterais aussi:

 >   If your Flex-generated scanner uses start conditions (Note:
 >   Start conditions -> Flex manual), you might also want to reset the
 >   lexer's state, i.e. go back to the initial start condition, through
 >   a call to BEGIN(0).

Thanks!

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * doc/bison.texinfo (How Can I Reset the Parser): More about start
        conditions.
        From Bruno Haible.

Index: THANKS
===================================================================
RCS file: /cvsroot/bison/bison/THANKS,v
retrieving revision 1.57
diff -u -u -r1.57 THANKS
--- THANKS 2 Mar 2003 11:22:18 -0000 1.57
+++ THANKS 2 Dec 2003 17:00:15 -0000
@@ -12,6 +12,7 @@
 Benoit Perrot             address@hidden
 Bert Deknuydt             address@hidden
 Bruce Lilly               address@hidden
+Bruno Haible              address@hidden
 Charles-Henri de Boysson  address@hidden
 Cris Bailiff              address@hidden
 Cris van Pelt             address@hidden
Index: doc/bison.texinfo
===================================================================
RCS file: /cvsroot/bison/bison/doc/bison.texinfo,v
retrieving revision 1.118
diff -u -u -r1.118 bison.texinfo
--- doc/bison.texinfo 18 Nov 2003 19:14:05 -0000 1.118
+++ doc/bison.texinfo 2 Dec 2003 17:00:15 -0000
@@ -6508,6 +6508,11 @@
 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
 






reply via email to

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