summaryrefslogtreecommitdiff
path: root/doc/flex.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/flex.texi')
-rw-r--r--doc/flex.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index c8ec07f..04aff51 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -757,7 +757,7 @@ Options may be zero or more of the characters @samp{i}, @samp{s}, or @samp{x}.
@samp{x} ignores comments and whitespace in patterns. Whitespace is ignored unless
it is backslash-escaped, contained within @samp{""}s, or appears inside a
-character class. TODO -- Do we ignore Perl comments, C comments, or both?
+character class.
The following are all valid:
@@ -772,6 +772,10 @@ The following are all valid:
(?x:a\ b) same as ("a b")
(?x:a" "b) same as ("a b")
(?x:a[ ]b) same as ("a b")
+(?x:a
+ /* comment */
+ b
+ c) same as (abc)
@end verbatim
@item (?# comment )