head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC5:1.1.1.6 netbsd-11-0-RC4:1.1.1.6 netbsd-11-0-RC3:1.1.1.6 netbsd-11-0-RC2:1.1.1.6 netbsd-11-0-RC1:1.1.1.6 perseant-exfatfs-base-20250801:1.1.1.6 netbsd-11:1.1.1.6.0.14 netbsd-11-base:1.1.1.6 netbsd-10-1-RELEASE:1.1.1.6 perseant-exfatfs-base-20240630:1.1.1.6 perseant-exfatfs:1.1.1.6.0.12 perseant-exfatfs-base:1.1.1.6 netbsd-8-3-RELEASE:1.1.1.5 netbsd-9-4-RELEASE:1.1.1.6 netbsd-10-0-RELEASE:1.1.1.6 netbsd-10-0-RC6:1.1.1.6 netbsd-10-0-RC5:1.1.1.6 netbsd-10-0-RC4:1.1.1.6 netbsd-10-0-RC3:1.1.1.6 netbsd-10-0-RC2:1.1.1.6 netbsd-10-0-RC1:1.1.1.6 netbsd-10:1.1.1.6.0.10 netbsd-10-base:1.1.1.6 netbsd-9-3-RELEASE:1.1.1.6 cjep_sun2x-base1:1.1.1.6 cjep_sun2x:1.1.1.6.0.8 cjep_sun2x-base:1.1.1.6 cjep_staticlib_x-base1:1.1.1.6 netbsd-9-2-RELEASE:1.1.1.6 cjep_staticlib_x:1.1.1.6.0.6 cjep_staticlib_x-base:1.1.1.6 netbsd-9-1-RELEASE:1.1.1.6 phil-wifi-20200421:1.1.1.6 phil-wifi-20200411:1.1.1.6 is-mlppp:1.1.1.6.0.4 is-mlppp-base:1.1.1.6 phil-wifi-20200406:1.1.1.6 netbsd-8-2-RELEASE:1.1.1.5 netbsd-9-0-RELEASE:1.1.1.6 netbsd-9-0-RC2:1.1.1.6 netbsd-9-0-RC1:1.1.1.6 phil-wifi-20191119:1.1.1.6 netbsd-9:1.1.1.6.0.2 netbsd-9-base:1.1.1.6 phil-wifi-20190609:1.1.1.6 netbsd-8-1-RELEASE:1.1.1.5 netbsd-8-1-RC1:1.1.1.5 pgoyette-compat-merge-20190127:1.1.1.5.12.1 pgoyette-compat-20190127:1.1.1.6 pgoyette-compat-20190118:1.1.1.6 pgoyette-compat-1226:1.1.1.6 flex-2-6-4:1.1.1.6 pgoyette-compat-1126:1.1.1.5 pgoyette-compat-1020:1.1.1.5 pgoyette-compat-0930:1.1.1.5 pgoyette-compat-0906:1.1.1.5 netbsd-7-2-RELEASE:1.1.1.2.8.1 pgoyette-compat-0728:1.1.1.5 netbsd-8-0-RELEASE:1.1.1.5 phil-wifi:1.1.1.5.0.14 phil-wifi-base:1.1.1.5 pgoyette-compat-0625:1.1.1.5 netbsd-8-0-RC2:1.1.1.5 pgoyette-compat-0521:1.1.1.5 pgoyette-compat-0502:1.1.1.5 pgoyette-compat-0422:1.1.1.5 netbsd-8-0-RC1:1.1.1.5 pgoyette-compat-0415:1.1.1.5 pgoyette-compat-0407:1.1.1.5 pgoyette-compat-0330:1.1.1.5 pgoyette-compat-0322:1.1.1.5 pgoyette-compat-0315:1.1.1.5 netbsd-7-1-2-RELEASE:1.1.1.2.8.1 pgoyette-compat:1.1.1.5.0.12 pgoyette-compat-base:1.1.1.5 netbsd-7-1-1-RELEASE:1.1.1.2.8.1 matt-nb8-mediatek:1.1.1.5.0.10 matt-nb8-mediatek-base:1.1.1.5 perseant-stdc-iso10646:1.1.1.5.0.8 perseant-stdc-iso10646-base:1.1.1.5 netbsd-8:1.1.1.5.0.6 netbsd-8-base:1.1.1.5 prg-localcount2-base3:1.1.1.5 prg-localcount2-base2:1.1.1.5 prg-localcount2-base1:1.1.1.5 prg-localcount2:1.1.1.5.0.4 prg-localcount2-base:1.1.1.5 pgoyette-localcount-20170426:1.1.1.5 bouyer-socketcan-base1:1.1.1.5 pgoyette-localcount-20170320:1.1.1.5 netbsd-7-1:1.1.1.2.8.1.0.6 netbsd-7-1-RELEASE:1.1.1.2.8.1 netbsd-7-1-RC2:1.1.1.2.8.1 netbsd-7-nhusb-base-20170116:1.1.1.2.8.1 bouyer-socketcan:1.1.1.5.0.2 bouyer-socketcan-base:1.1.1.5 pgoyette-localcount-20170107:1.1.1.5 netbsd-7-1-RC1:1.1.1.2.8.1 flex-2-6-3:1.1.1.5 pgoyette-localcount-20161104:1.1.1.4 netbsd-7-0-2-RELEASE:1.1.1.2.8.1 localcount-20160914:1.1.1.4 netbsd-7-nhusb:1.1.1.2.8.1.0.4 netbsd-7-nhusb-base:1.1.1.2.8.1 pgoyette-localcount-20160806:1.1.1.4 pgoyette-localcount-20160726:1.1.1.4 pgoyette-localcount:1.1.1.4.0.2 pgoyette-localcount-base:1.1.1.4 netbsd-7-0-1-RELEASE:1.1.1.2.8.1 flex-2-6-0:1.1.1.4 netbsd-7-0:1.1.1.2.8.1.0.2 netbsd-7-0-RELEASE:1.1.1.2.8.1 netbsd-7-0-RC3:1.1.1.2.8.1 netbsd-7-0-RC2:1.1.1.2.8.1 netbsd-7-0-RC1:1.1.1.2.8.1 flex-2-5-39:1.1.1.3 netbsd-6-0-6-RELEASE:1.1.1.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.2.0.8 netbsd-7-base:1.1.1.2 yamt-pagecache-base9:1.1.1.2 yamt-pagecache-tag8:1.1.1.1 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 tls-earlyentropy:1.1.1.2.0.6 tls-earlyentropy-base:1.1.1.2 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.2 riastradh-drm2-base3:1.1.1.2 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.1 netbsd-6-0-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.1 riastradh-drm2-base2:1.1.1.2 riastradh-drm2-base1:1.1.1.2 riastradh-drm2:1.1.1.2.0.4 riastradh-drm2-base:1.1.1.2 netbsd-6-1:1.1.1.1.0.20 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 khorben-n900:1.1.1.2.0.2 netbsd-6-1-RC4:1.1.1.1 flex-2-5-37:1.1.1.2 netbsd-6-1-RC3:1.1.1.1 agc-symver:1.1.1.1.0.18 agc-symver-base:1.1.1.1 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 yamt-pagecache-base8:1.1.1.1 netbsd-6-0-1-RELEASE:1.1.1.1 yamt-pagecache-base7:1.1.1.1 matt-nb6-plus-nbase:1.1.1.1 yamt-pagecache-base6:1.1.1.1 netbsd-6-0:1.1.1.1.0.14 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 tls-maxphys:1.1.1.1.0.12 tls-maxphys-base:1.1.1.2 matt-nb6-plus:1.1.1.1.0.10 matt-nb6-plus-base:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 yamt-pagecache-base5:1.1.1.1 yamt-pagecache-base4:1.1.1.1 netbsd-6:1.1.1.1.0.8 netbsd-6-base:1.1.1.1 yamt-pagecache-base3:1.1.1.1 yamt-pagecache-base2:1.1.1.1 yamt-pagecache:1.1.1.1.0.6 yamt-pagecache-base:1.1.1.1 cherry-xenmp:1.1.1.1.0.4 cherry-xenmp-base:1.1.1.1 bouyer-quota2-nbase:1.1.1.1 bouyer-quota2:1.1.1.1.0.2 bouyer-quota2-base:1.1.1.1 matt-mips64-premerge-20101231:1.1.1.1 matt-premerge-20091211:1.1.1.1 flex-2-5-35:1.1.1.1 FLEX:1.1.1; locks; strict; comment @# @; 1.1 date 2009.10.26.00.28.12; author christos; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.10.26.00.28.12; author christos; state Exp; branches 1.1.1.1.6.1 1.1.1.1.12.1; next 1.1.1.2; 1.1.1.2 date 2013.04.06.14.05.51; author christos; state Exp; branches 1.1.1.2.8.1; next 1.1.1.3; 1.1.1.3 date 2014.10.29.18.22.52; author christos; state Exp; branches; next 1.1.1.4; commitid 5XBpMdipNxaoQ7Wx; 1.1.1.4 date 2016.01.09.15.43.32; author christos; state Exp; branches 1.1.1.4.2.1; next 1.1.1.5; commitid gZAvxMYao3aXUgQy; 1.1.1.5 date 2017.01.02.16.26.33; author christos; state Exp; branches 1.1.1.5.12.1 1.1.1.5.14.1; next 1.1.1.6; commitid LJszUt5pJWr4CpAz; 1.1.1.6 date 2018.12.23.15.57.54; author christos; state Exp; branches; next ; commitid xPH9BkspeOjBjW4B; 1.1.1.1.6.1 date 2014.05.22.15.45.06; author yamt; state Exp; branches; next ; commitid TZ3vYM8ITdVj7yBx; 1.1.1.1.12.1 date 2013.06.23.06.26.33; author tls; state Exp; branches; next ; commitid OnlO1cBgtQRcIHUw; 1.1.1.2.8.1 date 2015.03.06.20.49.11; author snj; state Exp; branches; next ; commitid nTOobT6jbiujvAcy; 1.1.1.4.2.1 date 2017.01.07.08.53.49; author pgoyette; state Exp; branches; next ; commitid uEL0C1YuiJrlV0Bz; 1.1.1.5.12.1 date 2018.12.26.14.01.16; author pgoyette; state Exp; branches; next ; commitid xUhK8IAeBM1azj5B; 1.1.1.5.14.1 date 2019.06.10.21.44.48; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; desc @@ 1.1 log @Initial revision @ text @This is flex.info, produced by makeinfo version 4.8 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) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The Flex Project. 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: 1620 flex.info-2: 287921  Tag Table: (Indirect) Node: Top1620 Node: Copyright7690 Node: Reporting Bugs9203 Node: Introduction9508 Node: Simple Examples10336 Node: Format13646 Node: Definitions Section14060 Ref: Definitions Section-Footnote-116323 Node: Rules Section16391 Node: User Code Section17549 Node: Comments in the Input17987 Node: Patterns19355 Ref: case and character ranges26186 Node: Matching30201 Node: Actions33487 Node: Generated Scanner42466 Node: Start Conditions47484 Node: Multiple Input Buffers58043 Ref: Scanning Strings64581 Node: EOF66211 Node: Misc Macros67799 Node: User Values70653 Node: Yacc72984 Node: Scanner Options73880 Node: Options for Specifying Filenames76638 Ref: option-header76864 Ref: option-outfile77576 Ref: option-stdout77901 Node: Options Affecting Scanner Behavior78883 Ref: option-case-insensitive79124 Ref: option-lex-compat79557 Ref: option-batch80089 Ref: option-interactive80613 Ref: option-7bit81967 Ref: option-8bit83271 Ref: option-default83683 Ref: option-always-interactive83747 Ref: option-posix84351 Ref: option-stack85498 Ref: option-stdinit85606 Ref: option-yylineno86084 Ref: option-yywrap86527 Node: Code-Level And API Options86795 Ref: option-ansi-definitions87022 Ref: option-ansi-prototypes87274 Ref: option-bison-bridge87521 Ref: option-bison-locations87860 Ref: option-noline88120 Ref: option-reentrant88634 Ref: option-c++89245 Ref: option-array89371 Ref: option-pointer89469 Ref: option-prefix89597 Ref: option-main91126 Ref: option-nounistd91310 Ref: option-yyclass91818 Node: Options for Scanner Speed and Size92304 Ref: option-align92853 Ref: option-ecs93354 Ref: option-meta-ecs94390 Ref: option-read94877 Ref: option-full96760 Ref: option-fast96955 Node: Debugging Options97881 Ref: option-backup98068 Ref: option-debug98613 Ref: option-perf-report99336 Ref: option-nodefault99962 Ref: option-trace100280 Ref: option-nowarn100571 Ref: option-verbose100639 Ref: option-warn101068 Node: Miscellaneous Options101287 Node: Performance101744 Node: Cxx112008 Node: Reentrant119531 Node: Reentrant Uses120208 Node: Reentrant Overview121771 Node: Reentrant Example122570 Node: Reentrant Detail123345 Node: Specify Reentrant123778 Node: Extra Reentrant Argument124425 Node: Global Replacement125677 Node: Init and Destroy Functions126906 Node: Accessor Methods129418 Node: Extra Data130762 Node: About yyscan_t133029 Node: Reentrant Functions133425 Ref: bison-functions134909 Node: Lex and Posix135650 Node: Memory Management143034 Ref: memory-management143180 Node: The Default Memory Management143408 Ref: The Default Memory Management-Footnote-1147217 Node: Overriding The Default Memory Management147370 Ref: Overriding The Default Memory Management-Footnote-1149769 Node: A Note About yytext And Memory149933 Node: Serialized Tables151166 Ref: serialization151310 Node: Creating Serialized Tables152075 Node: Loading and Unloading Serialized Tables153685 Node: Tables File Format155453 Node: Diagnostics162468 Node: Limitations165879 Node: Bibliography167828 Node: FAQ168501 Node: When was flex born?172741 Node: How do I expand backslash-escape sequences in C-style quoted strings?173118 Node: Why do flex scanners call fileno if it is not ANSI compatible?174422 Node: Does flex support recursive pattern definitions?175217 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?176064 Node: Flex is not matching my patterns in the same order that I defined them.176531 Node: My actions are executing out of order or sometimes not at all.178277 Node: How can I have multiple input sources feed into the same scanner at the same time?179052 Node: Can I build nested parsers that work with the same input file?181040 Node: How can I match text only at the end of a file?182046 Node: How can I make REJECT cascade across start condition boundaries?182851 Node: Why cant I use fast or full tables with interactive mode?183866 Node: How much faster is -F or -f than -C?185124 Node: If I have a simple grammar cant I just parse it with flex?185436 Node: Why doesn't yyrestart() set the start state back to INITIAL?185917 Node: How can I match C-style comments?186544 Node: The period isn't working the way I expected.187358 Node: Can I get the flex manual in another format?188605 Node: Does there exist a "faster" NDFA->DFA algorithm?189094 Node: How does flex compile the DFA so quickly?189604 Node: How can I use more than 8192 rules?190571 Node: How do I abandon a file in the middle of a scan and switch to a new file?191983 Node: How do I execute code only during initialization (only before the first scan)?192536 Node: How do I execute code at termination?193314 Node: Where else can I find help?193640 Node: Can I include comments in the "rules" section of the file?194013 Node: I get an error about undefined yywrap().194392 Node: How can I change the matching pattern at run time?194869 Node: How can I expand macros in the input?195231 Node: How can I build a two-pass scanner?196264 Node: How do I match any string not matched in the preceding rules?197180 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.198090 Node: Is there a way to make flex treat NULL like a regular character?198885 Node: Whenever flex can not match the input it says "flex scanner jammed".199406 Node: Why doesn't flex have non-greedy operators like perl does?200050 Node: Memory leak - 16386 bytes allocated by malloc.201403 Ref: faq-memory-leak201701 Node: How do I track the byte offset for lseek()?202669 Node: How do I use my own I/O classes in a C++ scanner?204180 Node: How do I skip as many chars as possible?205023 Node: deleteme00206100 Node: Are certain equivalent patterns faster than others?206541 Node: Is backing up a big deal?209960 Node: Can I fake multi-byte character support?211867 Node: deleteme01213309 Node: Can you discuss some flex internals?214419 Node: unput() messes up yy_at_bol216664 Node: The | operator is not doing what I want217767 Node: Why can't flex understand this variable trailing context pattern?219314 Node: The ^ operator isn't working220564 Node: Trailing context is getting confused with trailing optional patterns221800 Node: Is flex GNU or not?223044 Node: ERASEME53224718 Node: I need to scan if-then-else blocks and while loops225489 Node: ERASEME55226689 Node: ERASEME56227788 Node: ERASEME57229147 Node: Is there a repository for flex scanners?230146 Node: How can I conditionally compile or preprocess my flex input file?230461 Node: Where can I find grammars for lex and yacc?230934 Node: I get an end-of-buffer message for each character scanned.231281 Node: unnamed-faq-62231876 Node: unnamed-faq-63232895 Node: unnamed-faq-64234193 Node: unnamed-faq-65235160 Node: unnamed-faq-66235947 Node: unnamed-faq-67237063 Node: unnamed-faq-68238051 Node: unnamed-faq-69239194 Node: unnamed-faq-70239908 Node: unnamed-faq-71240670 Node: unnamed-faq-72241880 Node: unnamed-faq-73242924 Node: unnamed-faq-74243849 Node: unnamed-faq-75244795 Node: unnamed-faq-76245928 Node: unnamed-faq-77246635 Node: unnamed-faq-78247529 Node: unnamed-faq-79248528 Node: unnamed-faq-80250229 Node: unnamed-faq-81251548 Node: unnamed-faq-82254349 Node: unnamed-faq-83255307 Node: unnamed-faq-84257088 Node: unnamed-faq-85258192 Node: unnamed-faq-86259200 Node: unnamed-faq-87260139 Node: unnamed-faq-88260786 Node: unnamed-faq-90261618 Node: unnamed-faq-91262882 Node: unnamed-faq-92265311 Node: unnamed-faq-93265811 Node: unnamed-faq-94266739 Node: unnamed-faq-95268152 Node: unnamed-faq-96269671 Node: unnamed-faq-97270431 Node: unnamed-faq-98271099 Node: unnamed-faq-99271765 Node: unnamed-faq-100272695 Node: unnamed-faq-101273406 Node: What is the difference between YYLEX_PARAM and YY_DECL?274220 Node: Why do I get "conflicting types for yylex" error?274742 Node: How do I access the values set in a Flex action from within a Bison action?275272 Node: Appendices275703 Node: Makefiles and Flex275912 Ref: Makefiles and Flex-Footnote-1279112 Ref: Makefiles and Flex-Footnote-2279229 Ref: Makefiles and Flex-Footnote-3279415 Node: Bison Bridge279466 Ref: Bison Bridge-Footnote-1282135 Node: M4 Dependency282327 Ref: M4 Dependency-Footnote-1283732 Node: Common Patterns283867 Node: Numbers284158 Node: Identifiers285135 Node: Quoted Constructs285964 Node: Addresses287017 Node: Indices287683 Node: Concept Index287921 Node: Index of Functions and Macros313204 Node: Index of Variables318100 Node: Index of Data Types319766 Node: Index of Hooks320654 Node: Index of Scanner Options321222  End Tag Table @ 1.1.1.1 log @from sourceforge. @ text @@ 1.1.1.1.6.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 This is flex.info, produced by makeinfo version 4.13 from flex.texi. d11 2 a12 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex Project. d46 2 a47 2 flex.info-1: 1627 flex.info-2: 288417 d51 230 a280 230 Node: Top1627 Node: Copyright7692 Node: Reporting Bugs9211 Node: Introduction9516 Node: Simple Examples10344 Node: Format13631 Node: Definitions Section14044 Ref: Definitions Section-Footnote-116302 Node: Rules Section16370 Node: User Code Section17527 Node: Comments in the Input17965 Node: Patterns19332 Ref: case and character ranges26156 Node: Matching30167 Node: Actions33451 Node: Generated Scanner42420 Node: Start Conditions47435 Node: Multiple Input Buffers57972 Ref: Scanning Strings64508 Node: EOF66138 Node: Misc Macros67724 Node: User Values70576 Node: Yacc72907 Node: Scanner Options73802 Node: Options for Specifying Filenames76558 Ref: option-header76784 Ref: option-outfile77496 Ref: option-stdout77821 Node: Options Affecting Scanner Behavior78803 Ref: option-case-insensitive79044 Ref: option-lex-compat79477 Ref: option-batch80009 Ref: option-interactive80533 Ref: option-7bit81887 Ref: option-8bit83191 Ref: option-default83603 Ref: option-always-interactive83667 Ref: option-posix84271 Ref: option-stack85418 Ref: option-stdinit85526 Ref: option-yylineno86004 Ref: option-yywrap86447 Node: Code-Level And API Options86715 Ref: option-ansi-definitions86942 Ref: option-ansi-prototypes87194 Ref: option-bison-bridge87441 Ref: option-bison-locations87780 Ref: option-noline88040 Ref: option-reentrant88554 Ref: option-c++89165 Ref: option-array89291 Ref: option-pointer89389 Ref: option-prefix89517 Ref: option-main91045 Ref: option-nounistd91229 Ref: option-yyclass91737 Node: Options for Scanner Speed and Size92223 Ref: option-align92772 Ref: option-ecs93273 Ref: option-meta-ecs94309 Ref: option-read94796 Ref: option-full96678 Ref: option-fast96873 Node: Debugging Options97798 Ref: option-backup97985 Ref: option-debug98530 Ref: option-perf-report99252 Ref: option-nodefault99878 Ref: option-trace100196 Ref: option-nowarn100487 Ref: option-verbose100555 Ref: option-warn100984 Node: Miscellaneous Options101203 Node: Performance101660 Node: Cxx111902 Node: Reentrant119504 Node: Reentrant Uses120181 Node: Reentrant Overview121742 Node: Reentrant Example122541 Node: Reentrant Detail123315 Node: Specify Reentrant123748 Node: Extra Reentrant Argument124395 Node: Global Replacement125646 Node: Init and Destroy Functions126874 Node: Accessor Methods129391 Node: Extra Data130733 Node: About yyscan_t132998 Node: Reentrant Functions133393 Ref: bison-functions134875 Node: Lex and Posix135614 Node: Memory Management142985 Ref: memory-management143131 Node: The Default Memory Management143359 Ref: The Default Memory Management-Footnote-1147165 Node: Overriding The Default Memory Management147318 Ref: Overriding The Default Memory Management-Footnote-1149715 Node: A Note About yytext And Memory149879 Node: Serialized Tables151112 Ref: serialization151256 Node: Creating Serialized Tables152021 Node: Loading and Unloading Serialized Tables153629 Node: Tables File Format155397 Node: Diagnostics162411 Node: Limitations165820 Node: Bibliography167768 Node: FAQ168441 Node: When was flex born?172681 Node: How do I expand backslash-escape sequences in C-style quoted strings?173058 Node: Why do flex scanners call fileno if it is not ANSI compatible?174362 Node: Does flex support recursive pattern definitions?175157 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?176003 Node: Flex is not matching my patterns in the same order that I defined them.176470 Node: My actions are executing out of order or sometimes not at all.178215 Node: How can I have multiple input sources feed into the same scanner at the same time?178988 Node: Can I build nested parsers that work with the same input file?180976 Node: How can I match text only at the end of a file?181982 Node: How can I make REJECT cascade across start condition boundaries?182786 Node: Why cant I use fast or full tables with interactive mode?183800 Node: How much faster is -F or -f than -C?185058 Node: If I have a simple grammar cant I just parse it with flex?185370 Node: Why doesn't yyrestart() set the start state back to INITIAL?185851 Node: How can I match C-style comments?186478 Node: The period isn't working the way I expected.187288 Node: Can I get the flex manual in another format?188535 Node: Does there exist a "faster" NDFA->DFA algorithm?189024 Node: How does flex compile the DFA so quickly?189534 Node: How can I use more than 8192 rules?190501 Node: How do I abandon a file in the middle of a scan and switch to a new file?191911 Node: How do I execute code only during initialization (only before the first scan)?192464 Node: How do I execute code at termination?193241 Node: Where else can I find help?193567 Node: Can I include comments in the "rules" section of the file?193940 Node: I get an error about undefined yywrap().194319 Node: How can I change the matching pattern at run time?194795 Node: How can I expand macros in the input?195157 Node: How can I build a two-pass scanner?196189 Node: How do I match any string not matched in the preceding rules?197105 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.198014 Node: Is there a way to make flex treat NULL like a regular character?198809 Node: Whenever flex can not match the input it says "flex scanner jammed".199330 Node: Why doesn't flex have non-greedy operators like perl does?199973 Node: Memory leak - 16386 bytes allocated by malloc.201326 Ref: faq-memory-leak201624 Node: How do I track the byte offset for lseek()?202591 Node: How do I use my own I/O classes in a C++ scanner?204100 Node: How do I skip as many chars as possible?204943 Node: deleteme00206017 Node: Are certain equivalent patterns faster than others?206457 Node: Is backing up a big deal?209875 Node: Can I fake multi-byte character support?211781 Node: deleteme01213222 Node: Can you discuss some flex internals?214331 Node: unput() messes up yy_at_bol216575 Node: The | operator is not doing what I want217677 Node: Why can't flex understand this variable trailing context pattern?219223 Node: The ^ operator isn't working220472 Node: Trailing context is getting confused with trailing optional patterns221707 Node: Is flex GNU or not?222950 Node: ERASEME53224623 Node: I need to scan if-then-else blocks and while loops225393 Node: ERASEME55226592 Node: ERASEME56227690 Node: ERASEME57229048 Node: Is there a repository for flex scanners?230046 Node: How can I conditionally compile or preprocess my flex input file?230361 Node: Where can I find grammars for lex and yacc?230834 Node: I get an end-of-buffer message for each character scanned.231181 Node: unnamed-faq-62231776 Node: unnamed-faq-63232794 Node: unnamed-faq-64234091 Node: unnamed-faq-65235057 Node: unnamed-faq-66235843 Node: unnamed-faq-67236958 Node: unnamed-faq-68237945 Node: unnamed-faq-69239087 Node: unnamed-faq-70239800 Node: unnamed-faq-71240561 Node: unnamed-faq-72241770 Node: unnamed-faq-73242813 Node: unnamed-faq-74243737 Node: unnamed-faq-75244682 Node: unnamed-faq-76245814 Node: unnamed-faq-77246520 Node: unnamed-faq-78247413 Node: unnamed-faq-79248411 Node: unnamed-faq-80250111 Node: unnamed-faq-81251429 Node: unnamed-faq-82254229 Node: unnamed-faq-83255186 Node: unnamed-faq-84256966 Node: unnamed-faq-85258069 Node: unnamed-faq-86259076 Node: unnamed-faq-87260014 Node: unnamed-faq-88260660 Node: unnamed-faq-90261491 Node: unnamed-faq-91262754 Node: unnamed-faq-92265182 Node: unnamed-faq-93265681 Node: unnamed-faq-94266608 Node: unnamed-faq-95268020 Node: unnamed-faq-96269538 Node: unnamed-faq-97270297 Node: unnamed-faq-98270964 Node: unnamed-faq-99271629 Node: unnamed-faq-100272558 Node: unnamed-faq-101273268 Node: What is the difference between YYLEX_PARAM and YY_DECL?274081 Node: Why do I get "conflicting types for yylex" error?274602 Node: How do I access the values set in a Flex action from within a Bison action?275132 Node: Appendices275563 Node: Makefiles and Flex275772 Ref: Makefiles and Flex-Footnote-1278968 Ref: Makefiles and Flex-Footnote-2279085 Ref: Makefiles and Flex-Footnote-3279271 Node: Bison Bridge279322 Ref: Bison Bridge-Footnote-1281987 Node: M4 Dependency282179 Ref: M4 Dependency-Footnote-1283584 Node: Common Patterns283719 Node: Numbers284010 Node: Identifiers284987 Node: Quoted Constructs285814 Node: Addresses286866 Node: Indices288179 Node: Concept Index288417 Node: Index of Functions and Macros313700 Node: Index of Variables318596 Node: Index of Data Types320262 Node: Index of Hooks321150 Node: Index of Scanner Options321718 @ 1.1.1.1.12.1 log @resync from head @ text @d1 1 a1 1 This is flex.info, produced by makeinfo version 4.13 from flex.texi. d11 2 a12 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex Project. d46 2 a47 2 flex.info-1: 1627 flex.info-2: 288417 d51 230 a280 230 Node: Top1627 Node: Copyright7692 Node: Reporting Bugs9211 Node: Introduction9516 Node: Simple Examples10344 Node: Format13631 Node: Definitions Section14044 Ref: Definitions Section-Footnote-116302 Node: Rules Section16370 Node: User Code Section17527 Node: Comments in the Input17965 Node: Patterns19332 Ref: case and character ranges26156 Node: Matching30167 Node: Actions33451 Node: Generated Scanner42420 Node: Start Conditions47435 Node: Multiple Input Buffers57972 Ref: Scanning Strings64508 Node: EOF66138 Node: Misc Macros67724 Node: User Values70576 Node: Yacc72907 Node: Scanner Options73802 Node: Options for Specifying Filenames76558 Ref: option-header76784 Ref: option-outfile77496 Ref: option-stdout77821 Node: Options Affecting Scanner Behavior78803 Ref: option-case-insensitive79044 Ref: option-lex-compat79477 Ref: option-batch80009 Ref: option-interactive80533 Ref: option-7bit81887 Ref: option-8bit83191 Ref: option-default83603 Ref: option-always-interactive83667 Ref: option-posix84271 Ref: option-stack85418 Ref: option-stdinit85526 Ref: option-yylineno86004 Ref: option-yywrap86447 Node: Code-Level And API Options86715 Ref: option-ansi-definitions86942 Ref: option-ansi-prototypes87194 Ref: option-bison-bridge87441 Ref: option-bison-locations87780 Ref: option-noline88040 Ref: option-reentrant88554 Ref: option-c++89165 Ref: option-array89291 Ref: option-pointer89389 Ref: option-prefix89517 Ref: option-main91045 Ref: option-nounistd91229 Ref: option-yyclass91737 Node: Options for Scanner Speed and Size92223 Ref: option-align92772 Ref: option-ecs93273 Ref: option-meta-ecs94309 Ref: option-read94796 Ref: option-full96678 Ref: option-fast96873 Node: Debugging Options97798 Ref: option-backup97985 Ref: option-debug98530 Ref: option-perf-report99252 Ref: option-nodefault99878 Ref: option-trace100196 Ref: option-nowarn100487 Ref: option-verbose100555 Ref: option-warn100984 Node: Miscellaneous Options101203 Node: Performance101660 Node: Cxx111902 Node: Reentrant119504 Node: Reentrant Uses120181 Node: Reentrant Overview121742 Node: Reentrant Example122541 Node: Reentrant Detail123315 Node: Specify Reentrant123748 Node: Extra Reentrant Argument124395 Node: Global Replacement125646 Node: Init and Destroy Functions126874 Node: Accessor Methods129391 Node: Extra Data130733 Node: About yyscan_t132998 Node: Reentrant Functions133393 Ref: bison-functions134875 Node: Lex and Posix135614 Node: Memory Management142985 Ref: memory-management143131 Node: The Default Memory Management143359 Ref: The Default Memory Management-Footnote-1147165 Node: Overriding The Default Memory Management147318 Ref: Overriding The Default Memory Management-Footnote-1149715 Node: A Note About yytext And Memory149879 Node: Serialized Tables151112 Ref: serialization151256 Node: Creating Serialized Tables152021 Node: Loading and Unloading Serialized Tables153629 Node: Tables File Format155397 Node: Diagnostics162411 Node: Limitations165820 Node: Bibliography167768 Node: FAQ168441 Node: When was flex born?172681 Node: How do I expand backslash-escape sequences in C-style quoted strings?173058 Node: Why do flex scanners call fileno if it is not ANSI compatible?174362 Node: Does flex support recursive pattern definitions?175157 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?176003 Node: Flex is not matching my patterns in the same order that I defined them.176470 Node: My actions are executing out of order or sometimes not at all.178215 Node: How can I have multiple input sources feed into the same scanner at the same time?178988 Node: Can I build nested parsers that work with the same input file?180976 Node: How can I match text only at the end of a file?181982 Node: How can I make REJECT cascade across start condition boundaries?182786 Node: Why cant I use fast or full tables with interactive mode?183800 Node: How much faster is -F or -f than -C?185058 Node: If I have a simple grammar cant I just parse it with flex?185370 Node: Why doesn't yyrestart() set the start state back to INITIAL?185851 Node: How can I match C-style comments?186478 Node: The period isn't working the way I expected.187288 Node: Can I get the flex manual in another format?188535 Node: Does there exist a "faster" NDFA->DFA algorithm?189024 Node: How does flex compile the DFA so quickly?189534 Node: How can I use more than 8192 rules?190501 Node: How do I abandon a file in the middle of a scan and switch to a new file?191911 Node: How do I execute code only during initialization (only before the first scan)?192464 Node: How do I execute code at termination?193241 Node: Where else can I find help?193567 Node: Can I include comments in the "rules" section of the file?193940 Node: I get an error about undefined yywrap().194319 Node: How can I change the matching pattern at run time?194795 Node: How can I expand macros in the input?195157 Node: How can I build a two-pass scanner?196189 Node: How do I match any string not matched in the preceding rules?197105 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.198014 Node: Is there a way to make flex treat NULL like a regular character?198809 Node: Whenever flex can not match the input it says "flex scanner jammed".199330 Node: Why doesn't flex have non-greedy operators like perl does?199973 Node: Memory leak - 16386 bytes allocated by malloc.201326 Ref: faq-memory-leak201624 Node: How do I track the byte offset for lseek()?202591 Node: How do I use my own I/O classes in a C++ scanner?204100 Node: How do I skip as many chars as possible?204943 Node: deleteme00206017 Node: Are certain equivalent patterns faster than others?206457 Node: Is backing up a big deal?209875 Node: Can I fake multi-byte character support?211781 Node: deleteme01213222 Node: Can you discuss some flex internals?214331 Node: unput() messes up yy_at_bol216575 Node: The | operator is not doing what I want217677 Node: Why can't flex understand this variable trailing context pattern?219223 Node: The ^ operator isn't working220472 Node: Trailing context is getting confused with trailing optional patterns221707 Node: Is flex GNU or not?222950 Node: ERASEME53224623 Node: I need to scan if-then-else blocks and while loops225393 Node: ERASEME55226592 Node: ERASEME56227690 Node: ERASEME57229048 Node: Is there a repository for flex scanners?230046 Node: How can I conditionally compile or preprocess my flex input file?230361 Node: Where can I find grammars for lex and yacc?230834 Node: I get an end-of-buffer message for each character scanned.231181 Node: unnamed-faq-62231776 Node: unnamed-faq-63232794 Node: unnamed-faq-64234091 Node: unnamed-faq-65235057 Node: unnamed-faq-66235843 Node: unnamed-faq-67236958 Node: unnamed-faq-68237945 Node: unnamed-faq-69239087 Node: unnamed-faq-70239800 Node: unnamed-faq-71240561 Node: unnamed-faq-72241770 Node: unnamed-faq-73242813 Node: unnamed-faq-74243737 Node: unnamed-faq-75244682 Node: unnamed-faq-76245814 Node: unnamed-faq-77246520 Node: unnamed-faq-78247413 Node: unnamed-faq-79248411 Node: unnamed-faq-80250111 Node: unnamed-faq-81251429 Node: unnamed-faq-82254229 Node: unnamed-faq-83255186 Node: unnamed-faq-84256966 Node: unnamed-faq-85258069 Node: unnamed-faq-86259076 Node: unnamed-faq-87260014 Node: unnamed-faq-88260660 Node: unnamed-faq-90261491 Node: unnamed-faq-91262754 Node: unnamed-faq-92265182 Node: unnamed-faq-93265681 Node: unnamed-faq-94266608 Node: unnamed-faq-95268020 Node: unnamed-faq-96269538 Node: unnamed-faq-97270297 Node: unnamed-faq-98270964 Node: unnamed-faq-99271629 Node: unnamed-faq-100272558 Node: unnamed-faq-101273268 Node: What is the difference between YYLEX_PARAM and YY_DECL?274081 Node: Why do I get "conflicting types for yylex" error?274602 Node: How do I access the values set in a Flex action from within a Bison action?275132 Node: Appendices275563 Node: Makefiles and Flex275772 Ref: Makefiles and Flex-Footnote-1278968 Ref: Makefiles and Flex-Footnote-2279085 Ref: Makefiles and Flex-Footnote-3279271 Node: Bison Bridge279322 Ref: Bison Bridge-Footnote-1281987 Node: M4 Dependency282179 Ref: M4 Dependency-Footnote-1283584 Node: Common Patterns283719 Node: Numbers284010 Node: Identifiers284987 Node: Quoted Constructs285814 Node: Addresses286866 Node: Indices288179 Node: Concept Index288417 Node: Index of Functions and Macros313700 Node: Index of Variables318596 Node: Index of Data Types320262 Node: Index of Hooks321150 Node: Index of Scanner Options321718 @ 1.1.1.2 log @Import flex 2.5.7 @ text @d1 1 a1 1 This is flex.info, produced by makeinfo version 4.13 from flex.texi. d11 2 a12 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex Project. d46 2 a47 2 flex.info-1: 1627 flex.info-2: 288417 d51 230 a280 230 Node: Top1627 Node: Copyright7692 Node: Reporting Bugs9211 Node: Introduction9516 Node: Simple Examples10344 Node: Format13631 Node: Definitions Section14044 Ref: Definitions Section-Footnote-116302 Node: Rules Section16370 Node: User Code Section17527 Node: Comments in the Input17965 Node: Patterns19332 Ref: case and character ranges26156 Node: Matching30167 Node: Actions33451 Node: Generated Scanner42420 Node: Start Conditions47435 Node: Multiple Input Buffers57972 Ref: Scanning Strings64508 Node: EOF66138 Node: Misc Macros67724 Node: User Values70576 Node: Yacc72907 Node: Scanner Options73802 Node: Options for Specifying Filenames76558 Ref: option-header76784 Ref: option-outfile77496 Ref: option-stdout77821 Node: Options Affecting Scanner Behavior78803 Ref: option-case-insensitive79044 Ref: option-lex-compat79477 Ref: option-batch80009 Ref: option-interactive80533 Ref: option-7bit81887 Ref: option-8bit83191 Ref: option-default83603 Ref: option-always-interactive83667 Ref: option-posix84271 Ref: option-stack85418 Ref: option-stdinit85526 Ref: option-yylineno86004 Ref: option-yywrap86447 Node: Code-Level And API Options86715 Ref: option-ansi-definitions86942 Ref: option-ansi-prototypes87194 Ref: option-bison-bridge87441 Ref: option-bison-locations87780 Ref: option-noline88040 Ref: option-reentrant88554 Ref: option-c++89165 Ref: option-array89291 Ref: option-pointer89389 Ref: option-prefix89517 Ref: option-main91045 Ref: option-nounistd91229 Ref: option-yyclass91737 Node: Options for Scanner Speed and Size92223 Ref: option-align92772 Ref: option-ecs93273 Ref: option-meta-ecs94309 Ref: option-read94796 Ref: option-full96678 Ref: option-fast96873 Node: Debugging Options97798 Ref: option-backup97985 Ref: option-debug98530 Ref: option-perf-report99252 Ref: option-nodefault99878 Ref: option-trace100196 Ref: option-nowarn100487 Ref: option-verbose100555 Ref: option-warn100984 Node: Miscellaneous Options101203 Node: Performance101660 Node: Cxx111902 Node: Reentrant119504 Node: Reentrant Uses120181 Node: Reentrant Overview121742 Node: Reentrant Example122541 Node: Reentrant Detail123315 Node: Specify Reentrant123748 Node: Extra Reentrant Argument124395 Node: Global Replacement125646 Node: Init and Destroy Functions126874 Node: Accessor Methods129391 Node: Extra Data130733 Node: About yyscan_t132998 Node: Reentrant Functions133393 Ref: bison-functions134875 Node: Lex and Posix135614 Node: Memory Management142985 Ref: memory-management143131 Node: The Default Memory Management143359 Ref: The Default Memory Management-Footnote-1147165 Node: Overriding The Default Memory Management147318 Ref: Overriding The Default Memory Management-Footnote-1149715 Node: A Note About yytext And Memory149879 Node: Serialized Tables151112 Ref: serialization151256 Node: Creating Serialized Tables152021 Node: Loading and Unloading Serialized Tables153629 Node: Tables File Format155397 Node: Diagnostics162411 Node: Limitations165820 Node: Bibliography167768 Node: FAQ168441 Node: When was flex born?172681 Node: How do I expand backslash-escape sequences in C-style quoted strings?173058 Node: Why do flex scanners call fileno if it is not ANSI compatible?174362 Node: Does flex support recursive pattern definitions?175157 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?176003 Node: Flex is not matching my patterns in the same order that I defined them.176470 Node: My actions are executing out of order or sometimes not at all.178215 Node: How can I have multiple input sources feed into the same scanner at the same time?178988 Node: Can I build nested parsers that work with the same input file?180976 Node: How can I match text only at the end of a file?181982 Node: How can I make REJECT cascade across start condition boundaries?182786 Node: Why cant I use fast or full tables with interactive mode?183800 Node: How much faster is -F or -f than -C?185058 Node: If I have a simple grammar cant I just parse it with flex?185370 Node: Why doesn't yyrestart() set the start state back to INITIAL?185851 Node: How can I match C-style comments?186478 Node: The period isn't working the way I expected.187288 Node: Can I get the flex manual in another format?188535 Node: Does there exist a "faster" NDFA->DFA algorithm?189024 Node: How does flex compile the DFA so quickly?189534 Node: How can I use more than 8192 rules?190501 Node: How do I abandon a file in the middle of a scan and switch to a new file?191911 Node: How do I execute code only during initialization (only before the first scan)?192464 Node: How do I execute code at termination?193241 Node: Where else can I find help?193567 Node: Can I include comments in the "rules" section of the file?193940 Node: I get an error about undefined yywrap().194319 Node: How can I change the matching pattern at run time?194795 Node: How can I expand macros in the input?195157 Node: How can I build a two-pass scanner?196189 Node: How do I match any string not matched in the preceding rules?197105 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.198014 Node: Is there a way to make flex treat NULL like a regular character?198809 Node: Whenever flex can not match the input it says "flex scanner jammed".199330 Node: Why doesn't flex have non-greedy operators like perl does?199973 Node: Memory leak - 16386 bytes allocated by malloc.201326 Ref: faq-memory-leak201624 Node: How do I track the byte offset for lseek()?202591 Node: How do I use my own I/O classes in a C++ scanner?204100 Node: How do I skip as many chars as possible?204943 Node: deleteme00206017 Node: Are certain equivalent patterns faster than others?206457 Node: Is backing up a big deal?209875 Node: Can I fake multi-byte character support?211781 Node: deleteme01213222 Node: Can you discuss some flex internals?214331 Node: unput() messes up yy_at_bol216575 Node: The | operator is not doing what I want217677 Node: Why can't flex understand this variable trailing context pattern?219223 Node: The ^ operator isn't working220472 Node: Trailing context is getting confused with trailing optional patterns221707 Node: Is flex GNU or not?222950 Node: ERASEME53224623 Node: I need to scan if-then-else blocks and while loops225393 Node: ERASEME55226592 Node: ERASEME56227690 Node: ERASEME57229048 Node: Is there a repository for flex scanners?230046 Node: How can I conditionally compile or preprocess my flex input file?230361 Node: Where can I find grammars for lex and yacc?230834 Node: I get an end-of-buffer message for each character scanned.231181 Node: unnamed-faq-62231776 Node: unnamed-faq-63232794 Node: unnamed-faq-64234091 Node: unnamed-faq-65235057 Node: unnamed-faq-66235843 Node: unnamed-faq-67236958 Node: unnamed-faq-68237945 Node: unnamed-faq-69239087 Node: unnamed-faq-70239800 Node: unnamed-faq-71240561 Node: unnamed-faq-72241770 Node: unnamed-faq-73242813 Node: unnamed-faq-74243737 Node: unnamed-faq-75244682 Node: unnamed-faq-76245814 Node: unnamed-faq-77246520 Node: unnamed-faq-78247413 Node: unnamed-faq-79248411 Node: unnamed-faq-80250111 Node: unnamed-faq-81251429 Node: unnamed-faq-82254229 Node: unnamed-faq-83255186 Node: unnamed-faq-84256966 Node: unnamed-faq-85258069 Node: unnamed-faq-86259076 Node: unnamed-faq-87260014 Node: unnamed-faq-88260660 Node: unnamed-faq-90261491 Node: unnamed-faq-91262754 Node: unnamed-faq-92265182 Node: unnamed-faq-93265681 Node: unnamed-faq-94266608 Node: unnamed-faq-95268020 Node: unnamed-faq-96269538 Node: unnamed-faq-97270297 Node: unnamed-faq-98270964 Node: unnamed-faq-99271629 Node: unnamed-faq-100272558 Node: unnamed-faq-101273268 Node: What is the difference between YYLEX_PARAM and YY_DECL?274081 Node: Why do I get "conflicting types for yylex" error?274602 Node: How do I access the values set in a Flex action from within a Bison action?275132 Node: Appendices275563 Node: Makefiles and Flex275772 Ref: Makefiles and Flex-Footnote-1278968 Ref: Makefiles and Flex-Footnote-2279085 Ref: Makefiles and Flex-Footnote-3279271 Node: Bison Bridge279322 Ref: Bison Bridge-Footnote-1281987 Node: M4 Dependency282179 Ref: M4 Dependency-Footnote-1283584 Node: Common Patterns283719 Node: Numbers284010 Node: Identifiers284987 Node: Quoted Constructs285814 Node: Addresses286866 Node: Indices288179 Node: Concept Index288417 Node: Index of Functions and Macros313700 Node: Index of Variables318596 Node: Index of Data Types320262 Node: Index of Hooks321150 Node: Index of Scanner Options321718 @ 1.1.1.2.8.1 log @Pull up following revision(s) (requested by mrg in ticket #571): doc/3RDPARTY: 1.1168 external/bsd/flex/dist/po/Makefile: up to 1.1.1.1 external/bsd/flex/dist/po/Makefile.in: up to 1.1.1.1 external/bsd/flex/dist/po/POTFILES: up to 1.1.1.1 external/bsd/flex/dist/po/en@@boldquot.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/en@@boldquot.po: up to 1.1.1.1 external/bsd/flex/dist/po/en@@quot.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/en@@quot.po: up to 1.1.1.1 external/bsd/flex/dist/po/eo.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/eo.po: up to 1.1.1.1 external/bsd/flex/dist/po/hr.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/hr.po: up to 1.1.1.1 external/bsd/flex/dist/po/sr.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/sr.po: up to 1.1.1.1 external/bsd/flex/dist/po/zh_TW.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/zh_TW.po: up to 1.1.1.1 external/bsd/flex/dist/tests/test-include-by-buffer/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/TEMPLATE/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-alloc-extra/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-array-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-array-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-basic-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-basic-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-bison-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-bison-yylloc/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-bison-yylval/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c++-basic/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c++-yywrap/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c-cpp-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-ccl/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-concatenated-options/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-debug-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-top/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-debug-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-yyextra/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-extended/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-header-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-header-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-include-by-push/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-mem-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-mem-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-noansi-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-noansi-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-posix/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-posixly-correct/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-prefix-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-prefix-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-pthread/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-quotes/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-reject/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-rescan-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-rescan-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-string-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-string-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-table-opts/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-linedir-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.am: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.in: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/scanner.l: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/test.input: up to 1.1.1.1 external/bsd/flex/dist/m4/intlmacosx.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/libtool.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/ltoptions.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/ltsugar.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/ltversion.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/bsd/flex/dist/doc/Makefile: up to 1.1.1.1 external/bsd/flex/dist/examples/fastwc/Makefile: up to 1.1.1.1 external/bsd/flex/dist/examples/manual/Makefile: up to 1.1.1.1 external/bsd/flex/dist/examples/Makefile: up to 1.1.1.1 external/bsd/flex/dist/libtool: up to 1.1.1.1 external/bsd/flex/dist/stamp-h1: up to 1.1.1.1 external/bsd/flex/dist/ltmain.sh: up to 1.1.1.1 external/bsd/flex/dist/lib/.deps/lib.Plo: up to 1.1.1.1 external/bsd/flex/dist/lib/.deps/malloc.Po: up to 1.1.1.1 external/bsd/flex/dist/lib/.deps/realloc.Po: up to 1.1.1.1 external/bsd/flex/dist/lib/Makefile: up to 1.1.1.1 external/bsd/flex/dist/configure.ac: up to 1.1.1.1 external/bsd/flex/dist/.indent.pro: up to 1.1.1.1 external/bsd/flex/dist/Makefile: up to 1.1.1.1 external/bsd/flex/dist/README-alpha: delete external/bsd/flex/dist/README.cvs: delete external/bsd/flex/dist/configure.in: delete external/bsd/flex/dist/mkinstalldirs: delete external/bsd/flex/dist/tools/Makefile.am: delete external/bsd/flex/dist/tools/Makefile.in: delete external/bsd/flex/dist/tools/git2cl: delete external/bsd/flex/flex2netbsd: up to 1.3 external/bsd/flex/dist/.indent.pro: up to 1.1.1.1 external/bsd/flex/dist/ABOUT-NLS: up to 1.1.1.2 external/bsd/flex/dist/ChangeLog: up to 1.1.1.3 external/bsd/flex/dist/INSTALL: up to 1.1.1.3 external/bsd/flex/dist/Makefile: up to 1.1.1.1 external/bsd/flex/dist/Makefile.am: up to 1.1.1.3 external/bsd/flex/dist/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/NEWS: up to 1.1.1.3 external/bsd/flex/dist/README: up to 1.1.1.2 external/bsd/flex/dist/TODO: up to 1.1.1.2 external/bsd/flex/dist/aclocal.m4: up to 1.1.1.3 external/bsd/flex/dist/autogen.sh: up to 1.1.1.2 external/bsd/flex/dist/buf.c: up to 1.4 external/bsd/flex/dist/ccl.c: up to 1.3 external/bsd/flex/dist/compile: up to 1.1.1.3 external/bsd/flex/dist/conf.in: up to 1.1.1.3 external/bsd/flex/dist/config.guess: up to 1.1.1.3 external/bsd/flex/dist/config.rpath: up to 1.1.1.2 external/bsd/flex/dist/config.sub: up to 1.1.1.3 external/bsd/flex/dist/configure: up to 1.1.1.3 external/bsd/flex/dist/configure.ac: up to 1.1.1.1 external/bsd/flex/dist/depcomp: up to 1.1.1.3 external/bsd/flex/dist/dfa.c: up to 1.3 external/bsd/flex/dist/ecs.c: up to 1.3 external/bsd/flex/dist/filter.c: up to 1.5 external/bsd/flex/dist/flex.skl: up to 1.11 external/bsd/flex/dist/flexdef.h: up to 1.7 external/bsd/flex/dist/gen.c: up to 1.11 external/bsd/flex/dist/initparse.c: up to 1.5 external/bsd/flex/dist/install-sh: up to 1.1.1.3 external/bsd/flex/dist/libmain.c: up to 1.5 external/bsd/flex/dist/libtool: up to 1.1.1.1 external/bsd/flex/dist/libyywrap.c: up to 1.5 external/bsd/flex/dist/ltmain.sh: up to 1.1.1.1 external/bsd/flex/dist/main.c: up to 1.6 external/bsd/flex/dist/misc.c: up to 1.5 external/bsd/flex/dist/missing: up to 1.1.1.3 external/bsd/flex/dist/nfa.c: up to 1.3 external/bsd/flex/dist/options.c: up to 1.3 external/bsd/flex/dist/parse.y: up to 1.5 external/bsd/flex/dist/regex.c: up to 1.3 external/bsd/flex/dist/scan.l: up to 1.6 external/bsd/flex/dist/scanflags.c: up to 1.3 external/bsd/flex/dist/scanopt.c: up to 1.6 external/bsd/flex/dist/stamp-h1: up to 1.1.1.1 external/bsd/flex/dist/sym.c: up to 1.3 external/bsd/flex/dist/tables.c: up to 1.5 external/bsd/flex/dist/tables_shared.c: up to 1.1.1.2 external/bsd/flex/dist/tables_shared.h: up to 1.1.1.2 external/bsd/flex/dist/tblcmp.c: up to 1.3 external/bsd/flex/dist/version.h: up to 1.1.1.2 external/bsd/flex/dist/ylwrap: up to 1.1.1.2 external/bsd/flex/dist/yylex.c: up to 1.4 external/bsd/flex/dist/doc/Makefile: up to 1.1.1.1 external/bsd/flex/dist/doc/Makefile.am: up to 1.1.1.3 external/bsd/flex/dist/doc/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/doc/flex.1: up to 1.1.1.3 external/bsd/flex/dist/doc/flex.info: up to 1.1.1.3 external/bsd/flex/dist/doc/flex.info-1: up to 1.1.1.3 external/bsd/flex/dist/doc/flex.pdf: up to 1.1.1.3 external/bsd/flex/dist/doc/flex.texi: up to 1.1.1.3 external/bsd/flex/dist/doc/mdate-sh: up to 1.1.1.3 external/bsd/flex/dist/doc/stamp-vti: up to 1.1.1.3 external/bsd/flex/dist/doc/texinfo.tex: up to 1.1.1.3 external/bsd/flex/dist/doc/version.texi: up to 1.1.1.3 external/bsd/flex/dist/examples/Makefile: up to 1.1.1.1 external/bsd/flex/dist/examples/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/examples/testxxLexer.l: up to 1.1.1.2 external/bsd/flex/dist/examples/fastwc/Makefile: up to 1.1.1.1 external/bsd/flex/dist/examples/fastwc/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/examples/fastwc/mywc.c: up to 1.1.1.2 external/bsd/flex/dist/examples/fastwc/wc1.l: up to 1.1.1.2 external/bsd/flex/dist/examples/fastwc/wc2.l: up to 1.1.1.2 external/bsd/flex/dist/examples/fastwc/wc3.l: up to 1.1.1.2 external/bsd/flex/dist/examples/fastwc/wc4.l: up to 1.1.1.2 external/bsd/flex/dist/examples/fastwc/wc5.l: up to 1.1.1.2 external/bsd/flex/dist/examples/manual/Makefile: up to 1.1.1.1 external/bsd/flex/dist/examples/manual/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/examples/manual/expr.y: up to 1.1.1.2 external/bsd/flex/dist/examples/manual/front.y: up to 1.1.1.2 external/bsd/flex/dist/lib/Makefile: up to 1.1.1.1 external/bsd/flex/dist/lib/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/lib/Makefile.in: up to 1.1.1.2 external/bsd/flex/dist/lib/lib.c: up to 1.1.1.2 external/bsd/flex/dist/lib/malloc.c: up to 1.1.1.2 external/bsd/flex/dist/lib/realloc.c: up to 1.1.1.2 external/bsd/flex/dist/lib/.deps/lib.Plo: up to 1.1.1.1 external/bsd/flex/dist/lib/.deps/malloc.Po: up to 1.1.1.1 external/bsd/flex/dist/lib/.deps/realloc.Po: up to 1.1.1.1 external/bsd/flex/dist/m4/gettext.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/iconv.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/intlmacosx.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/lib-ld.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/lib-link.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/lib-prefix.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/libtool.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/ltoptions.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/ltsugar.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/ltversion.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/bsd/flex/dist/m4/nls.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/po.m4: up to 1.1.1.2 external/bsd/flex/dist/m4/progtest.m4: up to 1.1.1.2 external/bsd/flex/dist/po/LINGUAS: up to 1.1.1.3 external/bsd/flex/dist/po/Makefile: up to 1.1.1.1 external/bsd/flex/dist/po/Makefile.in: up to 1.1.1.1 external/bsd/flex/dist/po/Makefile.in.in: up to 1.1.1.2 external/bsd/flex/dist/po/POTFILES: up to 1.1.1.1 external/bsd/flex/dist/po/Rules-quot: up to 1.1.1.2 external/bsd/flex/dist/po/ca.po: up to 1.1.1.3 external/bsd/flex/dist/po/da.po: up to 1.1.1.3 external/bsd/flex/dist/po/de.po: up to 1.1.1.3 external/bsd/flex/dist/po/en@@boldquot.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/en@@boldquot.po: up to 1.1.1.1 external/bsd/flex/dist/po/en@@quot.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/en@@quot.po: up to 1.1.1.1 external/bsd/flex/dist/po/eo.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/eo.po: up to 1.1.1.1 external/bsd/flex/dist/po/es.po: up to 1.1.1.3 external/bsd/flex/dist/po/fi.gmo: up to 1.1.1.2 external/bsd/flex/dist/po/fi.po: up to 1.1.1.2 external/bsd/flex/dist/po/flex.pot: up to 1.1.1.3 external/bsd/flex/dist/po/fr.po: up to 1.1.1.3 external/bsd/flex/dist/po/ga.po: up to 1.1.1.3 external/bsd/flex/dist/po/hr.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/hr.po: up to 1.1.1.1 external/bsd/flex/dist/po/ko.po: up to 1.1.1.3 external/bsd/flex/dist/po/nl.po: up to 1.1.1.3 external/bsd/flex/dist/po/pl.po: up to 1.1.1.3 external/bsd/flex/dist/po/pt_BR.po: up to 1.1.1.3 external/bsd/flex/dist/po/ro.po: up to 1.1.1.3 external/bsd/flex/dist/po/ru.po: up to 1.1.1.3 external/bsd/flex/dist/po/sr.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/sr.po: up to 1.1.1.1 external/bsd/flex/dist/po/sv.po: up to 1.1.1.3 external/bsd/flex/dist/po/tr.po: up to 1.1.1.3 external/bsd/flex/dist/po/vi.po: up to 1.1.1.3 external/bsd/flex/dist/po/zh_CN.po: up to 1.1.1.3 external/bsd/flex/dist/po/zh_TW.gmo: up to 1.1.1.1 external/bsd/flex/dist/po/zh_TW.po: up to 1.1.1.1 external/bsd/flex/dist/tests/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/TEMPLATE/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/TEMPLATE/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/TEMPLATE/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/TEMPLATE/parser.y: up to 1.1.1.2 external/bsd/flex/dist/tests/TEMPLATE/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-alloc-extra/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-alloc-extra/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-alloc-extra/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-alloc-extra/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-array-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-array-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-array-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-array-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-array-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-array-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-array-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-array-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-basic-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-basic-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-basic-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-basic-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-basic-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-basic-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-basic-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-basic-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-bison-nr/Makefile.am: up to 1.1.1.3 external/bsd/flex/dist/tests/test-bison-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-bison-nr/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-nr/parser.y: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-yylloc/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-bison-yylloc/Makefile.am: up to 1.1.1.3 external/bsd/flex/dist/tests/test-bison-yylloc/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-bison-yylloc/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-yylloc/parser.y: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-yylloc/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-yylval/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-bison-yylval/Makefile.am: up to 1.1.1.3 external/bsd/flex/dist/tests/test-bison-yylval/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-bison-yylval/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-yylval/parser.y: up to 1.1.1.2 external/bsd/flex/dist/tests/test-bison-yylval/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-basic/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c++-basic/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-basic/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-c++-basic/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-c++-multiple-scanners/scanner-1.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-multiple-scanners/scanner-2.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-yywrap/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c++-yywrap/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c++-yywrap/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-c++-yywrap/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-c-cpp-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c-cpp-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-c-cpp-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-c-cpp-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-c-cpp-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-ccl/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-ccl/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-ccl/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-ccl/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-concatenated-options/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-concatenated-options/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-debug-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-debug-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-debug-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-debug-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-debug-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-debug-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-debug-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-debug-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-extended/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-extended/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-extended/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-extended/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-header-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-header-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-header-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-header-nr/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-header-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-header-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-header-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-header-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-header-r/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-header-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-include-by-buffer/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-include-by-buffer/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-include-by-buffer/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-include-by-buffer/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-include-by-push/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-include-by-push/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-include-by-push/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-include-by-push/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-include-by-reentrant/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-linedir-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-linedir-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-linedir-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-linedir-r/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-linedir-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-lineno-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-lineno-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-lineno-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-lineno-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-lineno-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-lineno-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-lineno-trailing/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.am: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.in: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/scanner.l: up to 1.1.1.1 external/bsd/flex/dist/tests/test-lineno-trailing/test.input: up to 1.1.1.1 external/bsd/flex/dist/tests/test-mem-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-mem-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-mem-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-mem-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-mem-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-mem-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-mem-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-mem-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-multiple-scanners-nr/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-nr/scanner-1.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-nr/scanner-2.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-multiple-scanners-r/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-r/scanner-1.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-multiple-scanners-r/scanner-2.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-noansi-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-noansi-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-noansi-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-noansi-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-noansi-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-noansi-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-noansi-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-noansi-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-posix/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-posix/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-posix/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-posix/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-posixly-correct/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-posixly-correct/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-posixly-correct/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-posixly-correct/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-prefix-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-prefix-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-prefix-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-prefix-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-prefix-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-prefix-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-prefix-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-prefix-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-pthread/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-pthread/Makefile.am: up to 1.1.1.3 external/bsd/flex/dist/tests/test-pthread/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-pthread/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-quotes/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-quotes/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-quotes/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-quotes/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-reject/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-reject/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-reject/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-reject/scanner.l: up to 1.1.1.3 external/bsd/flex/dist/tests/test-rescan-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-rescan-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-rescan-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-rescan-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-rescan-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-rescan-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-rescan-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-rescan-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-string-nr/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-string-nr/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-string-nr/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-string-nr/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-string-r/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-string-r/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-string-r/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-string-r/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-table-opts/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-table-opts/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-table-opts/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-table-opts/scanner.l: up to 1.1.1.3 external/bsd/flex/dist/tests/test-top/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-top/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-top/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-top/main.c: up to 1.1.1.2 external/bsd/flex/dist/tests/test-top/scanner.l: up to 1.1.1.2 external/bsd/flex/dist/tests/test-yyextra/Makefile: up to 1.1.1.1 external/bsd/flex/dist/tests/test-yyextra/Makefile.am: up to 1.1.1.2 external/bsd/flex/dist/tests/test-yyextra/Makefile.in: up to 1.1.1.3 external/bsd/flex/dist/tests/test-yyextra/scanner.l: up to 1.1.1.2 external/bsd/flex/include/config.h: up to 1.5 Update flex to 2.5.39. @ text @d47 1 a47 1 flex.info-2: 288420 d52 229 a280 229 Node: Copyright7695 Node: Reporting Bugs9214 Node: Introduction9519 Node: Simple Examples10347 Node: Format13634 Node: Definitions Section14047 Ref: Definitions Section-Footnote-116305 Node: Rules Section16373 Node: User Code Section17530 Node: Comments in the Input17968 Node: Patterns19335 Ref: case and character ranges26159 Node: Matching30170 Node: Actions33454 Node: Generated Scanner42423 Node: Start Conditions47438 Node: Multiple Input Buffers57975 Ref: Scanning Strings64511 Node: EOF66141 Node: Misc Macros67727 Node: User Values70579 Node: Yacc72910 Node: Scanner Options73805 Node: Options for Specifying Filenames76561 Ref: option-header76787 Ref: option-outfile77499 Ref: option-stdout77824 Node: Options Affecting Scanner Behavior78806 Ref: option-case-insensitive79047 Ref: option-lex-compat79480 Ref: option-batch80012 Ref: option-interactive80536 Ref: option-7bit81890 Ref: option-8bit83194 Ref: option-default83606 Ref: option-always-interactive83670 Ref: option-posix84274 Ref: option-stack85421 Ref: option-stdinit85529 Ref: option-yylineno86007 Ref: option-yywrap86450 Node: Code-Level And API Options86718 Ref: option-ansi-definitions86945 Ref: option-ansi-prototypes87197 Ref: option-bison-bridge87444 Ref: option-bison-locations87783 Ref: option-noline88043 Ref: option-reentrant88557 Ref: option-c++89168 Ref: option-array89294 Ref: option-pointer89392 Ref: option-prefix89520 Ref: option-main91048 Ref: option-nounistd91232 Ref: option-yyclass91740 Node: Options for Scanner Speed and Size92226 Ref: option-align92775 Ref: option-ecs93276 Ref: option-meta-ecs94312 Ref: option-read94799 Ref: option-full96681 Ref: option-fast96876 Node: Debugging Options97801 Ref: option-backup97988 Ref: option-debug98533 Ref: option-perf-report99255 Ref: option-nodefault99881 Ref: option-trace100199 Ref: option-nowarn100490 Ref: option-verbose100558 Ref: option-warn100987 Node: Miscellaneous Options101206 Node: Performance101663 Node: Cxx111905 Node: Reentrant119507 Node: Reentrant Uses120184 Node: Reentrant Overview121745 Node: Reentrant Example122544 Node: Reentrant Detail123318 Node: Specify Reentrant123751 Node: Extra Reentrant Argument124398 Node: Global Replacement125649 Node: Init and Destroy Functions126877 Node: Accessor Methods129394 Node: Extra Data130736 Node: About yyscan_t133001 Node: Reentrant Functions133396 Ref: bison-functions134878 Node: Lex and Posix135617 Node: Memory Management142988 Ref: memory-management143134 Node: The Default Memory Management143362 Ref: The Default Memory Management-Footnote-1147168 Node: Overriding The Default Memory Management147321 Ref: Overriding The Default Memory Management-Footnote-1149718 Node: A Note About yytext And Memory149882 Node: Serialized Tables151115 Ref: serialization151259 Node: Creating Serialized Tables152024 Node: Loading and Unloading Serialized Tables153632 Node: Tables File Format155400 Node: Diagnostics162414 Node: Limitations165823 Node: Bibliography167771 Node: FAQ168444 Node: When was flex born?172684 Node: How do I expand backslash-escape sequences in C-style quoted strings?173061 Node: Why do flex scanners call fileno if it is not ANSI compatible?174365 Node: Does flex support recursive pattern definitions?175160 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?176006 Node: Flex is not matching my patterns in the same order that I defined them.176473 Node: My actions are executing out of order or sometimes not at all.178218 Node: How can I have multiple input sources feed into the same scanner at the same time?178991 Node: Can I build nested parsers that work with the same input file?180979 Node: How can I match text only at the end of a file?181985 Node: How can I make REJECT cascade across start condition boundaries?182789 Node: Why cant I use fast or full tables with interactive mode?183803 Node: How much faster is -F or -f than -C?185061 Node: If I have a simple grammar cant I just parse it with flex?185373 Node: Why doesn't yyrestart() set the start state back to INITIAL?185854 Node: How can I match C-style comments?186481 Node: The period isn't working the way I expected.187291 Node: Can I get the flex manual in another format?188538 Node: Does there exist a "faster" NDFA->DFA algorithm?189027 Node: How does flex compile the DFA so quickly?189537 Node: How can I use more than 8192 rules?190504 Node: How do I abandon a file in the middle of a scan and switch to a new file?191914 Node: How do I execute code only during initialization (only before the first scan)?192467 Node: How do I execute code at termination?193244 Node: Where else can I find help?193570 Node: Can I include comments in the "rules" section of the file?193943 Node: I get an error about undefined yywrap().194322 Node: How can I change the matching pattern at run time?194798 Node: How can I expand macros in the input?195160 Node: How can I build a two-pass scanner?196192 Node: How do I match any string not matched in the preceding rules?197108 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.198017 Node: Is there a way to make flex treat NULL like a regular character?198812 Node: Whenever flex can not match the input it says "flex scanner jammed".199333 Node: Why doesn't flex have non-greedy operators like perl does?199976 Node: Memory leak - 16386 bytes allocated by malloc.201329 Ref: faq-memory-leak201627 Node: How do I track the byte offset for lseek()?202594 Node: How do I use my own I/O classes in a C++ scanner?204103 Node: How do I skip as many chars as possible?204946 Node: deleteme00206020 Node: Are certain equivalent patterns faster than others?206460 Node: Is backing up a big deal?209878 Node: Can I fake multi-byte character support?211784 Node: deleteme01213225 Node: Can you discuss some flex internals?214334 Node: unput() messes up yy_at_bol216578 Node: The | operator is not doing what I want217680 Node: Why can't flex understand this variable trailing context pattern?219226 Node: The ^ operator isn't working220475 Node: Trailing context is getting confused with trailing optional patterns221710 Node: Is flex GNU or not?222953 Node: ERASEME53224626 Node: I need to scan if-then-else blocks and while loops225396 Node: ERASEME55226595 Node: ERASEME56227693 Node: ERASEME57229051 Node: Is there a repository for flex scanners?230049 Node: How can I conditionally compile or preprocess my flex input file?230364 Node: Where can I find grammars for lex and yacc?230837 Node: I get an end-of-buffer message for each character scanned.231184 Node: unnamed-faq-62231779 Node: unnamed-faq-63232797 Node: unnamed-faq-64234094 Node: unnamed-faq-65235060 Node: unnamed-faq-66235846 Node: unnamed-faq-67236961 Node: unnamed-faq-68237948 Node: unnamed-faq-69239090 Node: unnamed-faq-70239803 Node: unnamed-faq-71240564 Node: unnamed-faq-72241773 Node: unnamed-faq-73242816 Node: unnamed-faq-74243740 Node: unnamed-faq-75244685 Node: unnamed-faq-76245817 Node: unnamed-faq-77246523 Node: unnamed-faq-78247416 Node: unnamed-faq-79248414 Node: unnamed-faq-80250114 Node: unnamed-faq-81251432 Node: unnamed-faq-82254232 Node: unnamed-faq-83255189 Node: unnamed-faq-84256969 Node: unnamed-faq-85258072 Node: unnamed-faq-86259079 Node: unnamed-faq-87260017 Node: unnamed-faq-88260663 Node: unnamed-faq-90261494 Node: unnamed-faq-91262757 Node: unnamed-faq-92265185 Node: unnamed-faq-93265684 Node: unnamed-faq-94266611 Node: unnamed-faq-95268023 Node: unnamed-faq-96269541 Node: unnamed-faq-97270300 Node: unnamed-faq-98270967 Node: unnamed-faq-99271632 Node: unnamed-faq-100272561 Node: unnamed-faq-101273271 Node: What is the difference between YYLEX_PARAM and YY_DECL?274084 Node: Why do I get "conflicting types for yylex" error?274605 Node: How do I access the values set in a Flex action from within a Bison action?275135 Node: Appendices275566 Node: Makefiles and Flex275775 Ref: Makefiles and Flex-Footnote-1278971 Ref: Makefiles and Flex-Footnote-2279088 Ref: Makefiles and Flex-Footnote-3279274 Node: Bison Bridge279325 Ref: Bison Bridge-Footnote-1281990 Node: M4 Dependency282182 Ref: M4 Dependency-Footnote-1283587 Node: Common Patterns283722 Node: Numbers284013 Node: Identifiers284990 Node: Quoted Constructs285817 Node: Addresses286869 Node: Indices288182 Node: Concept Index288420 Node: Index of Functions and Macros313703 Node: Index of Variables318599 Node: Index of Data Types320265 Node: Index of Hooks321153 Node: Index of Scanner Options321721 @ 1.1.1.3 log @* flex version 2.5.39 ** no user visible changes in this release * version 2.5.38 released 2014-02-14 ** internationalization *** add sr translation from the translation project *** update da, es, ko, nl, pt_BR, ro, ru, sv, tr, vi, zh_CN translations from th e translation project *** rename zh_tw to its proper zh_TW name @ text @d47 1 a47 1 flex.info-2: 288420 d52 229 a280 229 Node: Copyright7695 Node: Reporting Bugs9214 Node: Introduction9519 Node: Simple Examples10347 Node: Format13634 Node: Definitions Section14047 Ref: Definitions Section-Footnote-116305 Node: Rules Section16373 Node: User Code Section17530 Node: Comments in the Input17968 Node: Patterns19335 Ref: case and character ranges26159 Node: Matching30170 Node: Actions33454 Node: Generated Scanner42423 Node: Start Conditions47438 Node: Multiple Input Buffers57975 Ref: Scanning Strings64511 Node: EOF66141 Node: Misc Macros67727 Node: User Values70579 Node: Yacc72910 Node: Scanner Options73805 Node: Options for Specifying Filenames76561 Ref: option-header76787 Ref: option-outfile77499 Ref: option-stdout77824 Node: Options Affecting Scanner Behavior78806 Ref: option-case-insensitive79047 Ref: option-lex-compat79480 Ref: option-batch80012 Ref: option-interactive80536 Ref: option-7bit81890 Ref: option-8bit83194 Ref: option-default83606 Ref: option-always-interactive83670 Ref: option-posix84274 Ref: option-stack85421 Ref: option-stdinit85529 Ref: option-yylineno86007 Ref: option-yywrap86450 Node: Code-Level And API Options86718 Ref: option-ansi-definitions86945 Ref: option-ansi-prototypes87197 Ref: option-bison-bridge87444 Ref: option-bison-locations87783 Ref: option-noline88043 Ref: option-reentrant88557 Ref: option-c++89168 Ref: option-array89294 Ref: option-pointer89392 Ref: option-prefix89520 Ref: option-main91048 Ref: option-nounistd91232 Ref: option-yyclass91740 Node: Options for Scanner Speed and Size92226 Ref: option-align92775 Ref: option-ecs93276 Ref: option-meta-ecs94312 Ref: option-read94799 Ref: option-full96681 Ref: option-fast96876 Node: Debugging Options97801 Ref: option-backup97988 Ref: option-debug98533 Ref: option-perf-report99255 Ref: option-nodefault99881 Ref: option-trace100199 Ref: option-nowarn100490 Ref: option-verbose100558 Ref: option-warn100987 Node: Miscellaneous Options101206 Node: Performance101663 Node: Cxx111905 Node: Reentrant119507 Node: Reentrant Uses120184 Node: Reentrant Overview121745 Node: Reentrant Example122544 Node: Reentrant Detail123318 Node: Specify Reentrant123751 Node: Extra Reentrant Argument124398 Node: Global Replacement125649 Node: Init and Destroy Functions126877 Node: Accessor Methods129394 Node: Extra Data130736 Node: About yyscan_t133001 Node: Reentrant Functions133396 Ref: bison-functions134878 Node: Lex and Posix135617 Node: Memory Management142988 Ref: memory-management143134 Node: The Default Memory Management143362 Ref: The Default Memory Management-Footnote-1147168 Node: Overriding The Default Memory Management147321 Ref: Overriding The Default Memory Management-Footnote-1149718 Node: A Note About yytext And Memory149882 Node: Serialized Tables151115 Ref: serialization151259 Node: Creating Serialized Tables152024 Node: Loading and Unloading Serialized Tables153632 Node: Tables File Format155400 Node: Diagnostics162414 Node: Limitations165823 Node: Bibliography167771 Node: FAQ168444 Node: When was flex born?172684 Node: How do I expand backslash-escape sequences in C-style quoted strings?173061 Node: Why do flex scanners call fileno if it is not ANSI compatible?174365 Node: Does flex support recursive pattern definitions?175160 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?176006 Node: Flex is not matching my patterns in the same order that I defined them.176473 Node: My actions are executing out of order or sometimes not at all.178218 Node: How can I have multiple input sources feed into the same scanner at the same time?178991 Node: Can I build nested parsers that work with the same input file?180979 Node: How can I match text only at the end of a file?181985 Node: How can I make REJECT cascade across start condition boundaries?182789 Node: Why cant I use fast or full tables with interactive mode?183803 Node: How much faster is -F or -f than -C?185061 Node: If I have a simple grammar cant I just parse it with flex?185373 Node: Why doesn't yyrestart() set the start state back to INITIAL?185854 Node: How can I match C-style comments?186481 Node: The period isn't working the way I expected.187291 Node: Can I get the flex manual in another format?188538 Node: Does there exist a "faster" NDFA->DFA algorithm?189027 Node: How does flex compile the DFA so quickly?189537 Node: How can I use more than 8192 rules?190504 Node: How do I abandon a file in the middle of a scan and switch to a new file?191914 Node: How do I execute code only during initialization (only before the first scan)?192467 Node: How do I execute code at termination?193244 Node: Where else can I find help?193570 Node: Can I include comments in the "rules" section of the file?193943 Node: I get an error about undefined yywrap().194322 Node: How can I change the matching pattern at run time?194798 Node: How can I expand macros in the input?195160 Node: How can I build a two-pass scanner?196192 Node: How do I match any string not matched in the preceding rules?197108 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.198017 Node: Is there a way to make flex treat NULL like a regular character?198812 Node: Whenever flex can not match the input it says "flex scanner jammed".199333 Node: Why doesn't flex have non-greedy operators like perl does?199976 Node: Memory leak - 16386 bytes allocated by malloc.201329 Ref: faq-memory-leak201627 Node: How do I track the byte offset for lseek()?202594 Node: How do I use my own I/O classes in a C++ scanner?204103 Node: How do I skip as many chars as possible?204946 Node: deleteme00206020 Node: Are certain equivalent patterns faster than others?206460 Node: Is backing up a big deal?209878 Node: Can I fake multi-byte character support?211784 Node: deleteme01213225 Node: Can you discuss some flex internals?214334 Node: unput() messes up yy_at_bol216578 Node: The | operator is not doing what I want217680 Node: Why can't flex understand this variable trailing context pattern?219226 Node: The ^ operator isn't working220475 Node: Trailing context is getting confused with trailing optional patterns221710 Node: Is flex GNU or not?222953 Node: ERASEME53224626 Node: I need to scan if-then-else blocks and while loops225396 Node: ERASEME55226595 Node: ERASEME56227693 Node: ERASEME57229051 Node: Is there a repository for flex scanners?230049 Node: How can I conditionally compile or preprocess my flex input file?230364 Node: Where can I find grammars for lex and yacc?230837 Node: I get an end-of-buffer message for each character scanned.231184 Node: unnamed-faq-62231779 Node: unnamed-faq-63232797 Node: unnamed-faq-64234094 Node: unnamed-faq-65235060 Node: unnamed-faq-66235846 Node: unnamed-faq-67236961 Node: unnamed-faq-68237948 Node: unnamed-faq-69239090 Node: unnamed-faq-70239803 Node: unnamed-faq-71240564 Node: unnamed-faq-72241773 Node: unnamed-faq-73242816 Node: unnamed-faq-74243740 Node: unnamed-faq-75244685 Node: unnamed-faq-76245817 Node: unnamed-faq-77246523 Node: unnamed-faq-78247416 Node: unnamed-faq-79248414 Node: unnamed-faq-80250114 Node: unnamed-faq-81251432 Node: unnamed-faq-82254232 Node: unnamed-faq-83255189 Node: unnamed-faq-84256969 Node: unnamed-faq-85258072 Node: unnamed-faq-86259079 Node: unnamed-faq-87260017 Node: unnamed-faq-88260663 Node: unnamed-faq-90261494 Node: unnamed-faq-91262757 Node: unnamed-faq-92265185 Node: unnamed-faq-93265684 Node: unnamed-faq-94266611 Node: unnamed-faq-95268023 Node: unnamed-faq-96269541 Node: unnamed-faq-97270300 Node: unnamed-faq-98270967 Node: unnamed-faq-99271632 Node: unnamed-faq-100272561 Node: unnamed-faq-101273271 Node: What is the difference between YYLEX_PARAM and YY_DECL?274084 Node: Why do I get "conflicting types for yylex" error?274605 Node: How do I access the values set in a Flex action from within a Bison action?275135 Node: Appendices275566 Node: Makefiles and Flex275775 Ref: Makefiles and Flex-Footnote-1278971 Ref: Makefiles and Flex-Footnote-2279088 Ref: Makefiles and Flex-Footnote-3279274 Node: Bison Bridge279325 Ref: Bison Bridge-Footnote-1281990 Node: M4 Dependency282182 Ref: M4 Dependency-Footnote-1283587 Node: Common Patterns283722 Node: Numbers284013 Node: Identifiers284990 Node: Quoted Constructs285817 Node: Addresses286869 Node: Indices288182 Node: Concept Index288420 Node: Index of Functions and Macros313703 Node: Index of Variables318599 Node: Index of Data Types320265 Node: Index of Hooks321153 Node: Index of Scanner Options321721 @ 1.1.1.4 log @Import flex 2.6.0 @ text @d1 1 a1 1 This is flex.info, produced by makeinfo version 6.0 from flex.texi. d3 6 a8 1 The flex manual is placed under the same licensing conditions as the d11 2 a12 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex Project. d21 1 a21 1 contract no. DE-AC03-76SF00098 between the United States Department of d28 1 a28 1 1. Redistributions of source code must retain the above copyright a42 4 INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * flex: (flex). Fast lexical analyzer generator (lex replacement). END-INFO-DIR-ENTRY d46 2 a47 2 flex.info-1: 1622 flex.info-2: 319164 d51 230 a280 230 Node: Top1622 Node: Copyright9420 Node: Reporting Bugs10939 Node: Introduction11244 Node: Simple Examples12073 Node: Format15361 Node: Definitions Section15816 Ref: Definitions Section-Footnote-118074 Node: Rules Section18142 Node: User Code Section19300 Node: Comments in the Input19738 Node: Patterns21108 Ref: case and character ranges27940 Node: Matching31943 Node: Actions35228 Node: Generated Scanner44190 Node: Start Conditions49209 Node: Multiple Input Buffers59751 Ref: Scanning Strings66292 Node: EOF67921 Node: Misc Macros69507 Node: User Values72361 Node: Yacc74686 Node: Scanner Options75581 Node: Options for Specifying Filenames78370 Ref: option-header78596 Ref: option-outfile79310 Ref: option-stdout79635 Node: Options Affecting Scanner Behavior80618 Ref: option-case-insensitive80859 Ref: option-lex-compat81292 Ref: option-batch81824 Ref: option-interactive82343 Ref: option-7bit83697 Ref: option-8bit85001 Ref: option-default85413 Ref: option-always-interactive85477 Ref: option-posix86081 Ref: option-stack87228 Ref: option-stdinit87336 Ref: option-yylineno87815 Ref: option-yywrap88258 Node: Code-Level And API Options88525 Ref: option-ansi-definitions88752 Ref: option-ansi-prototypes89000 Ref: option-bison-bridge89248 Ref: option-bison-locations89589 Ref: option-noline89849 Ref: option-reentrant90363 Ref: option-c++90975 Ref: option-array91101 Ref: option-pointer91199 Ref: option-prefix91326 Ref: option-main92854 Ref: option-nounistd93038 Ref: option-yyclass93549 Node: Options for Scanner Speed and Size94033 Ref: option-align94583 Ref: option-ecs95085 Ref: option-meta-ecs96124 Ref: option-read96612 Ref: option-full98495 Ref: option-fast98690 Node: Debugging Options99614 Ref: option-backup99801 Ref: option-debug100346 Ref: option-perf-report101068 Ref: option-nodefault101694 Ref: option-trace102012 Ref: option-nowarn102303 Ref: option-verbose102371 Ref: option-warn102800 Node: Miscellaneous Options103019 Node: Performance103475 Node: Cxx113722 Node: Reentrant121814 Node: Reentrant Uses122548 Node: Reentrant Overview124110 Node: Reentrant Example124910 Node: Reentrant Detail125683 Node: Specify Reentrant126187 Node: Extra Reentrant Argument126837 Node: Global Replacement128089 Node: Init and Destroy Functions129324 Node: Accessor Methods131845 Node: Extra Data133192 Node: About yyscan_t135459 Node: Reentrant Functions135856 Ref: bison-functions137340 Node: Lex and Posix138079 Node: Memory Management145426 Ref: memory-management145572 Node: The Default Memory Management145806 Ref: The Default Memory Management-Footnote-1149626 Node: Overriding The Default Memory Management149779 Ref: Overriding The Default Memory Management-Footnote-1152193 Node: A Note About yytext And Memory152357 Node: Serialized Tables153597 Ref: serialization153741 Node: Creating Serialized Tables154521 Node: Loading and Unloading Serialized Tables156136 Node: Tables File Format157909 Node: Diagnostics164934 Node: Limitations168343 Node: Bibliography170291 Node: FAQ170961 Node: When was flex born?176124 Node: How do I expand backslash-escape sequences in C-style quoted strings?176501 Node: Why do flex scanners call fileno if it is not ANSI compatible?177804 Node: Does flex support recursive pattern definitions?178601 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179448 Node: Flex is not matching my patterns in the same order that I defined them.179915 Node: My actions are executing out of order or sometimes not at all.181661 Node: How can I have multiple input sources feed into the same scanner at the same time?182434 Node: Can I build nested parsers that work with the same input file?184419 Node: How can I match text only at the end of a file?185426 Node: How can I make REJECT cascade across start condition boundaries?186230 Node: Why cant I use fast or full tables with interactive mode?187244 Node: How much faster is -F or -f than -C?188501 Node: If I have a simple grammar cant I just parse it with flex?188813 Node: Why doesn't yyrestart() set the start state back to INITIAL?189295 Node: How can I match C-style comments?189922 Node: The period isn't working the way I expected.190732 Node: Can I get the flex manual in another format?191977 Node: Does there exist a "faster" NDFA->DFA algorithm?192467 Node: How does flex compile the DFA so quickly?192977 Node: How can I use more than 8192 rules?193943 Node: How do I abandon a file in the middle of a scan and switch to a new file?195353 Node: How do I execute code only during initialization (only before the first scan)?195907 Node: How do I execute code at termination?196684 Node: Where else can I find help?197010 Node: Can I include comments in the "rules" section of the file?197384 Node: I get an error about undefined yywrap().197764 Node: How can I change the matching pattern at run time?198240 Node: How can I expand macros in the input?198602 Node: How can I build a two-pass scanner?199634 Node: How do I match any string not matched in the preceding rules?200552 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201461 Node: Is there a way to make flex treat NULL like a regular character?202256 Node: Whenever flex can not match the input it says "flex scanner jammed".202776 Node: Why doesn't flex have non-greedy operators like perl does?203419 Node: Memory leak - 16386 bytes allocated by malloc.204772 Ref: faq-memory-leak205070 Node: How do I track the byte offset for lseek()?206041 Node: How do I use my own I/O classes in a C++ scanner?207550 Node: How do I skip as many chars as possible?208393 Node: deleteme00209468 Node: Are certain equivalent patterns faster than others?209908 Node: Is backing up a big deal?213326 Node: Can I fake multi-byte character support?215232 Node: deleteme01216673 Node: Can you discuss some flex internals?217782 Node: unput() messes up yy_at_bol220026 Node: The | operator is not doing what I want221128 Node: Why can't flex understand this variable trailing context pattern?222674 Node: The ^ operator isn't working223923 Node: Trailing context is getting confused with trailing optional patterns225158 Node: Is flex GNU or not?226401 Node: ERASEME53228074 Node: I need to scan if-then-else blocks and while loops228844 Node: ERASEME55230043 Node: ERASEME56231141 Node: ERASEME57232499 Node: Is there a repository for flex scanners?233497 Node: How can I conditionally compile or preprocess my flex input file?233813 Node: Where can I find grammars for lex and yacc?234286 Node: I get an end-of-buffer message for each character scanned.234633 Node: unnamed-faq-62235228 Node: unnamed-faq-63236246 Node: unnamed-faq-64237543 Node: unnamed-faq-65238509 Node: unnamed-faq-66239295 Node: unnamed-faq-67240410 Node: unnamed-faq-68241397 Node: unnamed-faq-69242539 Node: unnamed-faq-70243252 Node: unnamed-faq-71244013 Node: unnamed-faq-72245222 Node: unnamed-faq-73246265 Node: unnamed-faq-74247189 Node: unnamed-faq-75248134 Node: unnamed-faq-76249266 Node: unnamed-faq-77249972 Node: unnamed-faq-78250865 Node: unnamed-faq-79251863 Node: unnamed-faq-80253563 Node: unnamed-faq-81254881 Node: unnamed-faq-82257681 Node: unnamed-faq-83258638 Node: unnamed-faq-84260418 Node: unnamed-faq-85261521 Node: unnamed-faq-86262528 Node: unnamed-faq-87263466 Node: unnamed-faq-88264112 Node: unnamed-faq-90264943 Node: unnamed-faq-91266206 Node: unnamed-faq-92268634 Node: unnamed-faq-93269133 Node: unnamed-faq-94270060 Node: unnamed-faq-95271472 Node: unnamed-faq-96272990 Node: unnamed-faq-97273749 Node: unnamed-faq-98274416 Node: unnamed-faq-99275081 Node: unnamed-faq-100276010 Node: unnamed-faq-101276720 Node: What is the difference between YYLEX_PARAM and YY_DECL?277533 Node: Why do I get "conflicting types for yylex" error?278057 Node: How do I access the values set in a Flex action from within a Bison action?278587 Node: Appendices279016 Node: Makefiles and Flex279281 Ref: Makefiles and Flex-Footnote-1282483 Ref: Makefiles and Flex-Footnote-2282600 Ref: Makefiles and Flex-Footnote-3282787 Node: Bison Bridge282838 Ref: Bison Bridge-Footnote-1285505 Node: M4 Dependency285697 Ref: M4 Dependency-Footnote-1287111 Node: Common Patterns287247 Node: Numbers287570 Node: Identifiers288546 Node: Quoted Constructs289373 Node: Addresses290427 Node: Indices291739 Node: Concept Index292031 Node: Index of Functions and Macros319164 Node: Index of Variables324133 Node: Index of Data Types325799 Node: Index of Hooks326687 Node: Index of Scanner Options327255 @ 1.1.1.4.2.1 log @Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.) @ text @d1 1 a1 1 This is flex.info, produced by makeinfo version 6.1 from flex.texi. d46 1 a46 1 flex.info-2: 318748 d51 229 a279 229 Node: Copyright9419 Node: Reporting Bugs10938 Node: Introduction11194 Node: Simple Examples12023 Node: Format15309 Node: Definitions Section15764 Ref: Definitions Section-Footnote-118022 Node: Rules Section18090 Node: User Code Section19248 Node: Comments in the Input19686 Node: Patterns21056 Ref: case and character ranges27888 Node: Matching31891 Node: Actions35176 Node: Generated Scanner44138 Node: Start Conditions49141 Node: Multiple Input Buffers59683 Ref: Scanning Strings66224 Node: EOF67853 Node: Misc Macros69439 Node: User Values72293 Node: Yacc74618 Node: Scanner Options75513 Node: Options for Specifying Filenames78302 Ref: option-header78528 Ref: option-outfile79242 Ref: option-stdout79567 Node: Options Affecting Scanner Behavior80550 Ref: option-case-insensitive80791 Ref: option-lex-compat81224 Ref: option-batch81756 Ref: option-interactive82275 Ref: option-7bit83629 Ref: option-8bit84933 Ref: option-default85345 Ref: option-always-interactive85409 Ref: option-posix86013 Ref: option-stack87160 Ref: option-stdinit87268 Ref: option-yylineno87747 Ref: option-yywrap88190 Node: Code-Level And API Options88457 Ref: option-ansi-definitions88684 Ref: option-ansi-prototypes88759 Ref: option-bison-bridge88832 Ref: option-bison-locations89173 Ref: option-noline89433 Ref: option-reentrant89947 Ref: option-c++90559 Ref: option-array90685 Ref: option-pointer90783 Ref: option-prefix90910 Ref: option-main92438 Ref: option-nounistd92622 Ref: option-yyclass93133 Node: Options for Scanner Speed and Size93617 Ref: option-align94167 Ref: option-ecs94669 Ref: option-meta-ecs95708 Ref: option-read96196 Ref: option-full98079 Ref: option-fast98274 Node: Debugging Options99198 Ref: option-backup99385 Ref: option-debug99930 Ref: option-perf-report100652 Ref: option-nodefault101278 Ref: option-trace101596 Ref: option-nowarn101887 Ref: option-verbose101955 Ref: option-warn102384 Node: Miscellaneous Options102603 Node: Performance103059 Node: Cxx113306 Node: Reentrant121398 Node: Reentrant Uses122132 Node: Reentrant Overview123694 Node: Reentrant Example124494 Node: Reentrant Detail125267 Node: Specify Reentrant125771 Node: Extra Reentrant Argument126421 Node: Global Replacement127673 Node: Init and Destroy Functions128908 Node: Accessor Methods131429 Node: Extra Data132776 Node: About yyscan_t135043 Node: Reentrant Functions135440 Ref: bison-functions136924 Node: Lex and Posix137663 Node: Memory Management145010 Ref: memory-management145156 Node: The Default Memory Management145390 Ref: The Default Memory Management-Footnote-1149210 Node: Overriding The Default Memory Management149363 Ref: Overriding The Default Memory Management-Footnote-1151777 Node: A Note About yytext And Memory151941 Node: Serialized Tables153181 Ref: serialization153325 Node: Creating Serialized Tables154105 Node: Loading and Unloading Serialized Tables155720 Node: Tables File Format157493 Node: Diagnostics164518 Node: Limitations167927 Node: Bibliography169875 Node: FAQ170545 Node: When was flex born?175708 Node: How do I expand backslash-escape sequences in C-style quoted strings?176085 Node: Why do flex scanners call fileno if it is not ANSI compatible?177388 Node: Does flex support recursive pattern definitions?178185 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179032 Node: Flex is not matching my patterns in the same order that I defined them.179499 Node: My actions are executing out of order or sometimes not at all.181245 Node: How can I have multiple input sources feed into the same scanner at the same time?182018 Node: Can I build nested parsers that work with the same input file?184003 Node: How can I match text only at the end of a file?185010 Node: How can I make REJECT cascade across start condition boundaries?185814 Node: Why cant I use fast or full tables with interactive mode?186828 Node: How much faster is -F or -f than -C?188085 Node: If I have a simple grammar cant I just parse it with flex?188397 Node: Why doesn't yyrestart() set the start state back to INITIAL?188879 Node: How can I match C-style comments?189506 Node: The period isn't working the way I expected.190316 Node: Can I get the flex manual in another format?191561 Node: Does there exist a "faster" NDFA->DFA algorithm?192051 Node: How does flex compile the DFA so quickly?192561 Node: How can I use more than 8192 rules?193527 Node: How do I abandon a file in the middle of a scan and switch to a new file?194937 Node: How do I execute code only during initialization (only before the first scan)?195491 Node: How do I execute code at termination?196268 Node: Where else can I find help?196594 Node: Can I include comments in the "rules" section of the file?196968 Node: I get an error about undefined yywrap().197348 Node: How can I change the matching pattern at run time?197824 Node: How can I expand macros in the input?198186 Node: How can I build a two-pass scanner?199218 Node: How do I match any string not matched in the preceding rules?200136 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201045 Node: Is there a way to make flex treat NULL like a regular character?201840 Node: Whenever flex can not match the input it says "flex scanner jammed".202360 Node: Why doesn't flex have non-greedy operators like perl does?203003 Node: Memory leak - 16386 bytes allocated by malloc.204356 Ref: faq-memory-leak204654 Node: How do I track the byte offset for lseek()?205625 Node: How do I use my own I/O classes in a C++ scanner?207134 Node: How do I skip as many chars as possible?207977 Node: deleteme00209052 Node: Are certain equivalent patterns faster than others?209492 Node: Is backing up a big deal?212910 Node: Can I fake multi-byte character support?214816 Node: deleteme01216257 Node: Can you discuss some flex internals?217366 Node: unput() messes up yy_at_bol219610 Node: The | operator is not doing what I want220712 Node: Why can't flex understand this variable trailing context pattern?222258 Node: The ^ operator isn't working223507 Node: Trailing context is getting confused with trailing optional patterns224742 Node: Is flex GNU or not?225985 Node: ERASEME53227658 Node: I need to scan if-then-else blocks and while loops228428 Node: ERASEME55229627 Node: ERASEME56230725 Node: ERASEME57232083 Node: Is there a repository for flex scanners?233081 Node: How can I conditionally compile or preprocess my flex input file?233397 Node: Where can I find grammars for lex and yacc?233870 Node: I get an end-of-buffer message for each character scanned.234217 Node: unnamed-faq-62234812 Node: unnamed-faq-63235830 Node: unnamed-faq-64237127 Node: unnamed-faq-65238093 Node: unnamed-faq-66238879 Node: unnamed-faq-67239994 Node: unnamed-faq-68240981 Node: unnamed-faq-69242123 Node: unnamed-faq-70242836 Node: unnamed-faq-71243597 Node: unnamed-faq-72244806 Node: unnamed-faq-73245849 Node: unnamed-faq-74246773 Node: unnamed-faq-75247718 Node: unnamed-faq-76248850 Node: unnamed-faq-77249556 Node: unnamed-faq-78250449 Node: unnamed-faq-79251447 Node: unnamed-faq-80253147 Node: unnamed-faq-81254465 Node: unnamed-faq-82257265 Node: unnamed-faq-83258222 Node: unnamed-faq-84260002 Node: unnamed-faq-85261105 Node: unnamed-faq-86262112 Node: unnamed-faq-87263050 Node: unnamed-faq-88263696 Node: unnamed-faq-90264527 Node: unnamed-faq-91265790 Node: unnamed-faq-92268218 Node: unnamed-faq-93268717 Node: unnamed-faq-94269644 Node: unnamed-faq-95271056 Node: unnamed-faq-96272574 Node: unnamed-faq-97273333 Node: unnamed-faq-98274000 Node: unnamed-faq-99274665 Node: unnamed-faq-100275594 Node: unnamed-faq-101276304 Node: What is the difference between YYLEX_PARAM and YY_DECL?277117 Node: Why do I get "conflicting types for yylex" error?277641 Node: How do I access the values set in a Flex action from within a Bison action?278171 Node: Appendices278600 Node: Makefiles and Flex278865 Ref: Makefiles and Flex-Footnote-1282067 Ref: Makefiles and Flex-Footnote-2282184 Ref: Makefiles and Flex-Footnote-3282371 Node: Bison Bridge282422 Ref: Bison Bridge-Footnote-1285089 Node: M4 Dependency285281 Ref: M4 Dependency-Footnote-1286695 Node: Common Patterns286831 Node: Numbers287154 Node: Identifiers288130 Node: Quoted Constructs288957 Node: Addresses290011 Node: Indices291323 Node: Concept Index291615 Node: Index of Functions and Macros318748 Node: Index of Variables323717 Node: Index of Data Types325383 Node: Index of Hooks326271 Node: Index of Scanner Options326839 @ 1.1.1.5 log @ 2016-12-30 Will Estes * NEWS: doc: update NEWS for 2.6.3 release 2016-11-26 Explorer09 * configure.ac, src/Makefile.am: build: New configure option '--disable-bootstrap'. If configure is run with '--disable-bootstrap', then stage1flex won't be built and stage1scan.c will be generated by sed'ing scan.c. This option is intended to workaround bootstrap bugs rather than to fix the bootstrapping issues which are proving subtler and harder to fix than anyone would like. 2016-11-26 Explorer09 * src/Makefile.am: build: "make clean" deletes stage1scan.c, stage1flex 2016-11-26 Explorer09 * configure.ac, src/Makefile.am: build: allow building libfl even with --disable-libfl. For various reasons, we may wish to build libfl explicitly even when configure has been run with the --disable-libfl option. This is possible, now, via 'make -C src libfl.la'. 2016-12-19 Alexis La Goutte * src/flex.skl: scanner: remove trailing whitespace in skeleton 2016-12-01 Demi Obenour * src/buf.c, src/main.c, src/parse.y: scanner: Disallow, overquote '[' and ']' in prefix 2016-12-29 Samuel Thibault * src/main.c: scanner: allocate correct buffer size for m4 path. Flex did not check the length of the m4 path which could lead to a buffer overflow in some cases. Additionally, not all platforms believe in PATH_MAX, so stop relying on it. Fixes #138 2016-11-24 Will Estes * NEWS: doc: note no more libcompat in NEWS 2016-11-24 Will Estes * lib/Makefile.am: build: explain empty lib/Makefile.am 2016-11-20 Explorer09 * configure.ac: build: warn about cross compiling with *alloc 2016-11-19 Explorer09 * configure.ac, lib/Makefile.am, lib/lib.c, src/Makefile.am: build: Link $(LIBOBJS) from src/ dir, remove libcompat.la. The libcompat.la library was small and less friendly to bootstrapping and cross compilation. Now, we will simply link individual object files as needed, which is simpler. 2016-11-16 Explorer09 * src/Makefile.am: build: Let stage1flex respect LFLAGS 2016-11-14 Will Estes * NEWS: doc: describe --disable-libfl in NEWS 2016-10-31 Explorer09 * configure.ac, src/Makefile.am: build: Add --disable-libfl configure option. Disabling libfl is useful when building flex for a cross-toolchain. Fixes: GH-99 2016-11-09 Demi Obenour * src/flex.skl, tests/array_r.l: fix backwards incompatible changes in 2.6.2. This patch addscompatibility `#defines` for all macros affected by `%prefix`. Fixes #113. 2016-11-08 Will Estes * tests/.gitignore: git: ignore quote_in_comment artifacts 2016-11-08 Demi Obenour * src/scan.l, tests/Makefile.am, tests/quote_in_comment.l, tests/quote_in_comment.txt: Fixes a major bug in Flex's own lexing of literals. My changes caused Flex to mishandle string and character literals in line comments. This commit fixes them. Fixes #113. 2016-11-06 Thomas Klausner * configure.ac: Fix unportable test(1) operator. "==" is only supported by bash, "=" is the standard comparison operator. 2016-11-02 Demi Obenour * tests/quotes.l: Add more escaping tests 2016-11-01 Demi Obenour * src/scan.l: Fix another escaping bug in non-indented verbatim section 2 code. I also did some reformatting. 2016-10-28 Alastair Hughes * configure.ac: build: fix false negatives for help2man and texi2dvi HELP2MAN and TEXI2DVI (or the corresponding ac_prog variables) will never be zero length as they fall back to the missing script; check for the fall back and warn on that instead of always warning. 2016-10-28 Explorer09 * doc/Makefile.am: doc: Don't delete flex.1 during "make distclean". flex.1 is pre-generated in release tarball. If we delete it, the next "configure and make" on the source directory will then require help2man unnecessarily. 2016-10-27 Alastair Hughes * NEWS, doc/Makefile.am: Only regenerate the man page when required. Make the flex binary an order-only prerequisite, and add back the prerequisites from before 7cfb440. This prevents rebuilding the man page whenever the flex binary is rebuilt, which causes problems if help2man is not installed and will never work when cross compiling. Fixes #108. 2016-10-26 Will Estes * NEWS, src/Makefile.am: build: no longer build PIC version of libfl. The PIC version of libfl was not being built correctly. From the lack of bug reports around this problem, we conclude that the PIC version of libfl is not used and so we drop it from the build build targets for flex. 2016-10-25 Explorer09 * README.md: doc: README.md formatting fixes * Wrap everything in the raw document in 72 char per line limit. * Proper casing for terms "Git" and "GitHub" (don't try to look lazy). * Add unordered list marks when needed. * Say `configure && make && make install` and quoted for fixed-width font. Signed-off-by: Kang-Che Sung 2016-10-25 Will Estes * NEWS, configure.ac: build: version 2.6.3 begins 2016-10-24 Will Estes * NEWS: doc: mark 2.6.2 release date 2016-10-24 Will Estes * .gitignore, NEWS, configure.ac: build: switch xz to lzip 2016-10-20 Demi Obenour * src/scan.l, tests/quotes.l: Fix M4 quotation in section 2 prologue and refactor duplicated code 2016-10-21 Alex Kennedy * doc/flex.texi: Update flex.texi: Removed repedative wording "Flex used to" was written twice at the beginning of Chapter 9, paragraph 2. 2016-09-27 Demi Obenour * src/dfa.c, src/gen.c, src/main.c, src/nfa.c, src/parse.y, src/scan.l, tests/bison_yylval_scanner.l, tests/include_by_push.direct.l: Improved M4 quotation This fixes M4 quotation of certain strings beginning with `yy` (in section 3 of the input file only) and character literals. The new quotation method is also less brittle and faster. Tests that relied on the old behavior were fixed. Also, `yyconst` is no longer defined; use `const` (which it unconditionally was defined to) instead. 2016-10-19 Will Estes * Makefile.am, configure.ac: build: for automake, flex is foreign 2016-10-19 Will Estes * README, README.md: doc: mv README to README.md 2016-10-19 Will Estes * README: doc: touch up README 2016-10-19 Will Estes * README: doc: README no longer mentions sourceforge 2016-10-06 Will Estes * NEWS: doc: update NEWS with more post-2.6.1 additions 2016-09-27 Demi Obenour * src/filter.c, src/flexdef.h, src/main.c, src/misc.c, src/options.c, src/options.h, src/scan.l, src/yylex.c, tests/Makefile.am, tests/alloc_extra.l, tests/array_r.l, tests/basic_r.l, tests/c_cxx_nr.lll, tests/c_cxx_r.lll, tests/debug_r.l, tests/include_by_reentrant.direct.l, tests/lineno_r.l, tests/mem_nr.l, tests/mem_r.l, tests/posix.l, tests/posixly_correct.l, tests/pthread.l, tests/quotes.l, tests/reject.l4, tests/rescan_nr.direct.l, tests/rescan_r.direct.l, tests/string_nr.l, tests/string_r.l: Fix M4 quoting of section 3. This fixes M4 quoting of section 3 of the input file, including escape sequences and character constants. Tests were added to verify the behavior in section 3 with respect to quoting. Both escaping of quotes and quoting of potential macro-start characters are tested. Existing tests were also fixed to account for the new -- and now correct -- behavior. Many tests relied on the old behavior of expanding M4 macros in section 3. They needed to be updated for the new behavior. 2016-10-03 Mightyjo * src/flex.skl, tests/.gitignore, tests/Makefile.am, tests/cxx_restart.ll, tests/cxx_restart.txt: Fix yyrestart(NULL) SEGV. 2016-09-05 Demi Obenour * src/scan.l: scanner: M4 quoting fixes 2016-09-05 Demi Obenour * src/Makefile.am: Support `make indent` for out of source builds 2016-09-24 Demi Obenour * src/Makefile.am, src/mkskel.sh: Simplify some shell code 2016-09-23 Demi Obenour * doc/flex.texi, src/flex.skl, src/flexdef.h, src/main.c, src/options.c, src/options.h, src/scan.l, tests/.gitignore, tests/Makefile.am, tests/noansi_nr.l, tests/noansi_nr.txt, tests/noansi_r.l, tests/noansi_r.txt: no longer generate K&R C scanners 2016-09-04 Demi Obenour * src/scan.l: Fix escaping of `[[` and `]]` in strings Previously, `[[` and `]]` were not escaped in strings, which led to bad interactions with m4. Also, don't break strings on newline, as GCC et al support whitespace between a backslash and the subsequent newline. 2016-06-20 Translation Project * NEWS, po/sv.po: new sv translation 2016-05-23 Demetri Obenour * src/misc.c: Delete action_m4_define from misc.c This function was not used and always triggered a fatal error when run. 2016-05-20 Will Estes * tests/Makefile.am, tests/testwrapper-direct.sh: test: run direct tests from srcdir 2016-01-11 Egor Pugin * tests/include_by_buffer.direct.l, tests/include_by_push.direct.l, tests/include_by_reentrant.direct.l: Exited with error code on some conditions in include tests 2016-05-20 Will Estes * tests/testwrapper.sh: test: drop .exe when making input file names 2016-05-20 Will Estes * tests/Makefile.am: test: removed dependencies for include tests 2016-04-28 Tobias Klauser * src/scanflags.c: Avoid realloc on every call of sf_push() Currently, every call to sf_push() realloc()'s _sf_stack, even if the maximum size _sf_max wasn't changed. As the indentation beneath the "if" clause already indicates, the realloc() should only be executed if _sf_max was increased. Found by compiling flex with the -Wmisleading-indentation flags of gcc, which leads to the following warning: scanflags.c: In function ‘sf_push’: scanflags.c:42:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (_sf_top_ix + 1 >= _sf_max) ^~ scanflags.c:44:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ _sf_stk = realloc(_sf_stk, sizeof(scanflags_t) * _sf_max); ^~~~~~~ 2016-03-31 Will Estes * doc/Makefile.am: build: prettified command to build man page 2016-03-31 Will Estes * doc/Makefile.am: build: added man page to DISTCLEANFILES 2016-03-31 Will Estes * BUGS, TODO: remove unused TODO, BUGS files 2016-03-31 Will Estes * to.do/README, to.do/Wilhelms.todo, to.do/Wish-List, to.do/flex.rmail, to.do/streams.mail, to.do/unicode/FlexLexer.h, to.do/unicode/ccl.c, to.do/unicode/changes.txt, to.do/unicode/ecs.c, to.do/unicode/flex.1, to.do/unicode/flex.skl, to.do/unicode/flexdef.h, to.do/unicode/gen.c, to.do/unicode/main.c, to.do/unicode/misc.c, to.do/unicode/scan.l, to.do/unicode/tblcmp.c: removed to.do/ directory 2016-03-31 Will Estes * po/POTFILES.in: gettext: removed flex.skl from POTFILES.in file list 2016-03-31 rlar * src/Makefile.am: fix skel.c dependency (missing tables_shared.c) and polish build rule Also remove references to srcdir since skel.c is no longer mentioned in po/POTFILES.in. 2016-03-31 rlar * doc/Makefile.am: fix flex.1 dependency git clean -fdx && ./autogen.sh && \ mkdir -p ../build && cd ../build && ../flex/configure && make -j10 && \ make dist failed with: > help2man: can't get `--help' info from ../../flex/src/flex Note: There is no dependency except for the flex binary. 2016-03-31 rlar * src/Makefile.am: fix stage1scan.c and stage1scan.l dependency git clean -fdx && ./autogen.sh && \ mkdir -p ../build && cd ../build && ../flex/configure && make -j10 failed with: > ../src/stage1flex -o stage1scan.c stage1scan.l > stage1flex: can't open stage1scan.l Note: stage1scan.c is not necessairy in the "make dist" generated tar.gz file. stage1flex will be build from scan.c (which is distributed), and this will then generate stage1scan.c from scan.l 2016-03-31 Will Estes * po/POTFILES.in: gettext: list src/flex.skl in po/POTFILES.in 2016-03-29 rlar * src/gen.c: warning in generated code, with -Ca warning: conversion to 'yy_state_type' from 'flex_uint32_t' may change the sign of the result [-Wsign-conversion] 2016-03-29 rlar * tests/Makefile.am: suppress `WARNINGFLAGS' for the almost obsolete `noansi' test cases 2016-03-29 rlar * configure.ac, src/Makefile.am, tests/Makefile.am: configure option `--enable-warnings' and `WARNINGFLAGS' `WARNINGFLAGS' can be passed when invoking `configure' and when invoking `make' if configure switch `--enable-warnings' was given then default to something useful if we have `GCC' `WARNINGFLAGS' is not used when compiling `stage1flex' to avoid unnecessary clutter 2016-03-31 Tobias Klauser * src/main.c: Fix potential buffer overflow in strncat() When using clang/llvm 3.8 to compile flex, the following warning is emitted: main.c:378:27: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(m4_path, m4, sizeof(m4_path)); ^~~~~~~~~~~~~~~ main.c:378:27: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(m4_path, m4, sizeof(m4_path)); ^~~~~~~~~~~~~~~ sizeof(m4_path) - strlen(m4_path) - 1Fix it up by using the solution proposed by the warning message. 2016-03-29 Robert.Larice Robert Larice * src/Makefile.am: build: simplified dependency tracking so parallel make runs succeed 2016-03-20 rlar * src/flex.skl, src/gen.c, src/main.c: avoid warning in generated code, with -Cf warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2016-03-18 Will Estes * NEWS, configure.ac: mention v2.6.2; summarize changes since 2.6.1 2016-03-18 Will Estes * doc/flex.texi: doc: corrected example in manual, gh#67 2016-03-16 rlar * tests/string_nr.l, tests/string_r.l, tests/yyextra.l: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion] 2016-03-16 rlar * tests/mem_nr.l, tests/mem_r.l, tests/pthread.l: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 2016-03-16 rlar * src/flex.skl: warning: conversion to 'flex_uint32_t' from 'long unsigned int' may alter its value [-Wconversion] struct yytbl_reader, member bread is of type flex_uint32_t 2016-03-16 rlar * tests/alloc_extra.l, tests/bison_nr_main.c, tests/bison_nr_parser.y, tests/bison_yylloc_parser.y: warning: redundant redeclaration of '...' [-Wredundant-decls] 2016-03-16 rlar * tests/bison_nr_parser.y, tests/bison_yylloc_parser.y, tests/bison_yylval_parser.y, tests/pthread.l: warning: no previous prototype for '...' [-Wmissing-prototypes] 2016-03-16 rlar * tests/multiple_scanners_r_main.c: warning: unused variable 'fp' [-Wunused-variable] 2016-03-16 rlar * tests/pthread.l: main(), warning: redundant redeclaration of 'main' [-Wredundant-decls] 2016-03-16 rlar * tests/include_by_reentrant.direct.l, tests/lineno_nr.l, tests/lineno_r.l, tests/lineno_trailing.l: main(), warning: old-style function definition [-Wold-style-definition] 2016-03-16 rlar * tests/alloc_extra.l, tests/array_nr.l, tests/array_r.l, tests/basic_nr.l, tests/basic_r.l, tests/ccl.l, tests/debug_nr.l, tests/debug_r.l, tests/extended.l, tests/mem_nr.l, tests/mem_r.l, tests/noansi_r.l, tests/posix.l, tests/posixly_correct.l, tests/prefix_nr.l, tests/prefix_r.l, tests/quotes.l, tests/string_nr.l, tests/string_r.l, tests/yyextra.l: main(), warning: old-style function definition [-Wold-style-definition] 2016-03-01 rlar * src/ecs.c, src/tblcmp.c: Fix two more casts 2016-03-14 Bastian Köcher * src/gen.c: Fixes yyl compare with unsigned warning 2016-03-13 Robert Larice * configure.ac: Suppress portability warnings in Makefile generation 2016-02-27 rlar * src/flex.skl: generated code, in yyensure_buffer_stack(), change type of local `num_to_alloc' which is exclusively used in yy_size_t context 2016-03-01 rlar * src/flex.skl: generated code, in yy_get_next_buffer(), change type of local `number_to_move' suits better, because `yy_n_chars' and `yy_buf_size' are of type `int' 2016-02-27 rlar * src/flex.skl: generated code, `_yybytes_len' is of type `int', fix code accordingly 2016-02-28 rlar * src/gen.c: generated code, `max_size' seems to be of type `int', fix casts accordingly 2016-02-28 rlar * src/flex.skl: generated code, here `new_size' is of type `int', fix casts accordingly 2016-02-28 rlar * src/flex.skl: generated code, `yy_buf_size' is of type `int', fix casts accordingly 2016-02-28 rlar * src/flex.skl: generated code, `offset' is of type `int' 2016-02-28 rlar * src/gen.c: generated code, `yy_more_len' is of type `int' 2016-02-28 rlar * src/scan.l: scan.l, rewrite two loops to avoid unneccesairy casting 2016-03-01 rlar * src/regex.c, src/tables.c: improve readability 2016-02-28 rlar * src/tblcmp.c: another cast in tblcmp.c to avoid warning 2016-02-28 rlar * src/buf.c: casts in buf_append() to get rid of warnings 2016-02-28 rlar * src/dfa.c, src/gen.c: cast to suite type of flex_uint32_t td_lolen 2016-02-28 rlar * src/main.c, src/misc.c, src/regex.c, src/scan.l, src/scanopt.c, src/tables_shared.c: cast to get rid of warnings 2016-03-01 rlar * src/buf.c, src/main.c: cast and fix usage of log10(), ceil to prevent buffer overflow 2016-03-01 rlar * src/tables.c: tables.c, sprinkle casts to get rid of warnings 2016-03-01 rlar * src/tables.c: yytbl_data_compress(), change type of local newsz to get rid of warnings 2016-03-01 rlar * src/tables.c, src/tables.h: change type of struct yytbl_writer.total_written to get rid of warnings 2016-02-28 rlar * src/tables.c: change argument type of yytbl_writen() to get rid of warnings 2016-03-01 rlar * src/tables.c: yytbl_write8/16/32(), change type of local variables to get rid of warnings 2016-02-28 rlar * src/flexdef.h, src/misc.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c: change return type and rename int htoi()/otoi() --> unsigned int htoui()/otoui() 2016-03-01 Will Estes * NEWS: Mention 2.6.1 release date 2016-02-28 rlar * src/gen.c: avoid warning, add (int) cast to the read() return value For similiarity with the fread() case. 2016-02-28 rlar * src/scan.l: avoid warning, POSIX says yyless() has an `int' argument 2016-02-29 rlar * src/filter.c: use type size_t in filter_tee_header() to avoid warnings 2016-02-29 rlar * src/filter.c, src/misc.c, src/scanopt.c, src/tables.c: add (size_t) casts to malloc invocations to prevent warnings 2016-02-29 rlar * src/buf.c, src/misc.c, src/scan.l, src/scanopt.c, src/tables.c: add (int) casts to some strlen() invocations to prevent warnings 2016-02-29 rlar * src/flexdef.h, src/scan.l, src/sym.c: ndlookup(), char *, to get rid of casts and warnings 2016-02-28 rlar * src/flexdef.h, src/scan.l, src/sym.c: ndinstal(), char *, to get rid of casts and warnings 2016-02-28 rlar * src/flexdef.h, src/scan.l, src/sym.c: cclinstal() and ccllookup(), char *, to get rid of casts and warnings 2016-02-28 rlar * src/gen.c: warning: redundant redeclaration of ‘gen_next_state’ [-Wredundant-decls] 2016-02-28 rlar * src/gen.c: warning: no previous prototype for ‘mkecstbl’ [-Wmissing-prototypes] 2016-02-28 rlar * src/main.c: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2016-02-28 rlar * src/flexdef.h: warning: redundant redeclaration of ‘yywrap’ [-Wredundant-decls] 2016-02-28 rlar * src/flexdef.h: warning: redundant redeclaration of ‘yylval’ [-Wredundant-decls] 2016-02-28 rlar * src/flexdef.h: warning: redundant redeclaration of ‘yyin’ [-Wredundant-decls] 2016-02-28 rlar * src/flexdef.h, src/main.c: warning: redundant redeclaration of ‘yyparse’ [-Wredundant-decls] 2016-02-28 rlar * src/parse.y, src/scan.l, src/yylex.c, to.do/unicode/scan.l: unification, rename some more rename these too for improved similiarity: OPTION_OP OPT_HEADER OPT_EXTRA_TYPE OPT_TABLES 2016-02-28 rlar * src/parse.y, src/scan.l, src/yylex.c, to.do/unicode/scan.l: fix name clash, OPT_OUTFILE from parse.y and from options.h these collide: OPT_OUTFILE OPT_PREFIX OPT_YYCLASS rename them TOK_... in the parser 2016-02-28 Will Estes * lib/reallocarray.c: Prototyped reallocarray implementation 2016-02-28 Will Estes * src/scanopt.c: Removed custom strcasecmp() function 2016-02-28 rlar * src/flex.skl: fwrite wants a size_t, yyleng is int per posix 2016-02-28 rlar * src/scanopt.c: Remove some unneeded casts 2016-02-28 rlar * src/flexdef.h: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] 2016-02-27 rlar * src/dfa.c, src/parse.y: dfa.c:157:24: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion] most certainly safe cast 2016-02-27 rlar * src/ccl.c: ccl.c:86:19: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ch seems to have been checked for proper range some lines above 2016-02-27 rlar * tests/bison_nr_parser.y: warning: deprecated directive, use '%pure-parser' [-Wdeprecated] 2016-02-27 rlar * lib/lib.c: warning: no previous prototype for 'do_nothing' [-Wmissing-prototypes] 2016-02-27 rlar * src/libmain.c: included stdlib.h header 2016-02-27 Will Estes * NEWS: Described more post v2.6.0 changes 2016-02-27 Will Estes * configure.ac: build: Removed bzip2 distribiution archive 2016-02-27 Will Estes * configure.ac: removed obsolete program check 2016-02-27 Will Estes * configure.ac: Made some program checks more robust 2016-02-27 rlar * src/flex.skl: Remove unneeded cast to int 2016-02-27 Will Estes * src/flex.skl: Fixed incorrect integer type 2016-02-27 Will Estes * src/flex.skl: Fix more integer types, resolves sf 184, 187 2016-02-26 Robert Larice * src/flex.skl, src/gen.c: Removed some type conversion warnings 2016-02-26 Will Estes * src/flex.skl: Changed another buffer size to int; resolves gh#61 2016-02-24 Will Estes * src/flex.skl: Changed type of yy_n_chars to int; gh#53, sf#160. The variable yy_n_chars had been of type yy_size_t which is incorrect given its use in read(). While it might be adviseable to look at defining a yy_ssize_t, there might be some issues doing this and so, for now, at least, we'll punt back to int. 2016-02-24 Will Estes * src/buf.c: Fixed size of bufferallocation, resolved gh#54. The value of n_alloc was a count, not a size. Multiplying the value by the element size was incorrect. That multiplication was already being done and having it done twice was incorrect. 2016-02-23 Tobias Klauser * src/scan.l: Allow '%option noline' in flex input file, resolves gh#56. Allow specifying '%option noline' in the input file, leading to the same effect as calling flex with the command line option --noline. Signed-off-by: Tobias Klauser 2016-02-23 Tobias Klauser * src/buf.c, src/main.c: Emit no #line directives if gen_line_dirs is false, resolves igh#55. There are two instances in the code which will print a #line directive to the resulting lexer, regardless of the value of gen_line_dirs. Fix them, so they also respect gen_line_dirs. Signed-off-by: Tobias Klauser 2016-02-16 Tobias Klauser * lib/lib.c, src/gen.c, src/misc.c, src/scan.l: Converted K&R style function definitions to ANSI C style Consistently make use of the ANSI C function definition style instead of the K&R style. 2016-01-29 Tobias Klauser * src/flex.skl: Used NULL constant instead of plain integer for NULL pointer. The sparse static checker warns about using plain integer 0 as NULL pointers in the generated lexer code. Fix this by using NULL consistently for pointers. 2016-01-29 Tobias Klauser * src/flex.skl: Marked declaration and definition of yy_fatal_error as noreturn. Only the declaration of yy_fatal_error is marked with __attribute__((__noreturn__)) in case GCC >= 3 is used, but not the definition. This leads to the sparse static checker to complain about function declaration mismatch. Fix it by defining a macro yynoreturn and using it for both the declaration and the definition of yy_fatal_error. 2016-01-27 Tobias Klauser * src/flex.skl: Fixed declaration mismatch in yy_fatal_error. The prototype declares yy_fatal_error parameter as "const char msg[]" while the definition uses "const char* msg" (introduced by commit e9d5fc713f61b) which causes the sparse static checkers to produce an error. Fix this by adjusting the definition to use "const char* msg" as well. Also change the C++ version accordingly so it matches the declaration in FlexLexer.hpp. 2016-01-23 Will Estes * CODE_OF_CONDUCT.md: flex is for flex #NCoC 2016-01-18 Will Estes * doc/flex.texi: Referred to github for issue tracking, no longer sf 2016-01-10 Egor Pugin * tests/reject.l4, tests/tableopts.l4: Opened files in binary mode explicitly 2016-01-08 OBATA Akio * src/Makefile.am: Linked flex binary against libintl, not libfl. Signed-off-by: Thomas Klausner 2016-01-08 Michael van Elst * src/filter.c: Improved pipe-stdin hack behavior; resolves sf#198. Signed-off-by: Thomas 2015-12-27 Will Estes * configure.ac, src/flexdef.h: Removed no longer needed header checks 2015-12-27 Will Estes * configure.ac: Checked for reallocarray() with AC_REPLACE_FUNCS 2015-12-27 Will Estes * src/flexdef.h, src/main.c: include libgen.h from flexdef.h, not main.c 2015-12-25 Michael Reed * src/main.c: Replace basename2() with basename(3). Given the following program: \#include \#include /* extracts basename from path, optionally stripping the extension "\.*" * (same concept as /bin/sh `basename`, but different handling of extension). */ static char *basename2 (char *path) { char *b; for (b = path; *path; path++) if (*path == '/') b = path + 1; return b; } static void basename_compare(char *path) { printf("basename: %s\n", basename(path)); printf("basename2: %s\n\n", basename2(path)); } int main (int argc, char *argv[]) { // From http://pubs.opengroup.org/onlinepubs/9699919799/ // ``Sample Input and Output Strings'' basename_compare("/usr/lib"); basename_compare("/usr/"); basename_compare("/"); basename_compare("///"); basename_compare("//usr//lib//"); return 0; } ... and the program's output: basename: lib basename2: lib basename: usr basename2: basename: / basename2: basename: / basename2: basename: lib basename2: ... we can see that basename2() behaves the same as basename(3) in the average use case, but messes up pretty severely in others. Besides that, basename(3) is mandated by POSIX so should be present on modern Unix-like systems, so we shouldn't define it ourselves. Some notes: - it doesn't appear to be mentioned in POSIX, but OpenBSD's basename(3) returns NULL if the returned path componenet is > PATH_MAX, so add a check for that - basename(3) shouldn't return an empty string, so remove the program_name[0] != '\0' check 2015-12-25 Michael Reed * src/main.c: Simplify basename2(). It's only call site does not activate the `strip_ext` code path, so the function can be simplified a lot. While here, remove a double assignment. 2015-12-25 Michael Reed * src/flex.skl, src/misc.c: Cleaned up __STDC__ #ifdefs. Assuming a compiler conforming to the ISO C standard is used, i.e., __STDC__ is defined to 1, YY_USE_CONST is always defined and can be eliminated. 2015-12-25 Michael Reed * src/flexdef.h, src/main.c, src/scanopt.c, src/scanopt.h, src/sym.c: Remove remaining use of PROTO 2015-12-21 Serguey Parkhomovsky * src/buf.c: buf.c: use snprintf 2015-12-19 Will Estes * configure.ac: build: reformatted AC_CHECK_FUNCS for readability 2015-12-17 Will Estes * src/scanopt.c: correct function prototype 2015-12-15 Michael Reed * src/main.c, src/scanopt.c, src/sym.c, src/tblcmp.c: Remove more instances of PROTO 2015-12-15 Michael Reed * src/main.c: Removed prototype for main(). It's not called anywhere else so the prototype is not needed. See the C99 standard [1], section 5.1.2.2.1 for more info. [1]: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf 2015-12-13 Michael McConville * src/dfa.c, src/gen.c, src/nfa.c, to.do/unicode/main.c, to.do/unicode/tblcmp.c: Removed more instances of PROTO, ansifying. 2015-12-13 Will Estes * README: Noted github for issue tracking and pull requests 2015-12-13 Michael McConville * README: Reformatted README; removed sf bug tracking link. 2015-12-13 Michael McConville * src/gen.c, to.do/unicode/gen.c: Removed macros for indentation level. Just increment or decrement the indentation counter. That's less to remember and makes the code more readable. w# Please enter the commit message for your changes. Lines starting 2015-12-12 Mike Frysinger * tests/Makefile.am, tests/testwrapper.sh: tests: fixed paths to input files. The current test wrapper works only when the inputs are specified using relative paths. If they're specified with absolute paths, the driver fails to detect the inputs because it always prepends the input dir name which itself is a relative path: $ cd tests $ ./testwrapper.sh -d . -i $PWD/reject.txt -t ./reject_ver.table This normally doesn't show up because people run `./configure` or, for out of tree builds, `../configure`. But if you happen to run configure with an absolute path, then automake tends to generate absolute paths as well leading to test failures. Fix all of this by dropping the implicit input directory prepending. - INPUT_NAME is often a list of files, not just a single one - the input directory is used to find the testname tables which are usually generated, so it's impossible to use files from both source and build directories - most of the time, the full/correct path is already specified 2015-12-12 Mike Frysinger * configure.ac: configure: fixed realloc test. The [] characters are used for quoting in m4, so the attempt to use them in place of `test` fails yielding the warning at build time: .../flex/configure: line 20222: no: command not found 2015-12-12 Michael McConville * src/flexdef.h: Started removal of PROTO macro. The PROTO macro is no longer needed. Additionally, its usage is inconsistent, so we began removing it. 2015-12-12 Michael Reed * Makefile.am, src/main.c: Removed SHORT_FILE_NAMES preprocessor symbol. As a relic of MS-DOS, we don't need this. It's never defined; see 13b5b214f53d1c3354a7ab910bd160c126df1331. Removed additional MSDOS ifdef. 2015-12-11 Michael McConville * configure.ac, lib/reallocarray.c, src/flexdef.h: Added new function reallocarray. This is taken from OpenSSH Portable, which in turn takes it from OpenBSD. reallocarray wraps the stdlib's realloc function. It takes two size arguments and checks for overflow, like calloc, but doesn't zero the memory. Therefore, it allows us to do overflow-safe array reallocations and overflow-safe unzeroed array allocations, which the stdlib allocation functions don't. We have a bunch of specific array allocation macros, none of which check for overflow. reallocarray should be able to replace them. 2015-12-11 Michael McConville * src/flexdef.h: Removed MS-DOS, VMS macros. Given the age of the MS-DOS and VMS platforms, it's likely that no one is building flex on them any more. Additionally, the preferred approach is to test for particular platform features rather than to test for particular platforms. 2015-12-12 Will Estes * src/flexdef.h, src/main.c: Made search for m4 more explicit. 2015-12-12 Will Estes * src/flex.skl: Returned 0 from yywrap() instead of EOF 2015-12-11 Will Estes * src/libmain.c: Changed end of main() in libmain to exit(0) 2015-12-11 Will Estes * NEWS, configure.ac: Mentioned v2.6.1; documented some changes since v2.6.0 2015-12-11 Will Estes * README: Updated build documentation; finished sf#155. Removed version numbers for build tools. Noted that version requirements for build tools will be noted in configure.ac. Expanded documentation of building texinfo based docs. 2015-12-11 Will Estes * doc/Makefile.am: Removed flex.pdf from distribution; partially fixed sf#155 2015-12-11 Will Estes * src/flex.skl: Commented in C style in skeleton; fixed sf#195 2015-12-10 Will Estes * .gitignore: Ignored autoscan files 2015-12-09 Will Estes * configure.ac: Checked for ranlib and strdup() at configure time 2015-12-09 Michael McConville * src/flexdef.h, src/misc.c, src/tblcmp.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c, to.do/unicode/tblcmp.c: Replace zero_out() with stdlib's memset. 2015-12-09 Michael McConville * src/flex.skl: Removed memory allocation casts. 2015-12-09 Michael McConville * src/flexdef.h: Removed alloca() configuration. Since alloca() is dangerous, depricated, we remove it. 2015-12-09 Michael McConville * src/flexdef.h: Removed implementation of isascii(). POSIX defines isascii(), so it's likely present on anything weactually build flex on these days. 2015-12-09 Michael McConville * src/main.c, src/scanopt.c, src/tables.c: Removed NULL-checks before free() 2015-12-08 Michael McConville * src/buf.c, src/dfa.c, src/flexdef.h, src/gen.c, src/scan.l, to.do/unicode/flexdef.h, to.do/unicode/scan.l: Removed flex_free()i, corrected buf_destroy logic. As with flex_alloc(), replace with direct calls to free(). The function buf_destroy is now null safe and the logic was corrected to free() correctly. 2015-12-08 Michael McConville * src/filter.c, src/flexdef.h, src/misc.c, src/scan.l, src/scanflags.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c, to.do/unicode/scan.l: Removed flex_realloc(). As with flex_alloc(), replace calls to flex_realloc(), which was just a wrapper around realloc(). 2015-12-08 Michael McConville * src/buf.c, src/filter.c, src/flexdef.h, src/main.c, src/misc.c, src/regex.c, src/scan.l, src/scanflags.c, src/sym.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c, to.do/unicode/scan.l: Removed flex_alloc; cleaned up style. The function flex_alloc() was just a wrapper around malloc(). Since this only added unclarity, and the flex_alloc() function is likely a legacy of olden times, remove it in favor of calls to malloc() directly. Style elements cleaned up: * superfluous spacing around parentheses * non-constant initialization in variable declarations * needless casts * almost all uses of assignments as subexpressions 2015-12-07 Michael McConville * src/dfa.c, src/flexdef.h, src/gen.c, src/main.c, src/scan.l, src/scanopt.c, tests/bison_nr_scanner.l, tests/bison_yylloc_scanner.l, tests/bison_yylval_scanner.l, tests/mem_nr.l, tests/mem_r.l, tests/pthread.l, tests/string_nr.l, tests/string_r.l, tests/yyextra.l, to.do/unicode/scan.l: Remove allocation casts 2015-12-07 Will Estes * src/.gitignore, src/Makefile.am: Built flex with itself. Changes in scan.l need to be built into flex with the same version of flex in some cases. Since this build requirement is minimal, we simply bootstrap flex unconditionally. We intentionally exclude from version control the bootstrap artifacts as the extra copy of the lexer, the intermediate scanner and the bootstrap executable are not of interest. 2015-12-05 Michael McConville * src/buf.c, src/dfa.c, src/main.c, src/nfa.c, src/parse.y, src/scan.l, src/scanopt.c, src/sym.c, to.do/unicode/main.c, to.do/unicode/scan.l: Use NULL rather than (type *) 0. 2015-12-05 Michael McConville * src/flexdef.h, src/misc.c, src/sym.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c: Replace copy_unsigned_string() with xstrdup(). Like copy_string(), copy_unsigned_string() is just a clone of the stlib's strdup(). We only use it twice. I'm pretty confident that char signedness is irrelevant in this case. 2015-12-04 Akim Demaille * src/FlexLexer.h: Cleaned up white space. 2015-12-04 Akim Demaille * src/FlexLexer.h: Removed struct keyword before yy_buffer_state 2015-12-04 Akim Demaille * examples/testxxLexer.l, src/FlexLexer.h, src/flex.skl, src/main.c: Replaced FLEX_STD macro with std::. The std:: construct exists as of C++98, so we can simply assume it is supported. 2015-12-04 Akim Demaille * src/Makefile.am: Generated skel.c explicitly in srcdir. Rewrote the target for skel.c to explicitly mention the srcdir. This should help when building flex from a directory outside the flex tree. Spread the rule out over several lines to enhance readability. 2015-12-04 Akim Demaille * autogen.sh: Called glibtoolize if libtoolize run fails. On Mac OS X, libtoolize is known as glibtoolize. In cases where libtoolize is not present, then calling glibtoolize when bootstrapping the build system gives more folks a shot at getting flex built from the ground up. 2015-12-02 Mightyjo * configure.ac: Checked for (g)texi2dvi. Better bison, help2man checks. Added test for presence of (g)texi2dvi program. Gave notice if texi2dvi is unavailable and set TEXI2DVI=: to avoid giving users headaches. Enhanced tests for bison and help2man with notices when the programs aren't found. Set their program variables to use the missing script in build-aux since it's compatible with them. 2015-12-02 Michael McConville * src/flexdef.h, src/misc.c, src/parse.y, src/scan.l, src/sym.c, src/tables.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c, to.do/unicode/scan.l: Made string copying more standard. copy_string() was a clone of the stdlib's strdup(). For safety, simplicity, and speed, we should use that instead. We introduce xstrdup() which wraps strdup() in a failure upon memory allocation errors. 2015-11-30 Serguey Parkhomovsky * src/scan.l: Error on unbalanced parentheses in rules section. 2015-11-29 Will Estes * src/Makefile.am: Cleaned up BUILT_SOURCES list. Removed reference to skel.c as a built source since other make rules cover this case. 2015-11-29 Will Estes * src/Makefile.am: Sorted file names in flex_SOURCES 2015-11-27 Mightyjo * src/ecs.c, src/flexdef.h, src/main.c, src/misc.c, src/scan.l, src/scanopt.c, src/sym.c, src/tblcmp.c: Replaced CHAR macro with unsigned char type. Thanks to Michael McConville for pointing out that the old Char macro causes problems with static analysis. The macro has been removed and replaced with 'unsigned char' throughout the flex sources. The macro is not needed at best and was confusing at worst. It was not used in any of the example files nor was it mentioned in the manual at all. 2015-11-21 Will Estes * configure.ac: updated syntax of AC_INIT call as per autoupdate 2015-11-21 Will Estes * tests/Makefile.am: removed extra call to a _CPPFLAGS variable 2015-05-14 Stefan Reinauer * src/buf.c, src/ccl.c, src/dfa.c, src/ecs.c, src/gen.c, src/main.c, src/misc.c, src/nfa.c, src/parse.y, src/scan.l, src/scanopt.c, src/sym.c, src/tblcmp.c: Switch function definitions from mixed K&R to consistent ANSI C. flex was using K&R function definitions for some functions and ANSI C style in others, sometimes even in the same file. Change the code to consistently use ANSI C. Signed-off-by: Stefan Reinauer 2015-11-16 Mightyjo * tests/Makefile.am: Used in-tree header file for c++ tests. @ text @d1 1 a1 1 This is flex.info, produced by makeinfo version 6.1 from flex.texi. d46 1 a46 1 flex.info-2: 318748 d51 229 a279 229 Node: Copyright9419 Node: Reporting Bugs10938 Node: Introduction11194 Node: Simple Examples12023 Node: Format15309 Node: Definitions Section15764 Ref: Definitions Section-Footnote-118022 Node: Rules Section18090 Node: User Code Section19248 Node: Comments in the Input19686 Node: Patterns21056 Ref: case and character ranges27888 Node: Matching31891 Node: Actions35176 Node: Generated Scanner44138 Node: Start Conditions49141 Node: Multiple Input Buffers59683 Ref: Scanning Strings66224 Node: EOF67853 Node: Misc Macros69439 Node: User Values72293 Node: Yacc74618 Node: Scanner Options75513 Node: Options for Specifying Filenames78302 Ref: option-header78528 Ref: option-outfile79242 Ref: option-stdout79567 Node: Options Affecting Scanner Behavior80550 Ref: option-case-insensitive80791 Ref: option-lex-compat81224 Ref: option-batch81756 Ref: option-interactive82275 Ref: option-7bit83629 Ref: option-8bit84933 Ref: option-default85345 Ref: option-always-interactive85409 Ref: option-posix86013 Ref: option-stack87160 Ref: option-stdinit87268 Ref: option-yylineno87747 Ref: option-yywrap88190 Node: Code-Level And API Options88457 Ref: option-ansi-definitions88684 Ref: option-ansi-prototypes88759 Ref: option-bison-bridge88832 Ref: option-bison-locations89173 Ref: option-noline89433 Ref: option-reentrant89947 Ref: option-c++90559 Ref: option-array90685 Ref: option-pointer90783 Ref: option-prefix90910 Ref: option-main92438 Ref: option-nounistd92622 Ref: option-yyclass93133 Node: Options for Scanner Speed and Size93617 Ref: option-align94167 Ref: option-ecs94669 Ref: option-meta-ecs95708 Ref: option-read96196 Ref: option-full98079 Ref: option-fast98274 Node: Debugging Options99198 Ref: option-backup99385 Ref: option-debug99930 Ref: option-perf-report100652 Ref: option-nodefault101278 Ref: option-trace101596 Ref: option-nowarn101887 Ref: option-verbose101955 Ref: option-warn102384 Node: Miscellaneous Options102603 Node: Performance103059 Node: Cxx113306 Node: Reentrant121398 Node: Reentrant Uses122132 Node: Reentrant Overview123694 Node: Reentrant Example124494 Node: Reentrant Detail125267 Node: Specify Reentrant125771 Node: Extra Reentrant Argument126421 Node: Global Replacement127673 Node: Init and Destroy Functions128908 Node: Accessor Methods131429 Node: Extra Data132776 Node: About yyscan_t135043 Node: Reentrant Functions135440 Ref: bison-functions136924 Node: Lex and Posix137663 Node: Memory Management145010 Ref: memory-management145156 Node: The Default Memory Management145390 Ref: The Default Memory Management-Footnote-1149210 Node: Overriding The Default Memory Management149363 Ref: Overriding The Default Memory Management-Footnote-1151777 Node: A Note About yytext And Memory151941 Node: Serialized Tables153181 Ref: serialization153325 Node: Creating Serialized Tables154105 Node: Loading and Unloading Serialized Tables155720 Node: Tables File Format157493 Node: Diagnostics164518 Node: Limitations167927 Node: Bibliography169875 Node: FAQ170545 Node: When was flex born?175708 Node: How do I expand backslash-escape sequences in C-style quoted strings?176085 Node: Why do flex scanners call fileno if it is not ANSI compatible?177388 Node: Does flex support recursive pattern definitions?178185 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179032 Node: Flex is not matching my patterns in the same order that I defined them.179499 Node: My actions are executing out of order or sometimes not at all.181245 Node: How can I have multiple input sources feed into the same scanner at the same time?182018 Node: Can I build nested parsers that work with the same input file?184003 Node: How can I match text only at the end of a file?185010 Node: How can I make REJECT cascade across start condition boundaries?185814 Node: Why cant I use fast or full tables with interactive mode?186828 Node: How much faster is -F or -f than -C?188085 Node: If I have a simple grammar cant I just parse it with flex?188397 Node: Why doesn't yyrestart() set the start state back to INITIAL?188879 Node: How can I match C-style comments?189506 Node: The period isn't working the way I expected.190316 Node: Can I get the flex manual in another format?191561 Node: Does there exist a "faster" NDFA->DFA algorithm?192051 Node: How does flex compile the DFA so quickly?192561 Node: How can I use more than 8192 rules?193527 Node: How do I abandon a file in the middle of a scan and switch to a new file?194937 Node: How do I execute code only during initialization (only before the first scan)?195491 Node: How do I execute code at termination?196268 Node: Where else can I find help?196594 Node: Can I include comments in the "rules" section of the file?196968 Node: I get an error about undefined yywrap().197348 Node: How can I change the matching pattern at run time?197824 Node: How can I expand macros in the input?198186 Node: How can I build a two-pass scanner?199218 Node: How do I match any string not matched in the preceding rules?200136 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201045 Node: Is there a way to make flex treat NULL like a regular character?201840 Node: Whenever flex can not match the input it says "flex scanner jammed".202360 Node: Why doesn't flex have non-greedy operators like perl does?203003 Node: Memory leak - 16386 bytes allocated by malloc.204356 Ref: faq-memory-leak204654 Node: How do I track the byte offset for lseek()?205625 Node: How do I use my own I/O classes in a C++ scanner?207134 Node: How do I skip as many chars as possible?207977 Node: deleteme00209052 Node: Are certain equivalent patterns faster than others?209492 Node: Is backing up a big deal?212910 Node: Can I fake multi-byte character support?214816 Node: deleteme01216257 Node: Can you discuss some flex internals?217366 Node: unput() messes up yy_at_bol219610 Node: The | operator is not doing what I want220712 Node: Why can't flex understand this variable trailing context pattern?222258 Node: The ^ operator isn't working223507 Node: Trailing context is getting confused with trailing optional patterns224742 Node: Is flex GNU or not?225985 Node: ERASEME53227658 Node: I need to scan if-then-else blocks and while loops228428 Node: ERASEME55229627 Node: ERASEME56230725 Node: ERASEME57232083 Node: Is there a repository for flex scanners?233081 Node: How can I conditionally compile or preprocess my flex input file?233397 Node: Where can I find grammars for lex and yacc?233870 Node: I get an end-of-buffer message for each character scanned.234217 Node: unnamed-faq-62234812 Node: unnamed-faq-63235830 Node: unnamed-faq-64237127 Node: unnamed-faq-65238093 Node: unnamed-faq-66238879 Node: unnamed-faq-67239994 Node: unnamed-faq-68240981 Node: unnamed-faq-69242123 Node: unnamed-faq-70242836 Node: unnamed-faq-71243597 Node: unnamed-faq-72244806 Node: unnamed-faq-73245849 Node: unnamed-faq-74246773 Node: unnamed-faq-75247718 Node: unnamed-faq-76248850 Node: unnamed-faq-77249556 Node: unnamed-faq-78250449 Node: unnamed-faq-79251447 Node: unnamed-faq-80253147 Node: unnamed-faq-81254465 Node: unnamed-faq-82257265 Node: unnamed-faq-83258222 Node: unnamed-faq-84260002 Node: unnamed-faq-85261105 Node: unnamed-faq-86262112 Node: unnamed-faq-87263050 Node: unnamed-faq-88263696 Node: unnamed-faq-90264527 Node: unnamed-faq-91265790 Node: unnamed-faq-92268218 Node: unnamed-faq-93268717 Node: unnamed-faq-94269644 Node: unnamed-faq-95271056 Node: unnamed-faq-96272574 Node: unnamed-faq-97273333 Node: unnamed-faq-98274000 Node: unnamed-faq-99274665 Node: unnamed-faq-100275594 Node: unnamed-faq-101276304 Node: What is the difference between YYLEX_PARAM and YY_DECL?277117 Node: Why do I get "conflicting types for yylex" error?277641 Node: How do I access the values set in a Flex action from within a Bison action?278171 Node: Appendices278600 Node: Makefiles and Flex278865 Ref: Makefiles and Flex-Footnote-1282067 Ref: Makefiles and Flex-Footnote-2282184 Ref: Makefiles and Flex-Footnote-3282371 Node: Bison Bridge282422 Ref: Bison Bridge-Footnote-1285089 Node: M4 Dependency285281 Ref: M4 Dependency-Footnote-1286695 Node: Common Patterns286831 Node: Numbers287154 Node: Identifiers288130 Node: Quoted Constructs288957 Node: Addresses290011 Node: Indices291323 Node: Concept Index291615 Node: Index of Functions and Macros318748 Node: Index of Variables323717 Node: Index of Data Types325383 Node: Index of Hooks326271 Node: Index of Scanner Options326839 @ 1.1.1.5.14.1 log @Sync with HEAD @ text @d46 1 a46 1 flex.info-2: 318745 d51 229 a279 229 Node: Copyright9414 Node: Reporting Bugs10933 Node: Introduction11189 Node: Simple Examples12018 Node: Format15304 Node: Definitions Section15759 Ref: Definitions Section-Footnote-118017 Node: Rules Section18085 Node: User Code Section19243 Node: Comments in the Input19681 Node: Patterns21051 Ref: case and character ranges27883 Node: Matching31886 Node: Actions35171 Node: Generated Scanner44133 Node: Start Conditions49136 Node: Multiple Input Buffers59678 Ref: Scanning Strings66221 Node: EOF67850 Node: Misc Macros69436 Node: User Values72290 Node: Yacc74615 Node: Scanner Options75510 Node: Options for Specifying Filenames78299 Ref: option-header78525 Ref: option-outfile79239 Ref: option-stdout79564 Node: Options Affecting Scanner Behavior80547 Ref: option-case-insensitive80788 Ref: option-lex-compat81221 Ref: option-batch81753 Ref: option-interactive82272 Ref: option-7bit83626 Ref: option-8bit84930 Ref: option-default85342 Ref: option-always-interactive85406 Ref: option-posix86010 Ref: option-stack87157 Ref: option-stdinit87265 Ref: option-yylineno87744 Ref: option-yywrap88187 Node: Code-Level And API Options88454 Ref: option-ansi-definitions88681 Ref: option-ansi-prototypes88756 Ref: option-bison-bridge88829 Ref: option-bison-locations89170 Ref: option-noline89430 Ref: option-reentrant89944 Ref: option-c++90556 Ref: option-array90682 Ref: option-pointer90780 Ref: option-prefix90907 Ref: option-main92435 Ref: option-nounistd92619 Ref: option-yyclass93130 Node: Options for Scanner Speed and Size93614 Ref: option-align94164 Ref: option-ecs94666 Ref: option-meta-ecs95705 Ref: option-read96193 Ref: option-full98076 Ref: option-fast98271 Node: Debugging Options99195 Ref: option-backup99382 Ref: option-debug99927 Ref: option-perf-report100649 Ref: option-nodefault101275 Ref: option-trace101593 Ref: option-nowarn101884 Ref: option-verbose101952 Ref: option-warn102381 Node: Miscellaneous Options102600 Node: Performance103056 Node: Cxx113303 Node: Reentrant121395 Node: Reentrant Uses122129 Node: Reentrant Overview123691 Node: Reentrant Example124491 Node: Reentrant Detail125264 Node: Specify Reentrant125768 Node: Extra Reentrant Argument126418 Node: Global Replacement127670 Node: Init and Destroy Functions128905 Node: Accessor Methods131426 Node: Extra Data132773 Node: About yyscan_t135040 Node: Reentrant Functions135437 Ref: bison-functions136921 Node: Lex and Posix137660 Node: Memory Management145007 Ref: memory-management145153 Node: The Default Memory Management145387 Ref: The Default Memory Management-Footnote-1149207 Node: Overriding The Default Memory Management149360 Ref: Overriding The Default Memory Management-Footnote-1151774 Node: A Note About yytext And Memory151938 Node: Serialized Tables153178 Ref: serialization153322 Node: Creating Serialized Tables154102 Node: Loading and Unloading Serialized Tables155717 Node: Tables File Format157490 Node: Diagnostics164515 Node: Limitations167924 Node: Bibliography169872 Node: FAQ170542 Node: When was flex born?175705 Node: How do I expand backslash-escape sequences in C-style quoted strings?176082 Node: Why do flex scanners call fileno if it is not ANSI compatible?177385 Node: Does flex support recursive pattern definitions?178182 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179029 Node: Flex is not matching my patterns in the same order that I defined them.179496 Node: My actions are executing out of order or sometimes not at all.181242 Node: How can I have multiple input sources feed into the same scanner at the same time?182015 Node: Can I build nested parsers that work with the same input file?184000 Node: How can I match text only at the end of a file?185007 Node: How can I make REJECT cascade across start condition boundaries?185811 Node: Why cant I use fast or full tables with interactive mode?186825 Node: How much faster is -F or -f than -C?188082 Node: If I have a simple grammar cant I just parse it with flex?188394 Node: Why doesn't yyrestart() set the start state back to INITIAL?188876 Node: How can I match C-style comments?189503 Node: The period isn't working the way I expected.190313 Node: Can I get the flex manual in another format?191558 Node: Does there exist a "faster" NDFA->DFA algorithm?192048 Node: How does flex compile the DFA so quickly?192558 Node: How can I use more than 8192 rules?193524 Node: How do I abandon a file in the middle of a scan and switch to a new file?194934 Node: How do I execute code only during initialization (only before the first scan)?195488 Node: How do I execute code at termination?196265 Node: Where else can I find help?196591 Node: Can I include comments in the "rules" section of the file?196965 Node: I get an error about undefined yywrap().197345 Node: How can I change the matching pattern at run time?197821 Node: How can I expand macros in the input?198183 Node: How can I build a two-pass scanner?199215 Node: How do I match any string not matched in the preceding rules?200133 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201042 Node: Is there a way to make flex treat NULL like a regular character?201837 Node: Whenever flex can not match the input it says "flex scanner jammed".202357 Node: Why doesn't flex have non-greedy operators like perl does?203000 Node: Memory leak - 16386 bytes allocated by malloc.204353 Ref: faq-memory-leak204651 Node: How do I track the byte offset for lseek()?205622 Node: How do I use my own I/O classes in a C++ scanner?207131 Node: How do I skip as many chars as possible?207974 Node: deleteme00209049 Node: Are certain equivalent patterns faster than others?209489 Node: Is backing up a big deal?212907 Node: Can I fake multi-byte character support?214813 Node: deleteme01216254 Node: Can you discuss some flex internals?217363 Node: unput() messes up yy_at_bol219607 Node: The | operator is not doing what I want220709 Node: Why can't flex understand this variable trailing context pattern?222255 Node: The ^ operator isn't working223504 Node: Trailing context is getting confused with trailing optional patterns224739 Node: Is flex GNU or not?225982 Node: ERASEME53227655 Node: I need to scan if-then-else blocks and while loops228425 Node: ERASEME55229624 Node: ERASEME56230722 Node: ERASEME57232080 Node: Is there a repository for flex scanners?233078 Node: How can I conditionally compile or preprocess my flex input file?233394 Node: Where can I find grammars for lex and yacc?233867 Node: I get an end-of-buffer message for each character scanned.234214 Node: unnamed-faq-62234809 Node: unnamed-faq-63235827 Node: unnamed-faq-64237124 Node: unnamed-faq-65238090 Node: unnamed-faq-66238876 Node: unnamed-faq-67239991 Node: unnamed-faq-68240978 Node: unnamed-faq-69242120 Node: unnamed-faq-70242833 Node: unnamed-faq-71243594 Node: unnamed-faq-72244803 Node: unnamed-faq-73245846 Node: unnamed-faq-74246770 Node: unnamed-faq-75247715 Node: unnamed-faq-76248847 Node: unnamed-faq-77249553 Node: unnamed-faq-78250446 Node: unnamed-faq-79251444 Node: unnamed-faq-80253144 Node: unnamed-faq-81254462 Node: unnamed-faq-82257262 Node: unnamed-faq-83258219 Node: unnamed-faq-84259999 Node: unnamed-faq-85261102 Node: unnamed-faq-86262109 Node: unnamed-faq-87263047 Node: unnamed-faq-88263693 Node: unnamed-faq-90264524 Node: unnamed-faq-91265787 Node: unnamed-faq-92268215 Node: unnamed-faq-93268714 Node: unnamed-faq-94269641 Node: unnamed-faq-95271053 Node: unnamed-faq-96272571 Node: unnamed-faq-97273330 Node: unnamed-faq-98273997 Node: unnamed-faq-99274662 Node: unnamed-faq-100275591 Node: unnamed-faq-101276301 Node: What is the difference between YYLEX_PARAM and YY_DECL?277114 Node: Why do I get "conflicting types for yylex" error?277638 Node: How do I access the values set in a Flex action from within a Bison action?278168 Node: Appendices278597 Node: Makefiles and Flex278862 Ref: Makefiles and Flex-Footnote-1282064 Ref: Makefiles and Flex-Footnote-2282181 Ref: Makefiles and Flex-Footnote-3282368 Node: Bison Bridge282419 Ref: Bison Bridge-Footnote-1285086 Node: M4 Dependency285278 Ref: M4 Dependency-Footnote-1286692 Node: Common Patterns286828 Node: Numbers287151 Node: Identifiers288127 Node: Quoted Constructs288954 Node: Addresses290008 Node: Indices291320 Node: Concept Index291612 Node: Index of Functions and Macros318745 Node: Index of Variables323714 Node: Index of Data Types325380 Node: Index of Hooks326268 Node: Index of Scanner Options326836 @ 1.1.1.5.12.1 log @Sync with HEAD, resolve a few conflicts @ text @d46 1 a46 1 flex.info-2: 318745 d51 229 a279 229 Node: Copyright9414 Node: Reporting Bugs10933 Node: Introduction11189 Node: Simple Examples12018 Node: Format15304 Node: Definitions Section15759 Ref: Definitions Section-Footnote-118017 Node: Rules Section18085 Node: User Code Section19243 Node: Comments in the Input19681 Node: Patterns21051 Ref: case and character ranges27883 Node: Matching31886 Node: Actions35171 Node: Generated Scanner44133 Node: Start Conditions49136 Node: Multiple Input Buffers59678 Ref: Scanning Strings66221 Node: EOF67850 Node: Misc Macros69436 Node: User Values72290 Node: Yacc74615 Node: Scanner Options75510 Node: Options for Specifying Filenames78299 Ref: option-header78525 Ref: option-outfile79239 Ref: option-stdout79564 Node: Options Affecting Scanner Behavior80547 Ref: option-case-insensitive80788 Ref: option-lex-compat81221 Ref: option-batch81753 Ref: option-interactive82272 Ref: option-7bit83626 Ref: option-8bit84930 Ref: option-default85342 Ref: option-always-interactive85406 Ref: option-posix86010 Ref: option-stack87157 Ref: option-stdinit87265 Ref: option-yylineno87744 Ref: option-yywrap88187 Node: Code-Level And API Options88454 Ref: option-ansi-definitions88681 Ref: option-ansi-prototypes88756 Ref: option-bison-bridge88829 Ref: option-bison-locations89170 Ref: option-noline89430 Ref: option-reentrant89944 Ref: option-c++90556 Ref: option-array90682 Ref: option-pointer90780 Ref: option-prefix90907 Ref: option-main92435 Ref: option-nounistd92619 Ref: option-yyclass93130 Node: Options for Scanner Speed and Size93614 Ref: option-align94164 Ref: option-ecs94666 Ref: option-meta-ecs95705 Ref: option-read96193 Ref: option-full98076 Ref: option-fast98271 Node: Debugging Options99195 Ref: option-backup99382 Ref: option-debug99927 Ref: option-perf-report100649 Ref: option-nodefault101275 Ref: option-trace101593 Ref: option-nowarn101884 Ref: option-verbose101952 Ref: option-warn102381 Node: Miscellaneous Options102600 Node: Performance103056 Node: Cxx113303 Node: Reentrant121395 Node: Reentrant Uses122129 Node: Reentrant Overview123691 Node: Reentrant Example124491 Node: Reentrant Detail125264 Node: Specify Reentrant125768 Node: Extra Reentrant Argument126418 Node: Global Replacement127670 Node: Init and Destroy Functions128905 Node: Accessor Methods131426 Node: Extra Data132773 Node: About yyscan_t135040 Node: Reentrant Functions135437 Ref: bison-functions136921 Node: Lex and Posix137660 Node: Memory Management145007 Ref: memory-management145153 Node: The Default Memory Management145387 Ref: The Default Memory Management-Footnote-1149207 Node: Overriding The Default Memory Management149360 Ref: Overriding The Default Memory Management-Footnote-1151774 Node: A Note About yytext And Memory151938 Node: Serialized Tables153178 Ref: serialization153322 Node: Creating Serialized Tables154102 Node: Loading and Unloading Serialized Tables155717 Node: Tables File Format157490 Node: Diagnostics164515 Node: Limitations167924 Node: Bibliography169872 Node: FAQ170542 Node: When was flex born?175705 Node: How do I expand backslash-escape sequences in C-style quoted strings?176082 Node: Why do flex scanners call fileno if it is not ANSI compatible?177385 Node: Does flex support recursive pattern definitions?178182 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179029 Node: Flex is not matching my patterns in the same order that I defined them.179496 Node: My actions are executing out of order or sometimes not at all.181242 Node: How can I have multiple input sources feed into the same scanner at the same time?182015 Node: Can I build nested parsers that work with the same input file?184000 Node: How can I match text only at the end of a file?185007 Node: How can I make REJECT cascade across start condition boundaries?185811 Node: Why cant I use fast or full tables with interactive mode?186825 Node: How much faster is -F or -f than -C?188082 Node: If I have a simple grammar cant I just parse it with flex?188394 Node: Why doesn't yyrestart() set the start state back to INITIAL?188876 Node: How can I match C-style comments?189503 Node: The period isn't working the way I expected.190313 Node: Can I get the flex manual in another format?191558 Node: Does there exist a "faster" NDFA->DFA algorithm?192048 Node: How does flex compile the DFA so quickly?192558 Node: How can I use more than 8192 rules?193524 Node: How do I abandon a file in the middle of a scan and switch to a new file?194934 Node: How do I execute code only during initialization (only before the first scan)?195488 Node: How do I execute code at termination?196265 Node: Where else can I find help?196591 Node: Can I include comments in the "rules" section of the file?196965 Node: I get an error about undefined yywrap().197345 Node: How can I change the matching pattern at run time?197821 Node: How can I expand macros in the input?198183 Node: How can I build a two-pass scanner?199215 Node: How do I match any string not matched in the preceding rules?200133 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201042 Node: Is there a way to make flex treat NULL like a regular character?201837 Node: Whenever flex can not match the input it says "flex scanner jammed".202357 Node: Why doesn't flex have non-greedy operators like perl does?203000 Node: Memory leak - 16386 bytes allocated by malloc.204353 Ref: faq-memory-leak204651 Node: How do I track the byte offset for lseek()?205622 Node: How do I use my own I/O classes in a C++ scanner?207131 Node: How do I skip as many chars as possible?207974 Node: deleteme00209049 Node: Are certain equivalent patterns faster than others?209489 Node: Is backing up a big deal?212907 Node: Can I fake multi-byte character support?214813 Node: deleteme01216254 Node: Can you discuss some flex internals?217363 Node: unput() messes up yy_at_bol219607 Node: The | operator is not doing what I want220709 Node: Why can't flex understand this variable trailing context pattern?222255 Node: The ^ operator isn't working223504 Node: Trailing context is getting confused with trailing optional patterns224739 Node: Is flex GNU or not?225982 Node: ERASEME53227655 Node: I need to scan if-then-else blocks and while loops228425 Node: ERASEME55229624 Node: ERASEME56230722 Node: ERASEME57232080 Node: Is there a repository for flex scanners?233078 Node: How can I conditionally compile or preprocess my flex input file?233394 Node: Where can I find grammars for lex and yacc?233867 Node: I get an end-of-buffer message for each character scanned.234214 Node: unnamed-faq-62234809 Node: unnamed-faq-63235827 Node: unnamed-faq-64237124 Node: unnamed-faq-65238090 Node: unnamed-faq-66238876 Node: unnamed-faq-67239991 Node: unnamed-faq-68240978 Node: unnamed-faq-69242120 Node: unnamed-faq-70242833 Node: unnamed-faq-71243594 Node: unnamed-faq-72244803 Node: unnamed-faq-73245846 Node: unnamed-faq-74246770 Node: unnamed-faq-75247715 Node: unnamed-faq-76248847 Node: unnamed-faq-77249553 Node: unnamed-faq-78250446 Node: unnamed-faq-79251444 Node: unnamed-faq-80253144 Node: unnamed-faq-81254462 Node: unnamed-faq-82257262 Node: unnamed-faq-83258219 Node: unnamed-faq-84259999 Node: unnamed-faq-85261102 Node: unnamed-faq-86262109 Node: unnamed-faq-87263047 Node: unnamed-faq-88263693 Node: unnamed-faq-90264524 Node: unnamed-faq-91265787 Node: unnamed-faq-92268215 Node: unnamed-faq-93268714 Node: unnamed-faq-94269641 Node: unnamed-faq-95271053 Node: unnamed-faq-96272571 Node: unnamed-faq-97273330 Node: unnamed-faq-98273997 Node: unnamed-faq-99274662 Node: unnamed-faq-100275591 Node: unnamed-faq-101276301 Node: What is the difference between YYLEX_PARAM and YY_DECL?277114 Node: Why do I get "conflicting types for yylex" error?277638 Node: How do I access the values set in a Flex action from within a Bison action?278168 Node: Appendices278597 Node: Makefiles and Flex278862 Ref: Makefiles and Flex-Footnote-1282064 Ref: Makefiles and Flex-Footnote-2282181 Ref: Makefiles and Flex-Footnote-3282368 Node: Bison Bridge282419 Ref: Bison Bridge-Footnote-1285086 Node: M4 Dependency285278 Ref: M4 Dependency-Footnote-1286692 Node: Common Patterns286828 Node: Numbers287151 Node: Identifiers288127 Node: Quoted Constructs288954 Node: Addresses290008 Node: Indices291320 Node: Concept Index291612 Node: Index of Functions and Macros318745 Node: Index of Variables323714 Node: Index of Data Types325380 Node: Index of Hooks326268 Node: Index of Scanner Options326836 @ 1.1.1.6 log @2017-05-06 Will Estes * po/ca.po, po/da.po, po/de.po, po/eo.po, po/es.po, po/fi.po, po/fr.po, po/ga.po, po/hr.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: gettext: pulled latest translations; recompiled against current sources 2017-05-06 Will Estes * NEWS: version 2.6.4 * NEWS: Record release date. 2017-05-06 Will Estes * .prev-version: note previous version 2017-05-06 Will Estes * NEWS: doc: update NEWS for upcoming release 2017-05-04 viktor.shepel * doc/flex.texi: doc: Correct typo in C code sample in manual 2017-05-04 Explorer09 * src/flex.skl: scanner: Mention %# comments are removed when building skel.c 2017-05-02 Demi Obenour * src/flex.skl: Honor user definitions of yy_* macros The user may have defined the yy_* macros themselves. In that case, don't clobber them. 2017-05-02 Demi Obenour * src/flex.skl, src/main.c: Don't leak macro definitions into header files This allowed unnamespaced definitions to leak into header files, breaking client code. Fixes #142 2017-05-03 Demi Obenour * src/scan.l: scanner: Check for 0 bracecount when EOL ends quoted literal. This can happen in the case of // comments (which Flex doesn't handle specially). 2017-05-03 Demi Obenour * src/scan.l: scanner: when bracelevel is negative, treat as zero. This really should never happen, but this at least fixes the breakage on Verilator. 2017-04-02 Jeff Smith * tests/Makefile.am, tests/tableopts.am, tests/tableopts.sh: test: enable more silent building of tests. When running 'make V=0 check', some compile and link steps are made less verbose and some are not. This cleans up most steps that are not. These have no effect if V=0 is not specified. 2017-05-03 Demi Obenour * src/Makefile.am, src/misc.c, src/mkskel.sh: build: Delete comments from skeleton file. Since the comments in flex.skl are, by hypothesis, not needed in skel.c, we remove them. THis reduces the size of the resulting executable somewhat. 2017-05-03 Explorer09 * Makefile.am, configure.ac, lib/Makefile.am: build: do not generate lib/Makefile.in. Files in lib/ are picked up and built using makefile directives in src/Makefile.am. Remove the need to generate lib/Makefile.in and the stub lib/Makefile.am. 2017-05-02 Will Estes * po/POTFILES.in: gettext: revert listing generated .c files 2017-04-10 Jeff Smith * src/filter.c: FLEX_EXIT() is the preferred way to exit flex 2017-04-11 Explorer09 * src/misc.c: Fix myesc() 'sptr' conditionals * Don't call isascii() here. It's deprecated in POSIX and not needed for myesc's case. * The check of the character class and range here should match what's defined as {ESCSEQ} in scan.l, so for [[:xdigit:]] we use isxdigit(); for [0-7] we check '0' <= c <= '7' (not isdigit(c) because isdigit is locale-dependant in standard's sense) * Add missing length limit for "\x" ( is at most 2 digits) 2017-04-11 Explorer09 * src/flexdef.h, src/misc.c: Obsolete htoui() and otoui(); use strtoul(). No sense to keep these two function when libc's strtoul() can do the same job, but better. 2017-04-12 Todd C. Miller * src/flex.skl: scanner: update yy_buf_size after yyrealloc() 2017-05-02 Simon Sobisch * configure.ac: build: use lowest versions for gettext, automake. 2017-05-02 Simon Sobisch * po/Makevars, po/Rules-getpo, po/update_linguas.sh: gettext: more recent makevars; new script to update po files. Previously, "make dist" and similar commands would cause the po files to be updated, which is incorrect. The more recent version now used should not do this. Replaced Rules-getpo by extra script to manually update and rebuild all po files. 2017-05-02 Simon Sobisch * po/POTFILES.in: gettext: list generated files instead of flex, bison sources in POTFILES.in. Listing the flex and bison sources -- as the gettext manual suggests -- causes warnings. Listing the generated C files for the lexer and parser removes the warnings. Since both files contain line directives, any translator who needs to refer back to those files should be able to find the context in which strings are needed. 2017-05-02 Simon Sobisch * autogen.sh: build: only touch ChangeLog if it does not exist 2017-05-02 Simon Sobisch * configure.ac, doc/Makefile.am: build: list earliest useable versions for automake 2017-05-02 Simon Sobisch * autogen.sh: build: check for how to call libtoolize. Previously, we would call libtoolize and if that failed, we would call glibtoolize since some platforms have the libtoolize program under that name. Instead, we check to see if the environment variable LIBTOOLIZE is set and use that if so. Otherwise, we try to find a program "libtoolize" on the path and failing that glibtoolize. We alert the user if no suitable program can be found. 2017-01-06 Alastair Hughes * configure.ac, m4/ax_prog_cc_for_build.m4, src/Makefile.am: build: support cross compiling. Check for cross compiling. If cross compiling, build stage1flex using a custom link command. We also override LDADD since that adds the replacement implementations that are cross compiled, and instead always use the replacement library implementations. We don't use BUILD_OBJEXT and BUILD_EXEEXT since it seems that automake does not support these. Fixes #78. 2017-02-17 Explorer09 * configure.ac, src/flexdef.h: build: Include ; add strcasecmp() check to configure. strings.h (not string.h) is the standard-defined include header for strcasecmp(). Include for portability (even though glibc exposes strcasecmp() declaration also in by default). 2017-02-17 Explorer09 * configure.ac, src/flexdef.h: build: Let configure error if missing required functions, headers.. `configure` will now error if a required header or function is not found on the system. Also add comments on optional functions checks. Add sys/stats.h and sys/wait.h to list of required headers in configure. This fixes issue #180. 2017-02-12 Explorer09 * src/dfa.c, src/flexdef.h: scanner: compute powers of two faster. Replace the naive "for" loop in determining power of two with a clever bitwise solution. This code is around the Internet already and is in Public Domain. 2017-02-07 Explorer09 * configure.ac, tests/Makefile.am, tests/pthread.l: test: skip pthread test when needed files missing. "Unlisting" the pthread test when libpthread is not available is never a good idea. Should let it compile into a stub program that returns the "skip" status. configure.ac and tests/Makefile.am are edited so that pthread test can be built anyway, but only works (not as the stub) when both pthread.h and libpthread are detected on the system. Also fix a small typo in tests/pthread.l comments. 2017-02-16 Will Estes * src/Makefile.am: build: mv scan.c when building dist. Revert change to copy scan.c when building the distribution archive. Move it instead. This satisfies automake's notions of what should be clean and ensures that the distribution archive contains a just-built copy of scan.c. Fixes #186 2017-02-06 Will Estes * src/Makefile.am: build: don't assume distdir/scan.c is writeable 2017-01-02 Explorer09 * src/Makefile.am: build: Add dist-hook to force remake scan.c. This will ensure the flex scanner included in release tarball being generated by exactly the flex version to be released. Here's one catch after this change: You may not run "make dist" or "make distdir" if you configure the flex source to be cross-compiled. 2017-01-02 Explorer09 * src/Makefile.am: build: respect '--localedir' from configure. Makefile shouldn't overwrite the 'localedir' variable, because that's what '--localedir' option in 'configure' is for. 2017-01-02 Explorer09 * src/Makefile.am: build: Remove "-I$(top_srcdir)/intl" from CPPFLAGS. Revert commit e02c3d27eeb6b53ec82532ab080c23ce26813fd4 ("include the intl/ subdirectory when searching for include files") Flex doesn't come with libintl source code, so inclusion of $(top_srcdir)/intl subdirectory during compiling is unnecessary. This flag seems to be left after "remove intl from dist" (commit 8f45da06adbd7dbcdfdbdd5c20ff4c47fc504f35) without someone cleaning this up. Users who need to build with gettext functionality from libintl would use the '--with-libintl-prefix' configure option. 2017-02-03 Explorer09 * src/regex.c: scanner: fix regcomp's error reporting, double malloc. Fix unneeded double malloc - let regerror(). Write its message after our "regcomp for (regex) failed: " string. Also, errbuf cannot be free()'d because of flexfatal containing a longjmp. 2017-01-03 Explorer09 * tests/Makefile.am, tests/no_bison_stub.c: test: Skip bison tests if bison is not available 2017-01-03 Explorer09 * configure.ac: build: remove repeated bison detection from configure. AC_PROG_YACC already detects the bison program. We can just use it, and make notice if [ $YACC != 'bison -y' ] Remove unused AC_SUBST([BISON], ...). Add AM_CONDITIONAL([HAVE_BISON], ...) so that we can skip bison tests in testsuite when bison is absent. We don't make any attempt to detect other yacc implementations since flex is developed with bison. While it would be possible, the need isn't there right now. It would be possible to add a --with-parser option that defaulted to bison if such a need cropped up. 2017-01-01 Explorer09 * src/Makefile.am: build: fix Makefile parse.h dependency clauses. The current clauses stating "main.c: parse.h" and "yylex.c: parse.h" do not work as expected. Make did not try to build parse.h upon building flex-main.o as it would think main.c exist already and ignore the clause. Fix this by explicitly stating that the .o files depend on parse.h instead. This dependency bug only happens if user builds flex from a checked-out repository. 2017-01-03 Explorer09 * tests/Makefile.am: test: Remake *_scanner.c if *_scanner.h is missing. If a ${foo}_scanner.c exists but the respective ${foo}_scanner.h is missing, then 'make' can halt. Fix this by deleting the ${foo}_scanner.c file and then remake it. This rule is the same as the automake-generated rule for .c files that require LEX or YACC (except automake will use ylwrap). 2016-12-31 Explorer09 * tests/Makefile.am: test: remove BUILT_SOURCES; add missing dependencies. Without BUILT_SOURCES in Makefile, no test sources in tests/ will be built when using the default "make all" target. This is desireable for people who are just building flex but who do not want to run, and therefore, build any part of the test suite. Also fix missing sources dependencies: bison_nr_scanner.$(OBJEXT): bison_nr_parser.h bison_yylloc_scanner.$(OBJEXT): bison_yylloc_parser.h bison_yylval_scanner.$(OBJEXT): bison_yylval_parser.h 2017-01-19 Explorer09 * configure.ac, lib/reallocarray.c, src/flexint.h, src/misc.c: build: detect overflow for [re]allocate_array. Use reallocarray() when we have it (i.e. in OpenBSD system). When we don't, use equivalent overflow detection for our allocate_array and reallocate_array functions. Remove lib/reallocarray.c from our LIBOBJS as we no longer need it. Provide a fallback SIZE_MAX macro definition in flexint.h (not preprocessor friendly, but enough for our reallocate_array use case). 2017-01-23 Will Estes * NEWS, configure.ac: doc: v2.6.4 2017-01-23 Thomas Klausner * src/Makefile.am: build: more BSD make and vpath build fixes. BSD make doesn't like $< with more than one source specified. Additionally, make sure to specify srcdir when referring to source files since vpath builds depend on this. 2017-01-22 Thomas Klausner * src/Makefile.am: build: Fix skel.c generation with BSD make 2017-01-22 Christos Zoulas * src/flex.skl: Add more defines in the non-reentrant part. Fix the reentrant part; don't "#define yyfoo yyfoo" because it breaks code that does #ifndef yywrap .. 2017-01-22 Christos Zoulas * src/flexdef.h: scanner: Add yyparse prototype 2017-01-22 Thomas Klausner * src/flex.skl: scanner: move comment for consistency 2017-01-22 Christos Zoulas * src/misc.c: scanner: Use array instead of pointer 2017-01-22 Christos Zoulas * src/main.c: scanner: manage path to m4 better. Avoid alloca() for SSP; it is better anyway; since we don't need to strdup the path. 2017-01-22 Christos Zoulas * src/gen.c: scanner: Avoid creating unused label 2017-01-22 Christos Zoulas * src/buf.c: Cast argument to avoid arithmetic on void *. 2017-01-22 Christos Zoulas * src/scan.l: scanner: Use strncpy 2017-01-22 Christos Zoulas * src/main.c: scanner: Use prefix when defining yywrap to avoid redefinition. Fixes regression introduced in v2.6.3. 2017-01-22 Christos Zoulas * src/flexdef.h, src/misc.c: scanner: Include stdarg.h for va_list 2017-01-22 Christos Zoulas * src/flexdef.h, src/main.c, src/parse.y: scanner: Rename warn to lwarn. This avoids a naming conflict in NetBSD's libc. 2017-01-01 Explorer09 * tests/README: test: document automake convention for skipped exit status. 2017-01-03 Explorer09 * tests/Makefile.am: test: let testwrapper scripts be run by ${SHELL}. This allows user to use a different shell if /bin/sh has problems. The use of $SHELL (variable) to run scripts is already an Automake convention. All shell scripts in build-aux are run by $SHELL. 2017-01-02 Explorer09 * tests/options.cn, tests/tableopts.sh, tests/testwrapper-direct.sh, tests/testwrapper.sh: test: Remove test scripts bashisms. They now all work under a POSIX compliant sh. Specifically, 'dash' can now be used for running "make check" tests. Note that none of these scripts has ever been using a pipe, so `set -o pipefail` is unnecessary and removed. 2017-01-02 Explorer09 * tests/testwrapper.sh: test: exit on '-1' test non-zero status. If a '-1' test program returns a non-zero status, don't go further and compare it's (numeric) output values. This allows a '-1' test to indicate a "skip" status or an otherwise error. (Currently no such '-1' test would skip like this, though.) Shell syntax note: `set -e` will not exit with the syntax like this `test $(false) = $(false);`. The exit statuses of `false` in the example will be ignored instead. But putting the output in a variable, such as `VAR=$(false)`, DOES exit. 2017-01-02 Explorer09 * Makefile.am, src/Makefile.am: build: Fix 'make indent' target This 'make indent' target has not been working since the directories reorganization in flex 2.6.0. Now make it work again. Note that the current indent profile breaks many styles of existing code. The indent target should not be used until the .indent.pro options are reviewed for desireability. 2017-01-01 Explorer09 * configure.ac: build: Simplify indent program detection 2017-01-12 Tobias Klauser * src/filter.c: filter: Don't emit #line if %option noline set One place emitting a #line directive to the generated header was missed in commit 647a92b9f4 when resolving #55. Fix it to respect gen_line_dirs as well. 2017-01-12 Will Estes * po/ca.po, po/da.po, po/de.po, po/eo.po, po/es.po, po/fi.po, po/fr.po, po/ga.po, po/hr.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ro.po, po/ru.po, po/sr.po, po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: translation: refresh po files from translation project 2017-01-10 Harald van Dijk * src/flex.skl: c++: Fix yyrestart(NULL) SEGV. Binding a reference to a dereferenced null pointer is invalid and compilers optimise away the &file == 0 check. We need a real stream. yyin is available already, and yyrestart(NULL) is only supported when yyin will not be used, so there is no harm in just passing in that. Since we now always have a valid stream, we can skip the null check too. Fixes #98. 2017-01-09 luistung * src/scan.l: scanner: join symbol list. Removed a newline that caused a problem building the scanner in some circumstances. Specifically: 'bad character' error when executing /bin/sh ../build-aux/ylwrap scan.l lex.yy.c scan.c -- flex 2017-01-11 Will Estes * src/flex.skl: scanner: remove void cast before fprintf @ text @d46 1 a46 1 flex.info-2: 318745 d51 229 a279 229 Node: Copyright9414 Node: Reporting Bugs10933 Node: Introduction11189 Node: Simple Examples12018 Node: Format15304 Node: Definitions Section15759 Ref: Definitions Section-Footnote-118017 Node: Rules Section18085 Node: User Code Section19243 Node: Comments in the Input19681 Node: Patterns21051 Ref: case and character ranges27883 Node: Matching31886 Node: Actions35171 Node: Generated Scanner44133 Node: Start Conditions49136 Node: Multiple Input Buffers59678 Ref: Scanning Strings66221 Node: EOF67850 Node: Misc Macros69436 Node: User Values72290 Node: Yacc74615 Node: Scanner Options75510 Node: Options for Specifying Filenames78299 Ref: option-header78525 Ref: option-outfile79239 Ref: option-stdout79564 Node: Options Affecting Scanner Behavior80547 Ref: option-case-insensitive80788 Ref: option-lex-compat81221 Ref: option-batch81753 Ref: option-interactive82272 Ref: option-7bit83626 Ref: option-8bit84930 Ref: option-default85342 Ref: option-always-interactive85406 Ref: option-posix86010 Ref: option-stack87157 Ref: option-stdinit87265 Ref: option-yylineno87744 Ref: option-yywrap88187 Node: Code-Level And API Options88454 Ref: option-ansi-definitions88681 Ref: option-ansi-prototypes88756 Ref: option-bison-bridge88829 Ref: option-bison-locations89170 Ref: option-noline89430 Ref: option-reentrant89944 Ref: option-c++90556 Ref: option-array90682 Ref: option-pointer90780 Ref: option-prefix90907 Ref: option-main92435 Ref: option-nounistd92619 Ref: option-yyclass93130 Node: Options for Scanner Speed and Size93614 Ref: option-align94164 Ref: option-ecs94666 Ref: option-meta-ecs95705 Ref: option-read96193 Ref: option-full98076 Ref: option-fast98271 Node: Debugging Options99195 Ref: option-backup99382 Ref: option-debug99927 Ref: option-perf-report100649 Ref: option-nodefault101275 Ref: option-trace101593 Ref: option-nowarn101884 Ref: option-verbose101952 Ref: option-warn102381 Node: Miscellaneous Options102600 Node: Performance103056 Node: Cxx113303 Node: Reentrant121395 Node: Reentrant Uses122129 Node: Reentrant Overview123691 Node: Reentrant Example124491 Node: Reentrant Detail125264 Node: Specify Reentrant125768 Node: Extra Reentrant Argument126418 Node: Global Replacement127670 Node: Init and Destroy Functions128905 Node: Accessor Methods131426 Node: Extra Data132773 Node: About yyscan_t135040 Node: Reentrant Functions135437 Ref: bison-functions136921 Node: Lex and Posix137660 Node: Memory Management145007 Ref: memory-management145153 Node: The Default Memory Management145387 Ref: The Default Memory Management-Footnote-1149207 Node: Overriding The Default Memory Management149360 Ref: Overriding The Default Memory Management-Footnote-1151774 Node: A Note About yytext And Memory151938 Node: Serialized Tables153178 Ref: serialization153322 Node: Creating Serialized Tables154102 Node: Loading and Unloading Serialized Tables155717 Node: Tables File Format157490 Node: Diagnostics164515 Node: Limitations167924 Node: Bibliography169872 Node: FAQ170542 Node: When was flex born?175705 Node: How do I expand backslash-escape sequences in C-style quoted strings?176082 Node: Why do flex scanners call fileno if it is not ANSI compatible?177385 Node: Does flex support recursive pattern definitions?178182 Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179029 Node: Flex is not matching my patterns in the same order that I defined them.179496 Node: My actions are executing out of order or sometimes not at all.181242 Node: How can I have multiple input sources feed into the same scanner at the same time?182015 Node: Can I build nested parsers that work with the same input file?184000 Node: How can I match text only at the end of a file?185007 Node: How can I make REJECT cascade across start condition boundaries?185811 Node: Why cant I use fast or full tables with interactive mode?186825 Node: How much faster is -F or -f than -C?188082 Node: If I have a simple grammar cant I just parse it with flex?188394 Node: Why doesn't yyrestart() set the start state back to INITIAL?188876 Node: How can I match C-style comments?189503 Node: The period isn't working the way I expected.190313 Node: Can I get the flex manual in another format?191558 Node: Does there exist a "faster" NDFA->DFA algorithm?192048 Node: How does flex compile the DFA so quickly?192558 Node: How can I use more than 8192 rules?193524 Node: How do I abandon a file in the middle of a scan and switch to a new file?194934 Node: How do I execute code only during initialization (only before the first scan)?195488 Node: How do I execute code at termination?196265 Node: Where else can I find help?196591 Node: Can I include comments in the "rules" section of the file?196965 Node: I get an error about undefined yywrap().197345 Node: How can I change the matching pattern at run time?197821 Node: How can I expand macros in the input?198183 Node: How can I build a two-pass scanner?199215 Node: How do I match any string not matched in the preceding rules?200133 Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201042 Node: Is there a way to make flex treat NULL like a regular character?201837 Node: Whenever flex can not match the input it says "flex scanner jammed".202357 Node: Why doesn't flex have non-greedy operators like perl does?203000 Node: Memory leak - 16386 bytes allocated by malloc.204353 Ref: faq-memory-leak204651 Node: How do I track the byte offset for lseek()?205622 Node: How do I use my own I/O classes in a C++ scanner?207131 Node: How do I skip as many chars as possible?207974 Node: deleteme00209049 Node: Are certain equivalent patterns faster than others?209489 Node: Is backing up a big deal?212907 Node: Can I fake multi-byte character support?214813 Node: deleteme01216254 Node: Can you discuss some flex internals?217363 Node: unput() messes up yy_at_bol219607 Node: The | operator is not doing what I want220709 Node: Why can't flex understand this variable trailing context pattern?222255 Node: The ^ operator isn't working223504 Node: Trailing context is getting confused with trailing optional patterns224739 Node: Is flex GNU or not?225982 Node: ERASEME53227655 Node: I need to scan if-then-else blocks and while loops228425 Node: ERASEME55229624 Node: ERASEME56230722 Node: ERASEME57232080 Node: Is there a repository for flex scanners?233078 Node: How can I conditionally compile or preprocess my flex input file?233394 Node: Where can I find grammars for lex and yacc?233867 Node: I get an end-of-buffer message for each character scanned.234214 Node: unnamed-faq-62234809 Node: unnamed-faq-63235827 Node: unnamed-faq-64237124 Node: unnamed-faq-65238090 Node: unnamed-faq-66238876 Node: unnamed-faq-67239991 Node: unnamed-faq-68240978 Node: unnamed-faq-69242120 Node: unnamed-faq-70242833 Node: unnamed-faq-71243594 Node: unnamed-faq-72244803 Node: unnamed-faq-73245846 Node: unnamed-faq-74246770 Node: unnamed-faq-75247715 Node: unnamed-faq-76248847 Node: unnamed-faq-77249553 Node: unnamed-faq-78250446 Node: unnamed-faq-79251444 Node: unnamed-faq-80253144 Node: unnamed-faq-81254462 Node: unnamed-faq-82257262 Node: unnamed-faq-83258219 Node: unnamed-faq-84259999 Node: unnamed-faq-85261102 Node: unnamed-faq-86262109 Node: unnamed-faq-87263047 Node: unnamed-faq-88263693 Node: unnamed-faq-90264524 Node: unnamed-faq-91265787 Node: unnamed-faq-92268215 Node: unnamed-faq-93268714 Node: unnamed-faq-94269641 Node: unnamed-faq-95271053 Node: unnamed-faq-96272571 Node: unnamed-faq-97273330 Node: unnamed-faq-98273997 Node: unnamed-faq-99274662 Node: unnamed-faq-100275591 Node: unnamed-faq-101276301 Node: What is the difference between YYLEX_PARAM and YY_DECL?277114 Node: Why do I get "conflicting types for yylex" error?277638 Node: How do I access the values set in a Flex action from within a Bison action?278168 Node: Appendices278597 Node: Makefiles and Flex278862 Ref: Makefiles and Flex-Footnote-1282064 Ref: Makefiles and Flex-Footnote-2282181 Ref: Makefiles and Flex-Footnote-3282368 Node: Bison Bridge282419 Ref: Bison Bridge-Footnote-1285086 Node: M4 Dependency285278 Ref: M4 Dependency-Footnote-1286692 Node: Common Patterns286828 Node: Numbers287151 Node: Identifiers288127 Node: Quoted Constructs288954 Node: Addresses290008 Node: Indices291320 Node: Concept Index291612 Node: Index of Functions and Macros318745 Node: Index of Variables323714 Node: Index of Data Types325380 Node: Index of Hooks326268 Node: Index of Scanner Options326836 @