From: helly
Date: Mon, 26 Feb 2007 09:21:52 +0000 (+0000)
Subject: - Update docu
X-Git-Tag: 0.13.6~222
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=764356aa3addd1747e4ec4e9f8cf32f33c95f535;p=re2c
- Update docu
---
diff --git a/re2c/htdocs/manual.html b/re2c/htdocs/manual.html
index e6fac74b..163f50bc 100755
--- a/re2c/htdocs/manual.html
+++ b/re2c/htdocs/manual.html
@@ -255,7 +255,7 @@ the scanner code should be wrapped inside a loop.
tweaked using inplace configurations "state:abort" and "state:nextlabel".
SCANNER SPECIFICATIONS
-Each scanner specification consists of a set of rules, name
+
Each scanner specification consists of a set of rules, named
definitions and configurations.
Rules consist of a regular expression along with a block of C/C++
code that is to be executed when the associated regular expression is
@@ -267,10 +267,11 @@ matched.
- name = regular expression;
-Configurations look like name definitions whose names start with
+
Configurations look like named definitions whose names start with
"re2c:":
- re2c:name = value;
+- re2c:name = "value";
SUMMARY OF RE2C REGULAR EXPRESSIONS
@@ -471,7 +472,7 @@ specification for each start condition (as illustrated in the above example).
SEE ALSO
flex(1), lex(1). More information on re2c can be found here:
http://sourceforge.net/projects/re2c/
+"http://re2c.org/">http://re2c.org/
AUTHORS
diff --git a/re2c/re2c.1.in b/re2c/re2c.1.in
index a718ef3a..09cd5108 100644
--- a/re2c/re2c.1.in
+++ b/re2c/re2c.1.in
@@ -292,7 +292,7 @@ Please see examples/push.re for push-model scanner. The generated code can be
tweaked using inplace configurations "\fBstate:abort\fP" and "\fBstate:nextlabel\fP".
.SH "SCANNER SPECIFICATIONS"
-Each scanner specification consists of a set of \fIrules\fP, \fIname
+Each scanner specification consists of a set of \fIrules\fP, \fInamed
definitions\fP and \fIconfigurations\fP.
.LP
\fIRules\fP consist of a regular expression along with a block of C/C++ code that
@@ -308,12 +308,15 @@ Named definitions are of the form:
\fIname\fP \fC=\fP \fIregular expression\fP\fC;\fP
.RE
.LP
-Configurations look like name definitions whose names start
+Configurations look like named definitions whose names start
with "\fBre2c:\fP":
.P
.RS
\fCre2c:\fP\fIname\fP \fC=\fP \fIvalue\fP\fC;\fP
.RE
+.RS
+\fCre2c:\fP\fIname\fP \fC=\fP \fB"\fP\fIvalue\fP\fB"\fP\fC;\fP
+.RE
.SH "SUMMARY OF RE2C REGULAR EXPRESSIONS"
.TP
@@ -570,7 +573,7 @@ flex(1), lex(1).
More information on \*(re can be found here:
.PD 0
.P
-.B http://sourceforge.net/projects/re2c/
+.B http://re2c.org/
.PD 1
.SH AUTHORS