summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2016-03-18 15:09:44 -0400
committerWill Estes <westes575@gmail.com>2016-03-18 15:09:44 -0400
commite873499f3218fa7f4a315992764b1a417da6d7ec (patch)
tree53dff20e6545a4c38999763551ae63de3c67e7b2 /doc
parent0292299ec586910fbee69792aaedfa40ed2f5ab4 (diff)
doc: corrected example in manual, gh#67
Diffstat (limited to 'doc')
-rw-r--r--doc/flex.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index af639f1..6af69df 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -408,7 +408,7 @@ A somewhat more complicated example:
"+"|"-"|"*"|"/" printf( "An operator: %s\n", yytext );
- "{"[\^{}}\n]*"}" /* eat up one-line comments */
+ "{"[^{}\n]*"}" /* eat up one-line comments */
[ \t\n]+ /* eat up whitespace */