This is flex.info, produced by makeinfo version 4.5 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: 1542 flex.info-2: 44385 flex.info-3: 94974 flex.info-4: 144097 flex.info-5: 193935 flex.info-6: 243586 flex.info-7: 281964 Tag Table: (Indirect) Node: Top1542 Node: Copyright7508 Node: Reporting Bugs8942 Node: Introduction9238 Node: Simple Examples10065 Node: Format13454 Node: Definitions Section13867 Ref: Definitions Section-Footnote-116125 Node: Rules Section16193 Node: User Code Section17346 Node: Comments in the Input17779 Node: Patterns19148 Ref: case and character ranges24406 Node: Matching27081 Node: Actions30366 Node: Generated Scanner39368 Node: Start Conditions44385 Node: Multiple Input Buffers55097 Ref: Scanning Strings61715 Node: EOF63331 Node: Misc Macros64926 Node: User Values67778 Node: Yacc70106 Node: Scanner Options71009 Node: Options for Specifing Filenames73769 Ref: option-header73982 Ref: option-outfile74694 Ref: option-stdout75019 Node: Options Affecting Scanner Behavior76001 Ref: option-case-insensitive76231 Ref: option-lex-compat76664 Ref: option-batch77196 Ref: option-interactive77720 Ref: option-7bit79074 Ref: option-8bit80378 Ref: option-default80790 Ref: option-always-interactive80854 Ref: option-posix81458 Ref: option-stack82605 Ref: option-stdinit82713 Ref: option-yylineno83191 Ref: option-yywrap83634 Node: Code-Level And API Options83902 Ref: option-ansi-definitions84119 Ref: option-ansi-prototypes84371 Ref: option-bison-bridge84618 Ref: option-bison-locations84957 Ref: option-noline85217 Ref: option-reentrant85731 Ref: option-c++86342 Ref: option-array86468 Ref: option-pointer86566 Ref: option-prefix86694 Ref: option-main88223 Ref: option-nounistd88407 Ref: option-yyclass88915 Node: Options for Scanner Speed and Size89395 Ref: option-align89934 Ref: option-ecs90435 Ref: option-meta-ecs91471 Ref: option-read91958 Ref: option-full93841 Ref: option-fast94036 Node: Debugging Options94974 Ref: option-backup95151 Ref: option-debug95696 Ref: option-perf-report96419 Ref: option-nodefault97045 Ref: option-trace97363 Ref: option-nowarn97654 Ref: option-verbose97722 Ref: option-warn98151 Node: Miscellaneous Options98370 Node: Performance98844 Node: Cxx109181 Node: Reentrant116780 Node: Reentrant Uses117454 Node: Reentrant Overview119055 Node: Reentrant Example119847 Node: Reentrant Detail120604 Node: Specify Reentrant121030 Node: Extra Reentrant Argument121666 Node: Global Replacement122907 Node: Init and Destroy Functions124125 Node: Accessor Methods126278 Node: Extra Data127611 Node: About yyscan_t129782 Node: Reentrant Functions130167 Ref: bison-functions131649 Node: Lex and Posix132390 Node: Memory Management139771 Ref: memory-management139911 Node: The Default Memory Management140142 Ref: The Default Memory Management-Footnote-1143944 Node: Overriding The Default Memory Management144097 Ref: Overriding The Default Memory Management-Footnote-1146535 Node: A Note About yytext And Memory146699 Node: Serialized Tables147925 Ref: serialization148063 Node: Creating Serialized Tables148831 Node: Loading and Unloading Serialized Tables150434 Node: Tables File Format152193 Node: Diagnostics159202 Node: Limitations162610 Node: Bibliography164555 Node: FAQ165225 Node: When was flex born?169457 Node: How do I expand \ escape sequences in C-style quoted strings?169829 Node: Why do flex scanners call fileno if it is not ANSI compatible?171112 Node: Does flex support recursive pattern definitions?171902 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?172752 Node: Flex is not matching my patterns in the same order that I defined them.173222 Node: My actions are executing out of order or sometimes not at all.174971 Node: How can I have multiple input sources feed into the same scanner at the same time?175759 Node: Can I build nested parsers that work with the same input file?177750 Node: How can I match text only at the end of a file?178759 Node: How can I make REJECT cascade across start condition boundaries?179567 Node: Why cant I use fast or full tables with interactive mode?180586 Node: How much faster is -F or -f than -C?181848 Node: If I have a simple grammar cant I just parse it with flex?182163 Node: Why doesnt yyrestart() set the start state back to INITIAL?182646 Node: How can I match C-style comments?183275 Node: The period isnt working the way I expected.184090 Node: Can I get the flex manual in another format?185339 Node: Does there exist a "faster" NDFA->DFA algorithm?185830 Node: How does flex compile the DFA so quickly?186342 Node: How can I use more than 8192 rules?187312 Node: How do I abandon a file in the middle of a scan and switch to a new file?188726 Node: How do I execute code only during initialization (only before the first scan)?189282 Node: How do I execute code at termination?190044 Node: Where else can I find help?190373 Node: Can I include comments in the "rules" section of the file?190749 Node: I get an error about undefined yywrap().191131 Node: How can I change the matching pattern at run time?191611 Node: How can I expand macros in the input?191976 Node: How can I build a two-pass scanner?193017 Node: How do I match any string not matched in the preceding rules?193935 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.194848 Node: Is there a way to make flex treat NULL like a regular character?195646 Node: Whenever flex can not match the input it says "flex scanner jammed".196170 Node: Why doesnt flex have non-greedy operators like perl does?196821 Node: Memory leak - 16386 bytes allocated by malloc.198176 Ref: faq-memory-leak198473 Node: How do I track the byte offset for lseek()?199444 Node: How do I use my own I/O classes in a C++ scanner?200955 Node: How do I skip as many chars as possible?201801 Node: deleteme00202881 Node: Are certain equivalent patterns faster than others?203327 Node: Is backing up a big deal?206816 Node: Can I fake multi-byte character support?208788 Node: deleteme01210265 Node: Can you discuss some flex internals?211390 Node: unput() messes up yy_at_bol213680 Node: The | operator is not doing what I want214818 Node: Why can't flex understand this variable trailing context pattern?216410 Node: The ^ operator isn't working217675 Node: Trailing context is getting confused with trailing optional patterns218946 Node: Is flex GNU or not?220215 Node: ERASEME53221929 Node: I need to scan if-then-else blocks and while loops222725 Node: ERASEME55223945 Node: ERASEME56225059 Node: ERASEME57226453 Node: Is there a repository for flex scanners?227487 Node: How can I conditionally compile or preprocess my flex input file?227805 Node: Where can I find grammars for lex and yacc?228281 Node: I get an end-of-buffer message for each character scanned.228631 Node: unnamed-faq-62229229 Node: unnamed-faq-63230278 Node: unnamed-faq-64231591 Node: unnamed-faq-65232593 Node: unnamed-faq-66233395 Node: unnamed-faq-67234526 Node: unnamed-faq-68235529 Node: unnamed-faq-69236687 Node: unnamed-faq-70237421 Node: unnamed-faq-71238198 Node: unnamed-faq-72239428 Node: unnamed-faq-73240497 Node: unnamed-faq-74241442 Node: unnamed-faq-75242413 Node: unnamed-faq-76243586 Node: unnamed-faq-77244308 Node: unnamed-faq-78245217 Node: unnamed-faq-79246231 Node: unnamed-faq-80247967 Node: unnamed-faq-81249311 Node: unnamed-faq-82252152 Node: unnamed-faq-83253135 Node: unnamed-faq-84254941 Node: unnamed-faq-85256060 Node: unnamed-faq-86257108 Node: unnamed-faq-87258082 Node: unnamed-faq-88258744 Node: unnamed-faq-90259601 Node: unnamed-faq-91260900 Node: unnamed-faq-92263384 Node: unnamed-faq-93263899 Node: unnamed-faq-94264842 Node: unnamed-faq-95266285 Node: unnamed-faq-96267819 Node: unnamed-faq-97268604 Node: unnamed-faq-98269287 Node: unnamed-faq-99269978 Node: unnamed-faq-100270938 Node: unnamed-faq-101271664 Node: What is the difference between YYLEX_PARAM and YY_DECL?272498 Node: Why do I get "conflicting types for yylex" error?273023 Node: How do I access the values set in a Flex action from within a Bison action?273556 Node: Appendices273990 Node: Makefiles and Flex274157 Ref: Makefiles and Flex-Footnote-1277374 Ref: Makefiles and Flex-Footnote-2277491 Node: Bison Bridge277542 Ref: Bison Bridge-Footnote-1280216 Node: M4 Dependency280408 Ref: M4 Dependency-Footnote-1281591 Node: Indices281726 Node: Concept Index281964 Node: Index of Functions and Macros298838 Node: Index of Variables302057 Node: Index of Data Types303284 Node: Index of Hooks303888 Node: Index of Scanner Options304390 End Tag Table