]> granicus.if.org Git - re2c/commitdiff
Fix example, cur must be set to make the uncommented printf's working
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Sat, 17 Apr 2004 15:49:13 +0000 (15:49 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Sat, 17 Apr 2004 15:49:13 +0000 (15:49 +0000)
re2c.1.in

index 67abf953a7c63ce8e06eae4b12eb11f7aa18e02a..1b155564f271c01522a13a9b94bceb8536d32c28 100644 (file)
--- a/re2c.1.in
+++ b/re2c.1.in
@@ -7,6 +7,9 @@
 .ds rx regular expression
 .ds lx \fIl\fP-expression
 \"$Log$
+\"Revision 1.6  2004/04/17 15:49:13  helly
+\"Fix example, cur must be set to make the uncommented printf's working
+\"
 \"Revision 1.5  2004/03/30 01:02:45  helly
 \"Update docu
 \"
@@ -346,6 +349,7 @@ uchar *fill(Scanner *s, uchar *cursor){
         }
         s->lim += cnt;
     }
+    s->cur = cursor;
     return cursor;
 }