From 4340482eda103e6181437927c1d869453fc03d13 Mon Sep 17 00:00:00 2001 From: John Millaway Date: Mon, 12 Aug 2002 23:15:41 +0000 Subject: [PATCH] Updated manual for %option header. --- flex.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flex.texi b/flex.texi index 8559355..0ee030a 100644 --- a/flex.texi +++ b/flex.texi @@ -2358,6 +2358,7 @@ The result is large but fast. This option is equivalent to generates a ``help'' summary of @code{flex}'s options to @file{stdout} and then exits. +@anchor{option-header} @item --header=FILE instructs flex to write a C header to @file{FILE}. This file contains function prototypes, extern variables, and macros used by the scanner. @@ -3831,6 +3832,9 @@ The above code may be called from within an action like this: @end verbatim @end example +You may find that @code{%option header} is particularly useful for generating +prototypes of all the accessor functions. @xref{option-header}. + @node Extra Data @subsection Extra Data -- 2.40.0