summaryrefslogtreecommitdiff
path: root/doc/flex.texi
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2006-02-13 21:45:06 +0000
committerJohn Millaway <john43@users.sourceforge.net>2006-02-13 21:45:06 +0000
commit9d660e2b9b934f82b90072a7be69301799d44c40 (patch)
treeb6f5ca3c53a24b9235ad87e2c1cd100d4e7abe1f /doc/flex.texi
parentc02e0ee42a39beb643455eba57256c8b3c7ee583 (diff)
Documentation.
Diffstat (limited to 'doc/flex.texi')
-rw-r--r--doc/flex.texi10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index 51f01cf..ed53def 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -8278,11 +8278,15 @@ code from unwanted @code{m4} processing.
@itemize
@item Do not use symbols that begin with, @samp{m4_}, such as, @samp{m4_define},
-or @samp{m4_include}, since those are reserved for @code{m4} macro names.
+or @samp{m4_include}, since those are reserved for @code{m4} macro names. If for
+some reason you need m4_ as a prefix, use a preprocessor #define to get your
+symbol past m4 unmangled.
@item Do not use the strings @samp{[[} or @samp{]]} anywhere in your code. The
-former is not valid in C, except within comments, but the latter is valid in
-code such as @code{x[y[z]]}.
+former is not valid in C, except within comments and strings, but the latter is valid in
+code such as @code{x[y[z]]}. The solution is simple. To get the literal string
+@code{"]]"}, use @code{"]""]"}. To get the array notation @code{x[y[z]]},
+use @code{x[y[z] ]}.
@end itemize