From eeaa6b78d636433d87bd37580172ed05436817f5 Mon Sep 17 00:00:00 2001 From: helly Date: Fri, 11 Nov 2005 07:39:53 +0000 Subject: [PATCH] - Fix docu (found by Greg Beaver) --- htdocs/manual.html | 6 +++--- re2c.1.in | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/htdocs/manual.html b/htdocs/manual.html index 657f0b04..48c6bfc6 100755 --- a/htdocs/manual.html +++ b/htdocs/manual.html @@ -139,10 +139,10 @@ must define the following macros:

symbol. The generated code advances YYCURSOR as symbols are matched. On entry, YYCURSOR is assumed to point to the first character of the current token. On exit, YYCURSOR will point to the first character of the following token.

-
YLIMIT
-
Expression of type *YYCTYPE that marks the end of the buffer (YLIMIT[-1] is +
YYLIMIT
+
Expression of type *YYCTYPE that marks the end of the buffer (YYLIMIT[-1] is the last character in the buffer). The generated code repeatedly compares -YYCURSOR to YLIMIT to determine when the buffer needs (re)filling.

+YYCURSOR to YYLIMIT to determine when the buffer needs (re)filling.

YYMARKER
l-expression of type *YYCTYPE. The generated code saves backtracking information in YYMARKER.

diff --git a/re2c.1.in b/re2c.1.in index 054270fe..eda66bc9 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.25 2005/11/11 07:39:53 helly +\"- Fix docu (found by Greg Beaver) +\" \"Revision 1.24 2005/09/04 11:41:21 helly \"- The 2nd switch of course describes -i not -d again \" @@ -236,10 +239,10 @@ On entry, \fCYYCURSOR\fP is assumed to point to the first character of the current token. On exit, \fCYYCURSOR\fP will point to the first character of the following token. .TP -\fCYLIMIT\fP +\fCYYLIMIT\fP Expression of type \fC*YYCTYPE\fP that marks the end of the buffer -(\fCYLIMIT[-1]\fP is the last character in the buffer). -The generated code repeatedly compares \fCYYCURSOR\fP to \fCYLIMIT\fP +(\fCYYLIMIT[-1]\fP is the last character in the buffer). +The generated code repeatedly compares \fCYYCURSOR\fP to \fCYYLIMIT\fP to determine when the buffer needs (re)filling. .TP \fCYYMARKER\fP -- 2.50.1