From: helly Date: Sat, 17 Apr 2004 15:49:13 +0000 (+0000) Subject: Fix example, cur must be set to make the uncommented printf's working X-Git-Tag: 0.13.6~721 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=644ea72ce29502889d1f8655e218701701d45cc0;p=re2c Fix example, cur must be set to make the uncommented printf's working --- 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; }