summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDemi Obenour <demiobenour@gmail.com>2016-09-23 11:28:56 -0400
committerWill Estes <westes575@gmail.com>2016-09-25 16:12:14 -0400
commite50d903620be9b81e8dd89d1ed1063c13836ff26 (patch)
tree2af5809689166b1e2a809208193c7e9d2301aaa8 /doc
parent7528bc0aee69c32fad8ffd8c84a4008627b7e445 (diff)
no longer generate K&R C scanners
Diffstat (limited to 'doc')
-rw-r--r--doc/flex.texi23
1 files changed, 8 insertions, 15 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index 6af69df..c71dc59 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -1491,15 +1491,14 @@ the scanning routine using a K&R-style/non-prototyped function
declaration, you must terminate the definition with a semi-colon (;).
@code{flex} generates @samp{C99} function definitions by
-default. However flex does have the ability to generate obsolete, er,
-@samp{traditional}, function definitions. This is to support
+default. Flex used toFlex used to have the ability to generate obsolete, er,
+@samp{traditional}, function definitions. This was to support
bootstrapping gcc on old systems. Unfortunately, traditional
definitions prevent us from using any standard data types smaller than
-int (such as short, char, or bool) as function arguments. For this
-reason, future versions of @code{flex} may generate standard C99 code
-only, leaving K&R-style functions to the historians. Currently, if you
-do @strong{not} want @samp{C99} definitions, then you must use
-@code{%option noansi-definitions}.
+int (such as short, char, or bool) as function arguments. Furthermore,
+traditional definitions support added extra complexity in the skeleton file.
+For this reason, current versions of @code{flex} generate standard C99 code
+only, leaving K&R-style functions to the historians.
@cindex stdin, default for yyin
@cindex yyin
@@ -2860,19 +2859,13 @@ calls @code{yylex()} again).
@opindex ---option-ansi-definitions
@opindex ansi-definitions
@item --ansi-definitions, @code{%option ansi-definitions}
-instruct flex to generate ANSI C99 definitions for functions.
-This option is enabled by default.
-If @code{%option noansi-definitions} is specified, then the obsolete style
-is generated.
+Deprecated, ignored
@anchor{option-ansi-prototypes}
@opindex ---option-ansi-prototypes
@opindex ansi-prototypes
@item --ansi-prototypes, @code{%option ansi-prototypes}
-instructs flex to generate ANSI C99 prototypes for functions.
-This option is enabled by default.
-If @code{noansi-prototypes} is specified, then
-prototypes will have empty parameter lists.
+Deprecated, ignored
@anchor{option-bison-bridge}
@opindex ---bison-bridge