1This is flex.info, produced by makeinfo version 6.1 from flex.texi.
2
3The flex manual is placed under the same licensing conditions as the
4rest of flex:
5
6   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex
7Project.
8
9   Copyright (C) 1990, 1997 The Regents of the University of California.
10All rights reserved.
11
12   This code is derived from software contributed to Berkeley by Vern
13Paxson.
14
15   The United States Government has rights in this work pursuant to
16contract no.  DE-AC03-76SF00098 between the United States Department of
17Energy and the University of California.
18
19   Redistribution and use in source and binary forms, with or without
20modification, are permitted provided that the following conditions are
21met:
22
23  1. Redistributions of source code must retain the above copyright
24     notice, this list of conditions and the following disclaimer.
25
26  2. Redistributions in binary form must reproduce the above copyright
27     notice, this list of conditions and the following disclaimer in the
28     documentation and/or other materials provided with the
29     distribution.
30
31   Neither the name of the University nor the names of its contributors
32may be used to endorse or promote products derived from this software
33without specific prior written permission.
34
35   THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
36WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
37MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
38INFO-DIR-SECTION Programming
39START-INFO-DIR-ENTRY
40* flex: (flex).      Fast lexical analyzer generator (lex replacement).
41END-INFO-DIR-ENTRY
42
43
44File: flex.info,  Node: Index of Functions and Macros,  Next: Index of Variables,  Prev: Concept Index,  Up: Indices
45
46Index of Functions and Macros
47=============================
48
49This is an index of functions and preprocessor macros that look like
50functions.  For macros that expand to variables or constants, see *note
51Index of Variables::.
52
53[index]
54* Menu:
55
56* BEGIN:                                 Start Conditions.    (line  84)
57* debug (C++ only):                      Cxx.                 (line  48)
58* LexerError (C++ only):                 Cxx.                 (line 112)
59* LexerInput (C++ only):                 Cxx.                 (line  97)
60* LexerOutput (C++ only):                Cxx.                 (line 107)
61* lineno (C++ only):                     Cxx.                 (line  38)
62* set_debug (C++ only):                  Cxx.                 (line  42)
63* switch_streams (C++ only):             Cxx.                 (line  82)
64* yyFlexLexer constructor (C++ only):    Cxx.                 (line  61)
65* yyget_debug:                           Reentrant Functions. (line   8)
66* yyget_extra:                           Extra Data.          (line  20)
67* yyget_extra <1>:                       Reentrant Functions. (line   8)
68* yyget_in:                              Reentrant Functions. (line   8)
69* yyget_leng:                            Reentrant Functions. (line   8)
70* yyget_lineno:                          Reentrant Functions. (line   8)
71* yyget_out:                             Reentrant Functions. (line   8)
72* yyget_text:                            Reentrant Functions. (line   8)
73* YYLeng (C++ only):                     Cxx.                 (line  34)
74* yylex (C++ version):                   Cxx.                 (line  70)
75* yylex (reentrant version):             Bison Bridge.        (line  22)
76* yylex (reentrant version) <1>:         Bison Bridge.        (line  27)
77* yylex_destroy:                         Init and Destroy Functions.
78                                                              (line   6)
79* yylex_init:                            Init and Destroy Functions.
80                                                              (line   6)
81* yypop_buffer_state:                    Multiple Input Buffers.
82                                                              (line  60)
83* yypush_buffer_state:                   Multiple Input Buffers.
84                                                              (line  52)
85* yyrestart:                             User Values.         (line  38)
86* yyset_debug:                           Reentrant Functions. (line   8)
87* yyset_extra:                           Extra Data.          (line  20)
88* yyset_extra <1>:                       Reentrant Functions. (line   8)
89* yyset_in:                              Reentrant Functions. (line   8)
90* yyset_lineno:                          Reentrant Functions. (line   8)
91* yyset_out:                             Reentrant Functions. (line   8)
92* yytables_destroy:                      Loading and Unloading Serialized Tables.
93                                                              (line  23)
94* yytables_fload:                        Loading and Unloading Serialized Tables.
95                                                              (line  10)
96* YYText (C++ only):                     Cxx.                 (line  30)
97* YY_AT_BOL:                             Misc Macros.         (line  46)
98* yy_create_buffer:                      Multiple Input Buffers.
99                                                              (line  19)
100* yy_delete_buffer:                      Multiple Input Buffers.
101                                                              (line  46)
102* yy_flush_buffer:                       Multiple Input Buffers.
103                                                              (line  66)
104* yy_new_buffer:                         Multiple Input Buffers.
105                                                              (line  72)
106* YY_NEW_FILE (now obsolete):            EOF.                 (line  11)
107* yy_pop_state:                          Start Conditions.    (line 295)
108* yy_push_state:                         Start Conditions.    (line 289)
109* yy_scan_buffer:                        Multiple Input Buffers.
110                                                              (line 196)
111* yy_scan_bytes:                         Multiple Input Buffers.
112                                                              (line 186)
113* yy_scan_string:                        Multiple Input Buffers.
114                                                              (line 183)
115* yy_set_bol:                            Misc Macros.         (line  40)
116* yy_set_interactive:                    Misc Macros.         (line  28)
117* yy_switch_to_buffer:                   Multiple Input Buffers.
118                                                              (line  35)
119* yy_top_state:                          Start Conditions.    (line 298)
120
121
122File: flex.info,  Node: Index of Variables,  Next: Index of Data Types,  Prev: Index of Functions and Macros,  Up: Indices
123
124Index of Variables
125==================
126
127This is an index of variables, constants, and preprocessor macros that
128expand to variables or constants.
129
130[index]
131* Menu:
132
133* INITIAL:                               Start Conditions.    (line  84)
134* yyextra:                               Extra Data.          (line   6)
135* yyin:                                  User Values.         (line  29)
136* yyleng:                                User Values.         (line  26)
137* yylloc:                                Bison Bridge.        (line   6)
138* YYLMAX:                                User Values.         (line  13)
139* yylval:                                Bison Bridge.        (line   6)
140* yylval, with yacc:                     Yacc.                (line   6)
141* yyout:                                 User Values.         (line  45)
142* yyscanner (reentrant only):            Extra Reentrant Argument.
143                                                              (line   6)
144* yytext:                                Matching.            (line  29)
145* yytext <1>:                            User Values.         (line   9)
146* YY_CURRENT_BUFFER:                     User Values.         (line  49)
147* YY_END_OF_BUFFER_CHAR:                 Multiple Input Buffers.
148                                                              (line 196)
149* YY_NUM_RULES:                          Misc Macros.         (line  16)
150* YY_START:                              Start Conditions.    (line 191)
151* YY_START <1>:                          User Values.         (line  52)
152
153
154File: flex.info,  Node: Index of Data Types,  Next: Index of Hooks,  Prev: Index of Variables,  Up: Indices
155
156Index of Data Types
157===================
158
159[index]
160* Menu:
161
162* FlexLexer (C++ only):                  Cxx.                 (line  57)
163* yyFlexLexer (C++ only):                Cxx.                 (line  57)
164* YYLTYPE:                               Bison Bridge.        (line   6)
165* yyscan_t (reentrant only):             About yyscan_t.      (line   6)
166* YYSTYPE:                               Bison Bridge.        (line   6)
167* YY_BUFFER_STATE:                       Multiple Input Buffers.
168                                                              (line  25)
169* YY_EXTRA_TYPE (reentrant only):        Extra Data.          (line  20)
170* yy_size_t:                             Multiple Input Buffers.
171                                                              (line 208)
172
173
174File: flex.info,  Node: Index of Hooks,  Next: Index of Scanner Options,  Prev: Index of Data Types,  Up: Indices
175
176Index of Hooks
177==============
178
179This is an index of "hooks" that the user may define.  These hooks
180typically correspond to specific locations in the generated scanner, and
181may be used to insert arbitrary code.
182
183[index]
184* Menu:
185
186* YY_BREAK:                              Misc Macros.          (line 49)
187* YY_USER_ACTION:                        Misc Macros.          (line  6)
188* YY_USER_INIT:                          Misc Macros.          (line 23)
189
190
191File: flex.info,  Node: Index of Scanner Options,  Prev: Index of Hooks,  Up: Indices
192
193Index of Scanner Options
194========================
195
196[index]
197* Menu:
198
199* -+:                                    Code-Level And API Options.
200                                                              (line  45)
201* --7bit:                                Options Affecting Scanner Behavior.
202                                                              (line  56)
203* --8bit:                                Options Affecting Scanner Behavior.
204                                                              (line  80)
205* --align:                               Options for Scanner Speed and Size.
206                                                              (line  15)
207* --always-interactive:                  Options Affecting Scanner Behavior.
208                                                              (line  92)
209* --array:                               Code-Level And API Options.
210                                                              (line  49)
211* --backup:                              Debugging Options.   (line   6)
212* --batch:                               Options Affecting Scanner Behavior.
213                                                              (line  23)
214* --bison-bridge:                        Code-Level And API Options.
215                                                              (line  12)
216* --bison-locations:                     Code-Level And API Options.
217                                                              (line  19)
218* --c++:                                 Code-Level And API Options.
219                                                              (line  45)
220* --case-insensitive:                    Options Affecting Scanner Behavior.
221                                                              (line   6)
222* --debug:                               Debugging Options.   (line  16)
223* --default:                             Options Affecting Scanner Behavior.
224                                                              (line  89)
225* --ecs:                                 Options for Scanner Speed and Size.
226                                                              (line  24)
227* --fast:                                Options for Scanner Speed and Size.
228                                                              (line 100)
229* --full:                                Options for Scanner Speed and Size.
230                                                              (line  95)
231* --header-file:                         Options for Specifying Filenames.
232                                                              (line   6)
233* --help:                                Miscellaneous Options.
234                                                              (line   9)
235* --interactive:                         Options Affecting Scanner Behavior.
236                                                              (line  32)
237* --lex-compat:                          Options Affecting Scanner Behavior.
238                                                              (line  14)
239* --main:                                Code-Level And API Options.
240                                                              (line  95)
241* --meta-ecs:                            Options for Scanner Speed and Size.
242                                                              (line  45)
243* --never-interactive:                   Options Affecting Scanner Behavior.
244                                                              (line 100)
245* --nodefault:                           Debugging Options.   (line  43)
246* --noline:                              Code-Level And API Options.
247                                                              (line  24)
248* --nounistd:                            Code-Level And API Options.
249                                                              (line 100)
250* --nowarn:                              Debugging Options.   (line  55)
251* --option-ansi-definitions:             Code-Level And API Options.
252                                                              (line   6)
253* --option-ansi-prototypes:              Code-Level And API Options.
254                                                              (line   9)
255* --outfile:                             Options for Specifying Filenames.
256                                                              (line  21)
257* --perf-report:                         Debugging Options.   (line  31)
258* --pointer:                             Code-Level And API Options.
259                                                              (line  52)
260* --posix:                               Options Affecting Scanner Behavior.
261                                                              (line 104)
262* --prefix:                              Code-Level And API Options.
263                                                              (line  56)
264* --read:                                Options for Scanner Speed and Size.
265                                                              (line  54)
266* --reentrant:                           Code-Level And API Options.
267                                                              (line  33)
268* --skel:                                Options for Specifying Filenames.
269                                                              (line  31)
270* --stack:                               Options Affecting Scanner Behavior.
271                                                              (line 124)
272* --stdinit:                             Options Affecting Scanner Behavior.
273                                                              (line 128)
274* --stdout:                              Options for Specifying Filenames.
275                                                              (line  27)
276* --tables-file:                         Options for Specifying Filenames.
277                                                              (line  36)
278* --tables-verify:                       Options for Specifying Filenames.
279                                                              (line  41)
280* --trace:                               Debugging Options.   (line  49)
281* --verbose:                             Debugging Options.   (line  58)
282* --version:                             Miscellaneous Options.
283                                                              (line  16)
284* --warn:                                Debugging Options.   (line  66)
285* --yyclass:                             Code-Level And API Options.
286                                                              (line 109)
287* --yylineno:                            Options Affecting Scanner Behavior.
288                                                              (line 137)
289* --yywrap:                              Options Affecting Scanner Behavior.
290                                                              (line 145)
291* -7:                                    Options Affecting Scanner Behavior.
292                                                              (line  56)
293* -8:                                    Options Affecting Scanner Behavior.
294                                                              (line  80)
295* -B:                                    Options Affecting Scanner Behavior.
296                                                              (line  23)
297* -b:                                    Debugging Options.   (line   6)
298* -C:                                    Options for Scanner Speed and Size.
299                                                              (line  10)
300* -c:                                    Miscellaneous Options.
301                                                              (line   6)
302* -Ca:                                   Options for Scanner Speed and Size.
303                                                              (line  15)
304* -Ce:                                   Options for Scanner Speed and Size.
305                                                              (line  24)
306* -Cf:                                   Options for Scanner Speed and Size.
307                                                              (line  35)
308* -CF:                                   Options for Scanner Speed and Size.
309                                                              (line  40)
310* -Cm:                                   Options for Scanner Speed and Size.
311                                                              (line  45)
312* -Cr:                                   Options for Scanner Speed and Size.
313                                                              (line  54)
314* -d:                                    Debugging Options.   (line  16)
315* -f:                                    Options for Scanner Speed and Size.
316                                                              (line  95)
317* -F:                                    Options for Scanner Speed and Size.
318                                                              (line 100)
319* -h:                                    Miscellaneous Options.
320                                                              (line   9)
321* -i:                                    Options Affecting Scanner Behavior.
322                                                              (line   6)
323* -I:                                    Options Affecting Scanner Behavior.
324                                                              (line  32)
325* -l:                                    Options Affecting Scanner Behavior.
326                                                              (line  14)
327* -L:                                    Code-Level And API Options.
328                                                              (line  24)
329* -n:                                    Miscellaneous Options.
330                                                              (line  13)
331* -o:                                    Options for Specifying Filenames.
332                                                              (line  21)
333* -P:                                    Code-Level And API Options.
334                                                              (line  56)
335* -p:                                    Debugging Options.   (line  31)
336* -R:                                    Code-Level And API Options.
337                                                              (line  33)
338* -s:                                    Debugging Options.   (line  43)
339* -t:                                    Options for Specifying Filenames.
340                                                              (line  27)
341* -T:                                    Debugging Options.   (line  49)
342* -v:                                    Debugging Options.   (line  58)
343* -V:                                    Miscellaneous Options.
344                                                              (line  16)
345* -w:                                    Debugging Options.   (line  55)
346* -X:                                    Options Affecting Scanner Behavior.
347                                                              (line 104)
348* 7bit:                                  Options Affecting Scanner Behavior.
349                                                              (line  56)
350* 8bit:                                  Options Affecting Scanner Behavior.
351                                                              (line  80)
352* align:                                 Options for Scanner Speed and Size.
353                                                              (line  15)
354* always-interactive:                    Options Affecting Scanner Behavior.
355                                                              (line  92)
356* ansi-definitions:                      Code-Level And API Options.
357                                                              (line   6)
358* ansi-prototypes:                       Code-Level And API Options.
359                                                              (line   9)
360* array:                                 Code-Level And API Options.
361                                                              (line  49)
362* backup:                                Debugging Options.   (line   6)
363* batch:                                 Options Affecting Scanner Behavior.
364                                                              (line  23)
365* bison-bridge:                          Code-Level And API Options.
366                                                              (line  12)
367* bison-locations:                       Code-Level And API Options.
368                                                              (line  19)
369* c++:                                   Code-Level And API Options.
370                                                              (line  45)
371* case-insensitive:                      Options Affecting Scanner Behavior.
372                                                              (line   6)
373* debug:                                 Debugging Options.   (line  16)
374* default:                               Options Affecting Scanner Behavior.
375                                                              (line  89)
376* ecs:                                   Options for Scanner Speed and Size.
377                                                              (line  24)
378* fast:                                  Options for Scanner Speed and Size.
379                                                              (line 100)
380* full:                                  Options for Scanner Speed and Size.
381                                                              (line  95)
382* header-file:                           Options for Specifying Filenames.
383                                                              (line   6)
384* interactive:                           Options Affecting Scanner Behavior.
385                                                              (line  32)
386* lex-compat:                            Options Affecting Scanner Behavior.
387                                                              (line  14)
388* main:                                  Code-Level And API Options.
389                                                              (line  95)
390* meta-ecs:                              Options for Scanner Speed and Size.
391                                                              (line  45)
392* nodefault:                             Debugging Options.   (line  43)
393* noline:                                Code-Level And API Options.
394                                                              (line  24)
395* nounistd:                              Code-Level And API Options.
396                                                              (line 100)
397* nowarn:                                Debugging Options.   (line  55)
398* noyyalloc:                             Overriding The Default Memory Management.
399                                                              (line  17)
400* outfile:                               Options for Specifying Filenames.
401                                                              (line  21)
402* perf-report:                           Debugging Options.   (line  31)
403* pointer:                               Code-Level And API Options.
404                                                              (line  52)
405* posix:                                 Options Affecting Scanner Behavior.
406                                                              (line 104)
407* prefix:                                Code-Level And API Options.
408                                                              (line  56)
409* read:                                  Options for Scanner Speed and Size.
410                                                              (line  54)
411* reentrant:                             Code-Level And API Options.
412                                                              (line  33)
413* stack:                                 Options Affecting Scanner Behavior.
414                                                              (line 124)
415* stdinit:                               Options Affecting Scanner Behavior.
416                                                              (line 128)
417* stdout:                                Options for Specifying Filenames.
418                                                              (line  27)
419* tables-file:                           Options for Specifying Filenames.
420                                                              (line  36)
421* tables-verify:                         Options for Specifying Filenames.
422                                                              (line  41)
423* trace:                                 Debugging Options.   (line  49)
424* verbose:                               Debugging Options.   (line  58)
425* warn:                                  Debugging Options.   (line  66)
426* yyclass:                               Code-Level And API Options.
427                                                              (line 109)
428* yylineno:                              Options Affecting Scanner Behavior.
429                                                              (line 137)
430* yywrap:                                Options Affecting Scanner Behavior.
431                                                              (line 145)
432
433