This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
283 lines
10 KiB
Plaintext
283 lines
10 KiB
Plaintext
This is flex.info, produced by makeinfo version 4.13 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, 2012 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: 1627
|
|
flex.info-2: 288420
|
|
|
|
Tag Table:
|
|
(Indirect)
|
|
Node: Top1627
|
|
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
|
|
|
|
End Tag Table
|