From 644ea72ce29502889d1f8655e218701701d45cc0 Mon Sep 17 00:00:00 2001 From: helly Date: Sat, 17 Apr 2004 15:49:13 +0000 Subject: [PATCH] Fix example, cur must be set to make the uncommented printf's working --- re2c.1.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/re2c.1.in b/re2c.1.in index 67abf953..1b155564 100644 --- 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; } -- 2.40.0