diff options
Diffstat (limited to 'doc/flex.info')
-rw-r--r-- | doc/flex.info | 274 |
1 files changed, 274 insertions, 0 deletions
diff --git a/doc/flex.info b/doc/flex.info new file mode 100644 index 0000000..012bc80 --- /dev/null +++ b/doc/flex.info @@ -0,0 +1,274 @@ +This is flex.info, produced by makeinfo version 4.3d from flex.texi. + +INFO-DIR-SECTION Programming +START-INFO-DIR-ENTRY +* flex: (flex). Fast lexical analyzer generator (lex replacement). +END-INFO-DIR-ENTRY + + + The flex manual is placed under the same licensing conditions as the +rest of flex: + + Copyright (C) 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. + +Indirect: +flex.info-1: 1543 +flex.info-2: 44188 +flex.info-3: 94777 +flex.info-4: 143377 +flex.info-5: 193020 +flex.info-6: 242671 +flex.info-7: 279163 + +Tag Table: +(Indirect) +Node: Top1543 +Node: Copyright7312 +Node: Reporting Bugs8746 +Node: Introduction9041 +Node: Simple Examples9868 +Node: Format13257 +Node: Definitions Section13670 +Ref: Definitions Section-Footnote-115928 +Node: Rules Section15996 +Node: User Code Section17149 +Node: Comments in the Input17582 +Node: Patterns18951 +Ref: case and character ranges24209 +Node: Matching26884 +Node: Actions30169 +Node: Generated Scanner39171 +Node: Start Conditions44188 +Node: Multiple Input Buffers54900 +Ref: Scanning Strings61518 +Node: EOF63134 +Node: Misc Macros64729 +Node: User Values67581 +Node: Yacc69909 +Node: Scanner Options70812 +Node: Options for Specifing Filenames73572 +Ref: option-header73785 +Ref: option-outfile74497 +Ref: option-stdout74822 +Node: Options Affecting Scanner Behavior75804 +Ref: option-case-insensitive76034 +Ref: option-lex-compat76467 +Ref: option-batch76999 +Ref: option-interactive77523 +Ref: option-7bit78877 +Ref: option-8bit80181 +Ref: option-default80593 +Ref: option-always-interactive80657 +Ref: option-posix81261 +Ref: option-stack82408 +Ref: option-stdinit82516 +Ref: option-yylineno82994 +Ref: option-yywrap83437 +Node: Code-Level And API Options83705 +Ref: option-ansi-definitions83922 +Ref: option-ansi-prototypes84174 +Ref: option-bison-bridge84421 +Ref: option-bison-locations84760 +Ref: option-noline85020 +Ref: option-reentrant85534 +Ref: option-c++86145 +Ref: option-array86271 +Ref: option-pointer86369 +Ref: option-prefix86497 +Ref: option-main88026 +Ref: option-nounistd88210 +Ref: option-yyclass88718 +Node: Options for Scanner Speed and Size89198 +Ref: option-align89737 +Ref: option-ecs90238 +Ref: option-meta-ecs91274 +Ref: option-read91761 +Ref: option-full93644 +Ref: option-fast93839 +Node: Debugging Options94777 +Ref: option-backup94954 +Ref: option-debug95499 +Ref: option-perf-report96222 +Ref: option-nodefault96848 +Ref: option-trace97166 +Ref: option-nowarn97457 +Ref: option-verbose97525 +Ref: option-warn97954 +Node: Miscellaneous Options98173 +Node: Performance98647 +Node: Cxx108984 +Node: Reentrant116582 +Node: Reentrant Uses117256 +Node: Reentrant Overview118857 +Node: Reentrant Example119649 +Node: Reentrant Detail120406 +Node: Specify Reentrant120832 +Node: Extra Reentrant Argument121468 +Node: Global Replacement122709 +Node: Init and Destroy Functions123927 +Node: Accessor Methods126080 +Node: Extra Data127413 +Node: About yyscan_t129584 +Node: Reentrant Functions129969 +Ref: bison-functions131451 +Node: Lex and Posix132192 +Node: Memory Management139441 +Ref: memory-management139581 +Node: The Default Memory Management139812 +Ref: The Default Memory Management-Footnote-1143224 +Node: Overriding The Default Memory Management143377 +Ref: Overriding The Default Memory Management-Footnote-1145815 +Node: A Note About yytext And Memory145979 +Node: Serialized Tables147205 +Ref: serialization147343 +Node: Creating Serialized Tables148111 +Node: Loading and Unloading Serialized Tables149714 +Node: Tables File Format151473 +Node: Diagnostics158482 +Node: Limitations161890 +Node: Bibliography163835 +Node: FAQ164505 +Node: When was flex born?168543 +Node: How do I expand \ escape sequences in C-style quoted strings?168915 +Node: Why do flex scanners call fileno if it is not ANSI compatible?170198 +Node: Does flex support recursive pattern definitions?170988 +Node: How do I skip huge chunks of input (tens of megabytes) while using flex?171838 +Node: Flex is not matching my patterns in the same order that I defined them.172308 +Node: My actions are executing out of order or sometimes not at all.174057 +Node: How can I have multiple input sources feed into the same scanner at the same time?174845 +Node: Can I build nested parsers that work with the same input file?176836 +Node: How can I match text only at the end of a file?177845 +Node: How can I make REJECT cascade across start condition boundaries?178653 +Node: Why cant I use fast or full tables with interactive mode?179672 +Node: How much faster is -F or -f than -C?180934 +Node: If I have a simple grammar cant I just parse it with flex?181249 +Node: Why doesnt yyrestart() set the start state back to INITIAL?181732 +Node: How can I match C-style comments?182361 +Node: The period isnt working the way I expected.183176 +Node: Can I get the flex manual in another format?184425 +Node: Does there exist a "faster" NDFA->DFA algorithm?184916 +Node: How does flex compile the DFA so quickly?185428 +Node: How can I use more than 8192 rules?186398 +Node: How do I abandon a file in the middle of a scan and switch to a new file?187812 +Node: How do I execute code only during initialization (only before the first scan)?188368 +Node: How do I execute code at termination?189130 +Node: Where else can I find help?189459 +Node: Can I include comments in the "rules" section of the file?189834 +Node: I get an error about undefined yywrap().190216 +Node: How can I change the matching pattern at run time?190696 +Node: How can I expand macros in the input?191061 +Node: How can I build a two-pass scanner?192102 +Node: How do I match any string not matched in the preceding rules?193020 +Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.193933 +Node: Is there a way to make flex treat NULL like a regular character?194731 +Node: Whenever flex can not match the input it says "flex scanner jammed".195255 +Node: Why doesnt flex have non-greedy operators like perl does?195906 +Node: Memory leak - 16386 bytes allocated by malloc.197261 +Ref: faq-memory-leak197558 +Node: How do I track the byte offset for lseek()?198529 +Node: How do I use my own I/O classes in a C++ scanner?200040 +Node: How do I skip as many chars as possible?200886 +Node: deleteme00201966 +Node: Are certain equivalent patterns faster than others?202412 +Node: Is backing up a big deal?205901 +Node: Can I fake multi-byte character support?207873 +Node: deleteme01209350 +Node: Can you discuss some flex internals?210475 +Node: unput() messes up yy_at_bol212765 +Node: The | operator is not doing what I want213903 +Node: Why can't flex understand this variable trailing context pattern?215495 +Node: The ^ operator isn't working216760 +Node: Trailing context is getting confused with trailing optional patterns218031 +Node: Is flex GNU or not?219300 +Node: ERASEME53221014 +Node: I need to scan if-then-else blocks and while loops221810 +Node: ERASEME55223030 +Node: ERASEME56224144 +Node: ERASEME57225538 +Node: Is there a repository for flex scanners?226572 +Node: How can I conditionally compile or preprocess my flex input file?226890 +Node: Where can I find grammars for lex and yacc?227366 +Node: I get an end-of-buffer message for each character scanned.227716 +Node: unnamed-faq-62228314 +Node: unnamed-faq-63229363 +Node: unnamed-faq-64230676 +Node: unnamed-faq-65231678 +Node: unnamed-faq-66232480 +Node: unnamed-faq-67233611 +Node: unnamed-faq-68234614 +Node: unnamed-faq-69235772 +Node: unnamed-faq-70236506 +Node: unnamed-faq-71237283 +Node: unnamed-faq-72238513 +Node: unnamed-faq-73239582 +Node: unnamed-faq-74240527 +Node: unnamed-faq-75241498 +Node: unnamed-faq-76242671 +Node: unnamed-faq-77243393 +Node: unnamed-faq-78244302 +Node: unnamed-faq-79245316 +Node: unnamed-faq-80247052 +Node: unnamed-faq-81248396 +Node: unnamed-faq-82251237 +Node: unnamed-faq-83252220 +Node: unnamed-faq-84254026 +Node: unnamed-faq-85255145 +Node: unnamed-faq-86256193 +Node: unnamed-faq-87257167 +Node: unnamed-faq-88257829 +Node: unnamed-faq-90258686 +Node: unnamed-faq-91259985 +Node: unnamed-faq-92262469 +Node: unnamed-faq-93262984 +Node: unnamed-faq-94263927 +Node: unnamed-faq-95265370 +Node: unnamed-faq-96266904 +Node: unnamed-faq-97267689 +Node: unnamed-faq-98268372 +Node: unnamed-faq-99269063 +Node: unnamed-faq-100270023 +Node: unnamed-faq-101270749 +Node: Appendices271519 +Node: Makefiles and Flex271686 +Ref: Makefiles and Flex-Footnote-1274903 +Ref: Makefiles and Flex-Footnote-2275020 +Node: Bison Bridge275071 +Ref: Bison Bridge-Footnote-1277745 +Node: M4 Dependency277937 +Ref: M4 Dependency-Footnote-1278853 +Node: Indices278925 +Node: Concept Index279163 +Node: Index of Functions and Macros296037 +Node: Index of Variables299256 +Node: Index of Data Types300483 +Node: Index of Hooks301087 +Node: Index of Scanner Options301589 + +End Tag Table |