287 lines
10 KiB
Plaintext
287 lines
10 KiB
Plaintext
This is flex.info, produced by makeinfo version 7.3 from flex.texi.
|
|
|
|
The flex manual is placed under the same licensing conditions as the
|
|
rest of flex:
|
|
|
|
Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex
|
|
Project.
|
|
|
|
Copyright © 1990, 1997 The Regents of the University of California.
|
|
All rights reserved.
|
|
|
|
This code is derived from software contributed to Berkeley by Vern
|
|
Paxson.
|
|
|
|
The United States Government has rights in this work pursuant to
|
|
contract no. DE-AC03-76SF00098 between the United States Department of
|
|
Energy and the University of California.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions are
|
|
met:
|
|
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the
|
|
distribution.
|
|
|
|
Neither the name of the University nor the names of its contributors
|
|
may be used to endorse or promote products derived from this software
|
|
without specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
INFO-DIR-SECTION Programming
|
|
START-INFO-DIR-ENTRY
|
|
* flex: (flex). Fast lexical analyzer generator (lex replacement).
|
|
END-INFO-DIR-ENTRY
|
|
|
|
|
|
Indirect:
|
|
flex.info-1: 1620
|
|
flex.info-2: 324917
|
|
|
|
Tag Table:
|
|
(Indirect)
|
|
Node: Top1620
|
|
Node: Copyright7694
|
|
Node: Reporting Bugs9211
|
|
Node: Introduction9471
|
|
Node: Simple Examples10328
|
|
Node: Format13771
|
|
Node: Definitions Section14192
|
|
Ref: Definitions Section-Footnote-116550
|
|
Node: Rules Section16626
|
|
Node: User Code Section17800
|
|
Node: Comments in the Input18246
|
|
Node: Patterns19651
|
|
Ref: case and character ranges26973
|
|
Node: Matching31202
|
|
Node: Actions34639
|
|
Node: Generated Scanner43962
|
|
Node: Start Conditions49185
|
|
Node: Multiple Input Buffers60101
|
|
Ref: Scanning Strings66886
|
|
Node: EOF68579
|
|
Node: Misc Macros70215
|
|
Node: User Values73173
|
|
Node: Yacc75614
|
|
Node: Scanner Options76575
|
|
Node: Options for Specifying Filenames79407
|
|
Ref: option-header79633
|
|
Ref: option-outfile80379
|
|
Ref: option-stdout80744
|
|
Node: Options Affecting Scanner Behavior81763
|
|
Ref: option-case-insensitive82004
|
|
Ref: option-lex-compat82461
|
|
Ref: option-batch83033
|
|
Ref: option-interactive83588
|
|
Ref: option-7bit84990
|
|
Ref: option-8bit86358
|
|
Ref: option-default86798
|
|
Ref: option-always-interactive86870
|
|
Ref: option-posix87498
|
|
Ref: option-stack88711
|
|
Ref: option-stdinit88827
|
|
Ref: option-yylineno89350
|
|
Ref: option-yywrap89829
|
|
Node: Code-Level And API Options90120
|
|
Ref: option-ansi-definitions90347
|
|
Ref: option-ansi-prototypes90430
|
|
Ref: option-bison-bridge90511
|
|
Ref: option-bison-locations90876
|
|
Ref: option-noline91164
|
|
Ref: option-reentrant91714
|
|
Ref: option-c++92346
|
|
Ref: option-array92480
|
|
Ref: option-pointer92586
|
|
Ref: option-prefix92733
|
|
Ref: option-main94325
|
|
Ref: option-nounistd94529
|
|
Ref: option-yyclass95068
|
|
Node: Options for Scanner Speed and Size95596
|
|
Ref: option-align96158
|
|
Ref: option-ecs96668
|
|
Ref: option-meta-ecs97751
|
|
Ref: option-read98259
|
|
Ref: option-full100222
|
|
Ref: option-fast100437
|
|
Node: Debugging Options101389
|
|
Ref: option-backup101576
|
|
Ref: option-debug102145
|
|
Ref: option-perf-report102887
|
|
Ref: option-nodefault103545
|
|
Ref: option-trace103875
|
|
Ref: option-nowarn104190
|
|
Ref: option-verbose104266
|
|
Ref: option-warn104723
|
|
Node: Miscellaneous Options104950
|
|
Node: Performance105434
|
|
Node: Cxx115909
|
|
Node: Reentrant124503
|
|
Node: Reentrant Uses125197
|
|
Node: Reentrant Overview126812
|
|
Node: Reentrant Example127650
|
|
Node: Reentrant Detail128458
|
|
Node: Specify Reentrant128895
|
|
Node: Extra Reentrant Argument129557
|
|
Node: Global Replacement130869
|
|
Node: Init and Destroy Functions132160
|
|
Node: Accessor Methods134796
|
|
Node: Extra Data136183
|
|
Node: About yyscan_t138510
|
|
Node: Reentrant Functions138919
|
|
Ref: bison-functions140420
|
|
Node: Lex and Posix141191
|
|
Node: Memory Management149030
|
|
Ref: memory-management149176
|
|
Node: The Default Memory Management149404
|
|
Ref: The Default Memory Management-Footnote-1153240
|
|
Node: Overriding The Default Memory Management153393
|
|
Ref: Overriding The Default Memory Management-Footnote-1155904
|
|
Node: A Note About yytext And Memory156080
|
|
Node: Serialized Tables157324
|
|
Ref: serialization157468
|
|
Node: Creating Serialized Tables158238
|
|
Node: Loading and Unloading Serialized Tables159885
|
|
Node: Tables File Format161694
|
|
Node: Diagnostics169019
|
|
Node: Limitations172584
|
|
Node: Bibliography174608
|
|
Node: FAQ175290
|
|
Node: When was flex born?179534
|
|
Node: How do I expand backslash-escape sequences in C-style quoted strings?179915
|
|
Node: Why do flex scanners call fileno if it is not ANSI compatible?181230
|
|
Node: Does flex support recursive pattern definitions?182071
|
|
Node: How do I skip huge chunks of input (tens of megabytes) while using flex?182922
|
|
Node: Flex is not matching my patterns in the same order that I defined them.183401
|
|
Node: My actions are executing out of order or sometimes not at all.185187
|
|
Node: How can I have multiple input sources feed into the same scanner at the same time?185982
|
|
Node: Can I build nested parsers that work with the same input file?188033
|
|
Node: How can I match text only at the end of a file?189060
|
|
Node: How can I make REJECT cascade across start condition boundaries?189876
|
|
Node: Why cant I use fast or full tables with interactive mode?190902
|
|
Node: How much faster is -F or -f than -C?192159
|
|
Node: If I have a simple grammar cant I just parse it with flex?192471
|
|
Node: Why doesn't yyrestart() set the start state back to INITIAL?192953
|
|
Node: How can I match C-style comments?193588
|
|
Node: The period isn't working the way I expected.194398
|
|
Node: Can I get the flex manual in another format?195735
|
|
Node: Does there exist a "faster" NDFA->DFA algorithm?196233
|
|
Node: How does flex compile the DFA so quickly?196743
|
|
Node: How can I use more than 8192 rules?197713
|
|
Node: How do I abandon a file in the middle of a scan and switch to a new file?199135
|
|
Node: How do I execute code only during initialization (only before the first scan)?199701
|
|
Node: How do I execute code at termination?200491
|
|
Node: Where else can I find help?200821
|
|
Node: Can I include comments in the "rules" section of the file?201195
|
|
Node: I get an error about undefined yywrap().201575
|
|
Node: How can I change the matching pattern at run time?202063
|
|
Node: How can I expand macros in the input?202425
|
|
Node: How can I build a two-pass scanner?203462
|
|
Node: How do I match any string not matched in the preceding rules?204380
|
|
Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.205301
|
|
Node: Is there a way to make flex treat NULL like a regular character?206120
|
|
Node: Whenever flex can not match the input it says "flex scanner jammed".206652
|
|
Node: Why doesn't flex have non-greedy operators like perl does?207304
|
|
Node: Memory leak - 16386 bytes allocated by malloc.208669
|
|
Ref: faq-memory-leak208967
|
|
Node: How do I track the byte offset for lseek()?209966
|
|
Node: How do I use my own I/O classes in a C++ scanner?211523
|
|
Node: How do I skip as many chars as possible?212386
|
|
Node: deleteme00213461
|
|
Node: Are certain equivalent patterns faster than others?213906
|
|
Node: Is backing up a big deal?217394
|
|
Node: Can I fake multi-byte character support?219365
|
|
Node: deleteme01220841
|
|
Node: Can you discuss some flex internals?221965
|
|
Node: unput() messes up yy_at_bol224254
|
|
Node: The | operator is not doing what I want225391
|
|
Node: Why can't flex understand this variable trailing context pattern?226982
|
|
Node: The ^ operator isn't working228246
|
|
Node: Trailing context is getting confused with trailing optional patterns229516
|
|
Node: Is flex GNU or not?230784
|
|
Node: ERASEME53232497
|
|
Node: I need to scan if-then-else blocks and while loops233292
|
|
Node: ERASEME55234511
|
|
Node: ERASEME56235624
|
|
Node: ERASEME57237017
|
|
Node: Is there a repository for flex scanners?238050
|
|
Node: How can I conditionally compile or preprocess my flex input file?238366
|
|
Node: Where can I find grammars for lex and yacc?238839
|
|
Node: I get an end-of-buffer message for each character scanned.239186
|
|
Node: unnamed-faq-62239781
|
|
Node: unnamed-faq-63240829
|
|
Node: unnamed-faq-64242141
|
|
Node: unnamed-faq-65243142
|
|
Node: unnamed-faq-66243943
|
|
Node: unnamed-faq-67245073
|
|
Node: unnamed-faq-68246075
|
|
Node: unnamed-faq-69247232
|
|
Node: unnamed-faq-70247965
|
|
Node: unnamed-faq-71248741
|
|
Node: unnamed-faq-72249970
|
|
Node: unnamed-faq-73251038
|
|
Node: unnamed-faq-74251982
|
|
Node: unnamed-faq-75252952
|
|
Node: unnamed-faq-76254124
|
|
Node: unnamed-faq-77254845
|
|
Node: unnamed-faq-78255753
|
|
Node: unnamed-faq-79256766
|
|
Node: unnamed-faq-80258501
|
|
Node: unnamed-faq-81259844
|
|
Node: unnamed-faq-82262684
|
|
Node: unnamed-faq-83263666
|
|
Node: unnamed-faq-84265471
|
|
Node: unnamed-faq-85266589
|
|
Node: unnamed-faq-86267636
|
|
Node: unnamed-faq-87268609
|
|
Node: unnamed-faq-88269270
|
|
Node: unnamed-faq-90270126
|
|
Node: unnamed-faq-91271424
|
|
Node: unnamed-faq-92273907
|
|
Node: unnamed-faq-93274421
|
|
Node: unnamed-faq-94275363
|
|
Node: unnamed-faq-95276805
|
|
Node: unnamed-faq-96278338
|
|
Node: unnamed-faq-97279122
|
|
Node: unnamed-faq-98279804
|
|
Node: unnamed-faq-99280494
|
|
Node: unnamed-faq-100281453
|
|
Node: unnamed-faq-101282178
|
|
Node: What is the difference between YYLEX_PARAM and YY_DECL?283011
|
|
Node: Why do I get "conflicting types for yylex" error?283535
|
|
Node: How do I access the values set in a Flex action from within a Bison action?284065
|
|
Node: Appendices284494
|
|
Node: Makefiles and Flex284703
|
|
Ref: Makefiles and Flex-Footnote-1288049
|
|
Ref: Makefiles and Flex-Footnote-2288174
|
|
Ref: Makefiles and Flex-Footnote-3288365
|
|
Node: Bison Bridge288416
|
|
Ref: Bison Bridge-Footnote-1291217
|
|
Node: M4 Dependency291409
|
|
Ref: M4 Dependency-Footnote-1292903
|
|
Node: Common Patterns293039
|
|
Node: Numbers293330
|
|
Node: Identifiers294323
|
|
Node: Quoted Constructs295154
|
|
Node: Addresses296228
|
|
Node: Indices297548
|
|
Node: Concept Index297786
|
|
Node: Index of Functions and Macros324917
|
|
Node: Index of Variables329886
|
|
Node: Index of Data Types331552
|
|
Node: Index of Hooks332440
|
|
Node: Index of Scanner Options333008
|
|
|
|
End Tag Table
|
|
|
|
|
|
Local Variables:
|
|
coding: utf-8
|
|
End:
|