Just checking up on fill implementation and come over this in  
bootstrap/scanner.cc which I believe should be changed with this patch  
to avoid risking setting the top pointer into wonderland.


Index: bootstrap/scanner.cc
===================================================================
--- bootstrap/scanner.cc        (revision 828)
+++ bootstrap/scanner.cc        (working copy)
@@ -67,7 +67,7 @@
                        cursor = &buf[cursor - bot];
                        pos = &buf[pos - bot];
                        lim = &buf[lim - bot];
-                       top = &lim[BSIZE];
+                       top = lim + need;
                        delete [] bot;
                        bot = buf;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Re2c-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/re2c-general

Reply via email to