Improve the process for GNU tools
[minix3.git] / external / bsd / flex / dist / doc / flex.info
blob62ff3e0d2180cf120330a36877c5838c95a331a7
1 This is flex.info, produced by makeinfo version 4.13 from flex.texi.
3 INFO-DIR-SECTION Programming
4 START-INFO-DIR-ENTRY
5 * flex: (flex).      Fast lexical analyzer generator (lex replacement).
6 END-INFO-DIR-ENTRY
8    The flex manual is placed under the same licensing conditions as the
9 rest of flex:
11    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The
12 Flex Project.
14    Copyright (C) 1990, 1997 The Regents of the University of California.
15 All rights reserved.
17    This code is derived from software contributed to Berkeley by Vern
18 Paxson.
20    The United States Government has rights in this work pursuant to
21 contract no. DE-AC03-76SF00098 between the United States Department of
22 Energy and the University of California.
24    Redistribution and use in source and binary forms, with or without
25 modification, are permitted provided that the following conditions are
26 met:
28   1.  Redistributions of source code must retain the above copyright
29      notice, this list of conditions and the following disclaimer.
31   2. Redistributions in binary form must reproduce the above copyright
32      notice, this list of conditions and the following disclaimer in the
33      documentation and/or other materials provided with the
34      distribution.
36    Neither the name of the University nor the names of its contributors
37 may be used to endorse or promote products derived from this software
38 without specific prior written permission.
40    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
41 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
42 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
44 \x1f
45 Indirect:
46 flex.info-1: 1627
47 flex.info-2: 288420
48 \x1f
49 Tag Table:
50 (Indirect)
51 Node: Top\x7f1627
52 Node: Copyright\x7f7695
53 Node: Reporting Bugs\x7f9214
54 Node: Introduction\x7f9519
55 Node: Simple Examples\x7f10347
56 Node: Format\x7f13634
57 Node: Definitions Section\x7f14047
58 Ref: Definitions Section-Footnote-1\x7f16305
59 Node: Rules Section\x7f16373
60 Node: User Code Section\x7f17530
61 Node: Comments in the Input\x7f17968
62 Node: Patterns\x7f19335
63 Ref: case and character ranges\x7f26159
64 Node: Matching\x7f30170
65 Node: Actions\x7f33454
66 Node: Generated Scanner\x7f42423
67 Node: Start Conditions\x7f47438
68 Node: Multiple Input Buffers\x7f57975
69 Ref: Scanning Strings\x7f64511
70 Node: EOF\x7f66141
71 Node: Misc Macros\x7f67727
72 Node: User Values\x7f70579
73 Node: Yacc\x7f72910
74 Node: Scanner Options\x7f73805
75 Node: Options for Specifying Filenames\x7f76561
76 Ref: option-header\x7f76787
77 Ref: option-outfile\x7f77499
78 Ref: option-stdout\x7f77824
79 Node: Options Affecting Scanner Behavior\x7f78806
80 Ref: option-case-insensitive\x7f79047
81 Ref: option-lex-compat\x7f79480
82 Ref: option-batch\x7f80012
83 Ref: option-interactive\x7f80536
84 Ref: option-7bit\x7f81890
85 Ref: option-8bit\x7f83194
86 Ref: option-default\x7f83606
87 Ref: option-always-interactive\x7f83670
88 Ref: option-posix\x7f84274
89 Ref: option-stack\x7f85421
90 Ref: option-stdinit\x7f85529
91 Ref: option-yylineno\x7f86007
92 Ref: option-yywrap\x7f86450
93 Node: Code-Level And API Options\x7f86718
94 Ref: option-ansi-definitions\x7f86945
95 Ref: option-ansi-prototypes\x7f87197
96 Ref: option-bison-bridge\x7f87444
97 Ref: option-bison-locations\x7f87783
98 Ref: option-noline\x7f88043
99 Ref: option-reentrant\x7f88557
100 Ref: option-c++\x7f89168
101 Ref: option-array\x7f89294
102 Ref: option-pointer\x7f89392
103 Ref: option-prefix\x7f89520
104 Ref: option-main\x7f91048
105 Ref: option-nounistd\x7f91232
106 Ref: option-yyclass\x7f91740
107 Node: Options for Scanner Speed and Size\x7f92226
108 Ref: option-align\x7f92775
109 Ref: option-ecs\x7f93276
110 Ref: option-meta-ecs\x7f94312
111 Ref: option-read\x7f94799
112 Ref: option-full\x7f96681
113 Ref: option-fast\x7f96876
114 Node: Debugging Options\x7f97801
115 Ref: option-backup\x7f97988
116 Ref: option-debug\x7f98533
117 Ref: option-perf-report\x7f99255
118 Ref: option-nodefault\x7f99881
119 Ref: option-trace\x7f100199
120 Ref: option-nowarn\x7f100490
121 Ref: option-verbose\x7f100558
122 Ref: option-warn\x7f100987
123 Node: Miscellaneous Options\x7f101206
124 Node: Performance\x7f101663
125 Node: Cxx\x7f111905
126 Node: Reentrant\x7f119507
127 Node: Reentrant Uses\x7f120184
128 Node: Reentrant Overview\x7f121745
129 Node: Reentrant Example\x7f122544
130 Node: Reentrant Detail\x7f123318
131 Node: Specify Reentrant\x7f123751
132 Node: Extra Reentrant Argument\x7f124398
133 Node: Global Replacement\x7f125649
134 Node: Init and Destroy Functions\x7f126877
135 Node: Accessor Methods\x7f129394
136 Node: Extra Data\x7f130736
137 Node: About yyscan_t\x7f133001
138 Node: Reentrant Functions\x7f133396
139 Ref: bison-functions\x7f134878
140 Node: Lex and Posix\x7f135617
141 Node: Memory Management\x7f142988
142 Ref: memory-management\x7f143134
143 Node: The Default Memory Management\x7f143362
144 Ref: The Default Memory Management-Footnote-1\x7f147168
145 Node: Overriding The Default Memory Management\x7f147321
146 Ref: Overriding The Default Memory Management-Footnote-1\x7f149718
147 Node: A Note About yytext And Memory\x7f149882
148 Node: Serialized Tables\x7f151115
149 Ref: serialization\x7f151259
150 Node: Creating Serialized Tables\x7f152024
151 Node: Loading and Unloading Serialized Tables\x7f153632
152 Node: Tables File Format\x7f155400
153 Node: Diagnostics\x7f162414
154 Node: Limitations\x7f165823
155 Node: Bibliography\x7f167771
156 Node: FAQ\x7f168444
157 Node: When was flex born?\x7f172684
158 Node: How do I expand backslash-escape sequences in C-style quoted strings?\x7f173061
159 Node: Why do flex scanners call fileno if it is not ANSI compatible?\x7f174365
160 Node: Does flex support recursive pattern definitions?\x7f175160
161 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?\x7f176006
162 Node: Flex is not matching my patterns in the same order that I defined them.\x7f176473
163 Node: My actions are executing out of order or sometimes not at all.\x7f178218
164 Node: How can I have multiple input sources feed into the same scanner at the same time?\x7f178991
165 Node: Can I build nested parsers that work with the same input file?\x7f180979
166 Node: How can I match text only at the end of a file?\x7f181985
167 Node: How can I make REJECT cascade across start condition boundaries?\x7f182789
168 Node: Why cant I use fast or full tables with interactive mode?\x7f183803
169 Node: How much faster is -F or -f than -C?\x7f185061
170 Node: If I have a simple grammar cant I just parse it with flex?\x7f185373
171 Node: Why doesn't yyrestart() set the start state back to INITIAL?\x7f185854
172 Node: How can I match C-style comments?\x7f186481
173 Node: The period isn't working the way I expected.\x7f187291
174 Node: Can I get the flex manual in another format?\x7f188538
175 Node: Does there exist a "faster" NDFA->DFA algorithm?\x7f189027
176 Node: How does flex compile the DFA so quickly?\x7f189537
177 Node: How can I use more than 8192 rules?\x7f190504
178 Node: How do I abandon a file in the middle of a scan and switch to a new file?\x7f191914
179 Node: How do I execute code only during initialization (only before the first scan)?\x7f192467
180 Node: How do I execute code at termination?\x7f193244
181 Node: Where else can I find help?\x7f193570
182 Node: Can I include comments in the "rules" section of the file?\x7f193943
183 Node: I get an error about undefined yywrap().\x7f194322
184 Node: How can I change the matching pattern at run time?\x7f194798
185 Node: How can I expand macros in the input?\x7f195160
186 Node: How can I build a two-pass scanner?\x7f196192
187 Node: How do I match any string not matched in the preceding rules?\x7f197108
188 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.\x7f198017
189 Node: Is there a way to make flex treat NULL like a regular character?\x7f198812
190 Node: Whenever flex can not match the input it says "flex scanner jammed".\x7f199333
191 Node: Why doesn't flex have non-greedy operators like perl does?\x7f199976
192 Node: Memory leak - 16386 bytes allocated by malloc.\x7f201329
193 Ref: faq-memory-leak\x7f201627
194 Node: How do I track the byte offset for lseek()?\x7f202594
195 Node: How do I use my own I/O classes in a C++ scanner?\x7f204103
196 Node: How do I skip as many chars as possible?\x7f204946
197 Node: deleteme00\x7f206020
198 Node: Are certain equivalent patterns faster than others?\x7f206460
199 Node: Is backing up a big deal?\x7f209878
200 Node: Can I fake multi-byte character support?\x7f211784
201 Node: deleteme01\x7f213225
202 Node: Can you discuss some flex internals?\x7f214334
203 Node: unput() messes up yy_at_bol\x7f216578
204 Node: The | operator is not doing what I want\x7f217680
205 Node: Why can't flex understand this variable trailing context pattern?\x7f219226
206 Node: The ^ operator isn't working\x7f220475
207 Node: Trailing context is getting confused with trailing optional patterns\x7f221710
208 Node: Is flex GNU or not?\x7f222953
209 Node: ERASEME53\x7f224626
210 Node: I need to scan if-then-else blocks and while loops\x7f225396
211 Node: ERASEME55\x7f226595
212 Node: ERASEME56\x7f227693
213 Node: ERASEME57\x7f229051
214 Node: Is there a repository for flex scanners?\x7f230049
215 Node: How can I conditionally compile or preprocess my flex input file?\x7f230364
216 Node: Where can I find grammars for lex and yacc?\x7f230837
217 Node: I get an end-of-buffer message for each character scanned.\x7f231184
218 Node: unnamed-faq-62\x7f231779
219 Node: unnamed-faq-63\x7f232797
220 Node: unnamed-faq-64\x7f234094
221 Node: unnamed-faq-65\x7f235060
222 Node: unnamed-faq-66\x7f235846
223 Node: unnamed-faq-67\x7f236961
224 Node: unnamed-faq-68\x7f237948
225 Node: unnamed-faq-69\x7f239090
226 Node: unnamed-faq-70\x7f239803
227 Node: unnamed-faq-71\x7f240564
228 Node: unnamed-faq-72\x7f241773
229 Node: unnamed-faq-73\x7f242816
230 Node: unnamed-faq-74\x7f243740
231 Node: unnamed-faq-75\x7f244685
232 Node: unnamed-faq-76\x7f245817
233 Node: unnamed-faq-77\x7f246523
234 Node: unnamed-faq-78\x7f247416
235 Node: unnamed-faq-79\x7f248414
236 Node: unnamed-faq-80\x7f250114
237 Node: unnamed-faq-81\x7f251432
238 Node: unnamed-faq-82\x7f254232
239 Node: unnamed-faq-83\x7f255189
240 Node: unnamed-faq-84\x7f256969
241 Node: unnamed-faq-85\x7f258072
242 Node: unnamed-faq-86\x7f259079
243 Node: unnamed-faq-87\x7f260017
244 Node: unnamed-faq-88\x7f260663
245 Node: unnamed-faq-90\x7f261494
246 Node: unnamed-faq-91\x7f262757
247 Node: unnamed-faq-92\x7f265185
248 Node: unnamed-faq-93\x7f265684
249 Node: unnamed-faq-94\x7f266611
250 Node: unnamed-faq-95\x7f268023
251 Node: unnamed-faq-96\x7f269541
252 Node: unnamed-faq-97\x7f270300
253 Node: unnamed-faq-98\x7f270967
254 Node: unnamed-faq-99\x7f271632
255 Node: unnamed-faq-100\x7f272561
256 Node: unnamed-faq-101\x7f273271
257 Node: What is the difference between YYLEX_PARAM and YY_DECL?\x7f274084
258 Node: Why do I get "conflicting types for yylex" error?\x7f274605
259 Node: How do I access the values set in a Flex action from within a Bison action?\x7f275135
260 Node: Appendices\x7f275566
261 Node: Makefiles and Flex\x7f275775
262 Ref: Makefiles and Flex-Footnote-1\x7f278971
263 Ref: Makefiles and Flex-Footnote-2\x7f279088
264 Ref: Makefiles and Flex-Footnote-3\x7f279274
265 Node: Bison Bridge\x7f279325
266 Ref: Bison Bridge-Footnote-1\x7f281990
267 Node: M4 Dependency\x7f282182
268 Ref: M4 Dependency-Footnote-1\x7f283587
269 Node: Common Patterns\x7f283722
270 Node: Numbers\x7f284013
271 Node: Identifiers\x7f284990
272 Node: Quoted Constructs\x7f285817
273 Node: Addresses\x7f286869
274 Node: Indices\x7f288182
275 Node: Concept Index\x7f288420
276 Node: Index of Functions and Macros\x7f313703
277 Node: Index of Variables\x7f318599
278 Node: Index of Data Types\x7f320265
279 Node: Index of Hooks\x7f321153
280 Node: Index of Scanner Options\x7f321721
281 \x1f
282 End Tag Table