1 |
< |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.11. |
2 |
< |
.TH FLEX "1" "March 2014" "flex 2.5.39" "User Commands" |
1 |
> |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. |
2 |
> |
.TH FLEX "1" "May 2017" "The Flex Project" "Programming" |
3 |
|
.SH NAME |
4 |
|
flex \- the fast lexical analyser generator |
5 |
|
.SH SYNOPSIS |
6 |
|
.B flex |
7 |
< |
[\fIOPTIONS\fR] [\fIFILE\fR]... |
7 |
> |
[\fI\,OPTIONS\/\fR] [\fI\,FILE\/\fR]... |
8 |
|
.SH DESCRIPTION |
9 |
|
Generates programs that perform pattern\-matching on text. |
10 |
|
.SS "Table Compression:" |
57 |
|
.TP |
58 |
|
\fB\-v\fR, \fB\-\-verbose\fR |
59 |
|
write summary of scanner statistics to stdout |
60 |
+ |
.TP |
61 |
+ |
\fB\-\-hex\fR |
62 |
+ |
use hexadecimal numbers instead of octal in debug outputs |
63 |
|
.SH FILES |
64 |
|
.TP |
65 |
< |
\fB\-o\fR, \fB\-\-outfile\fR=\fIFILE\fR |
65 |
> |
\fB\-o\fR, \fB\-\-outfile\fR=\fI\,FILE\/\fR |
66 |
|
specify output filename |
67 |
|
.TP |
68 |
< |
\fB\-S\fR, \fB\-\-skel\fR=\fIFILE\fR |
68 |
> |
\fB\-S\fR, \fB\-\-skel\fR=\fI\,FILE\/\fR |
69 |
|
specify skeleton file |
70 |
|
.TP |
71 |
|
\fB\-t\fR, \fB\-\-stdout\fR |
72 |
|
write scanner on stdout instead of lex.yy.c |
73 |
|
.TP |
74 |
< |
\fB\-\-yyclass\fR=\fINAME\fR |
74 |
> |
\fB\-\-yyclass\fR=\fI\,NAME\/\fR |
75 |
|
name of C++ class |
76 |
|
.TP |
77 |
< |
\fB\-\-header\-file\fR=\fIFILE\fR |
77 |
> |
\fB\-\-header\-file\fR=\fI\,FILE\/\fR |
78 |
|
create a C header file in addition to the scanner |
79 |
|
.HP |
80 |
< |
\fB\-\-tables\-file\fR[=\fIFILE\fR] write tables to FILE |
80 |
> |
\fB\-\-tables\-file\fR[=\fI\,FILE\/\fR] write tables to FILE |
81 |
|
.SS "Scanner behavior:" |
82 |
|
.TP |
83 |
|
\fB\-7\fR, \fB\-\-7bit\fR |
108 |
|
\-+, \fB\-\-c\fR++ |
109 |
|
generate C++ scanner class |
110 |
|
.TP |
111 |
< |
\fB\-Dmacro\fR[=\fIdefn\fR] |
111 |
> |
\fB\-Dmacro\fR[=\fI\,defn\/\fR] |
112 |
|
#define macro defn (default defn is '1') |
113 |
|
.TP |
114 |
|
\fB\-L\fR, \fB\-\-noline\fR |
115 |
|
suppress #line directives in scanner |
116 |
|
.TP |
117 |
< |
\fB\-P\fR, \fB\-\-prefix\fR=\fISTRING\fR |
117 |
> |
\fB\-P\fR, \fB\-\-prefix\fR=\fI\,STRING\/\fR |
118 |
|
use STRING as prefix instead of "yy" |
119 |
|
.TP |
120 |
|
\fB\-R\fR, \fB\-\-reentrant\fR |
128 |
|
.TP |
129 |
|
\fB\-\-stdinit\fR |
130 |
|
initialize yyin/yyout to stdin/stdout |
128 |
– |
.HP |
129 |
– |
\fB\-\-noansi\-definitions\fR old\-style function definitions |
130 |
– |
.TP |
131 |
– |
\fB\-\-noansi\-prototypes\fR |
132 |
– |
empty parameter list in prototypes |
131 |
|
.TP |
132 |
|
\fB\-\-nounistd\fR |
133 |
|
do not include <unistd.h> |