head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC5:1.1.1.4 netbsd-11-0-RC4:1.1.1.4 netbsd-11-0-RC3:1.1.1.4 netbsd-11-0-RC2:1.1.1.4 netbsd-11-0-RC1:1.1.1.4 perseant-exfatfs-base-20250801:1.1.1.4 netbsd-11:1.1.1.4.0.28 netbsd-11-base:1.1.1.4 netbsd-10-1-RELEASE:1.1.1.4 perseant-exfatfs-base-20240630:1.1.1.4 perseant-exfatfs:1.1.1.4.0.26 perseant-exfatfs-base:1.1.1.4 netbsd-8-3-RELEASE:1.1.1.4 netbsd-9-4-RELEASE:1.1.1.4 netbsd-10-0-RELEASE:1.1.1.4 netbsd-10-0-RC6:1.1.1.4 netbsd-10-0-RC5:1.1.1.4 netbsd-10-0-RC4:1.1.1.4 netbsd-10-0-RC3:1.1.1.4 netbsd-10-0-RC2:1.1.1.4 netbsd-10-0-RC1:1.1.1.4 netbsd-10:1.1.1.4.0.24 netbsd-10-base:1.1.1.4 netbsd-9-3-RELEASE:1.1.1.4 cjep_sun2x-base1:1.1.1.4 cjep_sun2x:1.1.1.4.0.22 cjep_sun2x-base:1.1.1.4 cjep_staticlib_x-base1:1.1.1.4 netbsd-9-2-RELEASE:1.1.1.4 cjep_staticlib_x:1.1.1.4.0.20 cjep_staticlib_x-base:1.1.1.4 netbsd-9-1-RELEASE:1.1.1.4 phil-wifi-20200421:1.1.1.4 phil-wifi-20200411:1.1.1.4 is-mlppp:1.1.1.4.0.18 is-mlppp-base:1.1.1.4 phil-wifi-20200406:1.1.1.4 netbsd-8-2-RELEASE:1.1.1.4 netbsd-9-0-RELEASE:1.1.1.4 netbsd-9-0-RC2:1.1.1.4 netbsd-9-0-RC1:1.1.1.4 phil-wifi-20191119:1.1.1.4 netbsd-9:1.1.1.4.0.16 netbsd-9-base:1.1.1.4 phil-wifi-20190609:1.1.1.4 netbsd-8-1-RELEASE:1.1.1.4 netbsd-8-1-RC1:1.1.1.4 pgoyette-compat-merge-20190127:1.1.1.4 pgoyette-compat-20190127:1.1.1.4 pgoyette-compat-20190118:1.1.1.4 pgoyette-compat-1226:1.1.1.4 flex-2-6-4:1.1.1.4 pgoyette-compat-1126:1.1.1.4 pgoyette-compat-1020:1.1.1.4 pgoyette-compat-0930:1.1.1.4 pgoyette-compat-0906:1.1.1.4 netbsd-7-2-RELEASE:1.1.1.2 pgoyette-compat-0728:1.1.1.4 netbsd-8-0-RELEASE:1.1.1.4 phil-wifi:1.1.1.4.0.14 phil-wifi-base:1.1.1.4 pgoyette-compat-0625:1.1.1.4 netbsd-8-0-RC2:1.1.1.4 pgoyette-compat-0521:1.1.1.4 pgoyette-compat-0502:1.1.1.4 pgoyette-compat-0422:1.1.1.4 netbsd-8-0-RC1:1.1.1.4 pgoyette-compat-0415:1.1.1.4 pgoyette-compat-0407:1.1.1.4 pgoyette-compat-0330:1.1.1.4 pgoyette-compat-0322:1.1.1.4 pgoyette-compat-0315:1.1.1.4 netbsd-7-1-2-RELEASE:1.1.1.2 pgoyette-compat:1.1.1.4.0.12 pgoyette-compat-base:1.1.1.4 netbsd-7-1-1-RELEASE:1.1.1.2 matt-nb8-mediatek:1.1.1.4.0.10 matt-nb8-mediatek-base:1.1.1.4 perseant-stdc-iso10646:1.1.1.4.0.8 perseant-stdc-iso10646-base:1.1.1.4 netbsd-8:1.1.1.4.0.6 netbsd-8-base:1.1.1.4 prg-localcount2-base3:1.1.1.4 prg-localcount2-base2:1.1.1.4 prg-localcount2-base1:1.1.1.4 prg-localcount2:1.1.1.4.0.4 prg-localcount2-base:1.1.1.4 pgoyette-localcount-20170426:1.1.1.4 bouyer-socketcan-base1:1.1.1.4 pgoyette-localcount-20170320:1.1.1.4 netbsd-7-1:1.1.1.2.0.14 netbsd-7-1-RELEASE:1.1.1.2 netbsd-7-1-RC2:1.1.1.2 netbsd-7-nhusb-base-20170116:1.1.1.2 bouyer-socketcan:1.1.1.4.0.2 bouyer-socketcan-base:1.1.1.4 pgoyette-localcount-20170107:1.1.1.4 netbsd-7-1-RC1:1.1.1.2 flex-2-6-3:1.1.1.4 pgoyette-localcount-20161104:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.2 localcount-20160914:1.1.1.3 netbsd-7-nhusb:1.1.1.2.0.12 netbsd-7-nhusb-base:1.1.1.2 pgoyette-localcount-20160806:1.1.1.3 pgoyette-localcount-20160726:1.1.1.3 pgoyette-localcount:1.1.1.3.0.2 pgoyette-localcount-base:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.2 flex-2-6-0:1.1.1.3 netbsd-7-0:1.1.1.2.0.10 netbsd-7-0-RELEASE:1.1.1.2 netbsd-7-0-RC3:1.1.1.2 netbsd-7-0-RC2:1.1.1.2 netbsd-7-0-RC1:1.1.1.2 flex-2-5-39:1.1.1.2 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.31; author christos; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.10.26.00.28.31; 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.53; author christos; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2016.01.09.15.43.29; author christos; state Exp; branches 1.1.1.3.2.1; next 1.1.1.4; commitid gZAvxMYao3aXUgQy; 1.1.1.4 date 2017.01.02.16.26.33; author christos; state Exp; branches; next ; commitid LJszUt5pJWr4CpAz; 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.3.2.1 date 2017.01.07.08.53.49; author pgoyette; state Exp; branches; next ; commitid uEL0C1YuiJrlV0Bz; 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.  File: flex.info, Node: Concept Index, Next: Index of Functions and Macros, Prev: Indices, Up: Indices Concept Index ============= [index] * Menu: * $ as normal character in patterns: Patterns. (line 282) * %array, advantages of: Matching. (line 44) * %array, use of: Matching. (line 30) * %array, with C++: Matching. (line 67) * %option nowrap: Generated Scanner. (line 96) * %pointer, and unput(): Actions. (line 170) * %pointer, use of: Matching. (line 30) * %top: Definitions Section. (line 48) * %{ and %}, in Definitions Section: Definitions Section. (line 44) * %{ and %}, in Rules Section: Actions. (line 28) * <>, use of: EOF. (line 34) * [] in patterns: Patterns. (line 15) * ^ as non-special character in patterns: Patterns. (line 282) * accessor functions, use of: Accessor Methods. (line 18) * actions: Actions. (line 6) * actions, embedded C strings: Actions. (line 28) * actions, redefining YY_BREAK: Misc Macros. (line 51) * actions, use of { and }: Actions. (line 28) * aliases, how to define: Definitions Section. (line 10) * arguments, command-line: Scanner Options. (line 6) * array, default size for yytext: User Values. (line 13) * backing up, eliminating: Performance. (line 56) * backing up, eliminating by adding error rules: Performance. (line 108) * backing up, eliminating with catch-all rule: Performance. (line 123) * backing up, example of eliminating: Performance. (line 51) * BEGIN: Actions. (line 60) * BEGIN, explanation: Start Conditions. (line 90) * beginning of line, in patterns: Patterns. (line 128) * bison, bridging with flex: Bison Bridge. (line 6) * bison, parser: Bison Bridge. (line 57) * bison, scanner to be called from bison: Bison Bridge. (line 37) * BOL, checking the BOL flag: Misc Macros. (line 48) * BOL, in patterns: Patterns. (line 128) * BOL, setting it: Misc Macros. (line 42) * braces in patterns: Patterns. (line 42) * bugs, reporting: Reporting Bugs. (line 6) * C code in flex input: Definitions Section. (line 44) * C++: Cxx. (line 9) * C++ and %array: User Values. (line 23) * C++ I/O, customizing: How do I use my own I/O classes in a C++ scanner?. (line 9) * C++ scanners, including multiple scanners: Cxx. (line 186) * C++ scanners, use of: Cxx. (line 122) * c++, experimental form of scanner class: Cxx. (line 6) * C++, multiple different scanners: Cxx. (line 180) * C-strings, in actions: Actions. (line 28) * case-insensitive, effect on character classes: Patterns. (line 223) * character classes in patterns: Patterns. (line 191) * character classes in patterns, syntax of: Patterns. (line 15) * character classes, equivalence of: Patterns. (line 211) * clearing an input buffer: Multiple Input Buffers. (line 66) * command-line options: Scanner Options. (line 6) * comments in flex input: Definitions Section. (line 41) * comments in the input: Comments in the Input. (line 25) * comments, discarding: Actions. (line 184) * comments, example of scanning C comments: Start Conditions. (line 148) * comments, in actions: Actions. (line 28) * comments, in rules section: Comments in the Input. (line 11) * comments, syntax of: Comments in the Input. (line 6) * comments, valid uses of: Comments in the Input. (line 25) * compressing whitespace: Actions. (line 23) * concatenation, in patterns: Patterns. (line 112) * copyright of flex: Copyright. (line 6) * counting characters and lines: Simple Examples. (line 25) * customizing I/O in C++ scanners: How do I use my own I/O classes in a C++ scanner?. (line 9) * default rule <1>: Matching. (line 20) * default rule: Simple Examples. (line 16) * defining pattern aliases: Definitions Section. (line 22) * Definitions, in flex input: Definitions Section. (line 6) * deleting lines from input: Actions. (line 13) * discarding C comments: Actions. (line 184) * distributing flex: Copyright. (line 6) * ECHO: Actions. (line 57) * ECHO, and yyout: Generated Scanner. (line 104) * embedding C code in flex input: Definitions Section. (line 44) * end of file, in patterns: Patterns. (line 151) * end of line, in negated character classes: Patterns. (line 244) * end of line, in patterns: Patterns. (line 132) * end-of-file, and yyrestart(): Generated Scanner. (line 44) * EOF and yyrestart(): Generated Scanner. (line 44) * EOF in patterns, syntax of: Patterns. (line 151) * EOF, example using multiple input buffers: Multiple Input Buffers. (line 81) * EOF, explanation: EOF. (line 6) * EOF, pushing back: Actions. (line 178) * EOL, in negated character classes: Patterns. (line 244) * EOL, in patterns: Patterns. (line 132) * error messages, end of buffer missed: Lex and Posix. (line 50) * error reporting, diagnostic messages: Diagnostics. (line 6) * error reporting, in C++: Cxx. (line 106) * error rules, to eliminate backing up: Performance. (line 106) * escape sequences in patterns, syntax of: Patterns. (line 57) * exiting with yyterminate(): Actions. (line 221) * experimental form of c++ scanner class: Cxx. (line 6) * extended scope of start conditions: Start Conditions. (line 283) * file format: Format. (line 6) * file format, serialized tables: Tables File Format. (line 6) * flushing an input buffer: Multiple Input Buffers. (line 66) * flushing the internal buffer: Actions. (line 215) * format of flex input: Format. (line 6) * format of input file: Format. (line 9) * freeing tables: Loading and Unloading Serialized Tables. (line 6) * getting current start state with YY_START: Start Conditions. (line 199) * halting with yyterminate(): Actions. (line 221) * handling include files with multiple input buffers: Multiple Input Buffers. (line 87) * header files, with C++: Cxx. (line 186) * include files, with C++: Cxx. (line 186) * input file, Definitions section: Definitions Section. (line 6) * input file, Rules Section: Rules Section. (line 6) * input file, user code Section: User Code Section. (line 6) * input(): Actions. (line 181) * input(), and C++: Actions. (line 211) * input, format of: Format. (line 6) * input, matching: Matching. (line 6) * keywords, for performance: Performance. (line 211) * lex (traditional) and POSIX: Lex and Posix. (line 6) * LexerInput, overriding: How do I use my own I/O classes in a C++ scanner?. (line 9) * LexerOutput, overriding: How do I use my own I/O classes in a C++ scanner?. (line 9) * limitations of flex: Limitations. (line 6) * literal text in patterns, syntax of: Patterns. (line 54) * loading tables at runtime: Loading and Unloading Serialized Tables. (line 6) * m4: M4 Dependency. (line 6) * Makefile, example of implicit rules: Makefiles and Flex. (line 21) * Makefile, explicit example: Makefiles and Flex. (line 33) * Makefile, syntax: Makefiles and Flex. (line 6) * matching C-style double-quoted strings: Start Conditions. (line 214) * matching, and trailing context: Matching. (line 6) * matching, length of: Matching. (line 6) * matching, multiple matches: Matching. (line 6) * member functions, C++: Cxx. (line 9) * memory management: Memory Management. (line 6) * memory, allocating input buffers: Multiple Input Buffers. (line 19) * memory, considerations for reentrant scanners: Init and Destroy Functions. (line 6) * memory, deleting input buffers: Multiple Input Buffers. (line 46) * memory, for start condition stacks: Start Conditions. (line 316) * memory, serialized tables <1>: Loading and Unloading Serialized Tables. (line 6) * memory, serialized tables: Serialized Tables. (line 6) * methods, c++: Cxx. (line 9) * minimal scanner: Matching. (line 24) * multiple input streams: Multiple Input Buffers. (line 6) * name definitions, not POSIX: Lex and Posix. (line 77) * negating ranges in patterns: Patterns. (line 23) * newline, matching in patterns: Patterns. (line 136) * non-POSIX features of flex: Lex and Posix. (line 148) * nowrap, %option: Generated Scanner. (line 96) * NULL character in patterns, syntax of: Patterns. (line 62) * octal characters in patterns: Patterns. (line 65) * options, command-line: Scanner Options. (line 6) * overriding LexerInput: How do I use my own I/O classes in a C++ scanner?. (line 9) * overriding LexerOutput: How do I use my own I/O classes in a C++ scanner?. (line 9) * overriding the memory routines: Overriding The Default Memory Management. (line 43) * Pascal-like language: Simple Examples. (line 51) * pattern aliases, defining: Definitions Section. (line 22) * pattern aliases, expansion of: Patterns. (line 51) * pattern aliases, how to define: Definitions Section. (line 10) * pattern aliases, use of: Definitions Section. (line 30) * patterns and actions on different lines: Lex and Posix. (line 104) * patterns, character class equivalence: Patterns. (line 211) * patterns, common: Common Patterns. (line 6) * patterns, end of line: Patterns. (line 309) * patterns, grouping and precedence: Patterns. (line 168) * patterns, in rules section: Patterns. (line 6) * patterns, invalid trailing context: Patterns. (line 292) * patterns, matching: Matching. (line 6) * patterns, precedence of operators: Patterns. (line 162) * patterns, repetitions with grouping: Patterns. (line 188) * patterns, special characters treated as non-special: Patterns. (line 301) * patterns, syntax: Patterns. (line 9) * patterns, tuning for performance: Performance. (line 51) * patterns, valid character classes: Patterns. (line 197) * performance optimization, matching longer tokens: Performance. (line 176) * performance optimization, recognizing keywords: Performance. (line 216) * performance, backing up: Performance. (line 51) * performance, considerations: Performance. (line 6) * performance, using keywords: Performance. (line 211) * popping an input buffer: Multiple Input Buffers. (line 60) * POSIX and lex: Lex and Posix. (line 6) * POSIX comp;compliance: Lex and Posix. (line 148) * POSIX, character classes in patterns, syntax of: Patterns. (line 15) * preprocessor macros, for use in actions: Actions. (line 53) * pushing an input buffer: Multiple Input Buffers. (line 52) * pushing back characters with unput: Actions. (line 150) * pushing back characters with unput(): Actions. (line 154) * pushing back characters with yyless: Actions. (line 137) * pushing back EOF: Actions. (line 178) * ranges in patterns: Patterns. (line 19) * ranges in patterns, negating: Patterns. (line 23) * recognizing C comments: Start Conditions. (line 151) * reentrant scanners, multiple interleaved scanners: Reentrant Uses. (line 10) * reentrant scanners, recursive invocation: Reentrant Uses. (line 31) * reentrant, accessing flex variables: Global Replacement. (line 6) * reentrant, accessor functions: Accessor Methods. (line 6) * reentrant, API explanation: Reentrant Overview. (line 6) * reentrant, calling functions: Extra Reentrant Argument. (line 6) * reentrant, example of: Reentrant Example. (line 6) * reentrant, explanation: Reentrant. (line 6) * reentrant, extra data: Extra Data. (line 6) * reentrant, initialization: Init and Destroy Functions. (line 6) * regular expressions, in patterns: Patterns. (line 6) * REJECT: Actions. (line 64) * REJECT, calling multiple times: Actions. (line 87) * REJECT, performance costs: Performance. (line 12) * reporting bugs: Reporting Bugs. (line 6) * restarting the scanner: Lex and Posix. (line 55) * RETURN, within actions: Generated Scanner. (line 59) * rules, default: Simple Examples. (line 16) * rules, in flex input: Rules Section. (line 6) * scanner, definition of: Introduction. (line 6) * sections of flex input: Format. (line 6) * serialization: Serialized Tables. (line 6) * serialization of tables: Creating Serialized Tables. (line 6) * serialized tables, multiple scanners: Creating Serialized Tables. (line 27) * stack, input buffer pop: Multiple Input Buffers. (line 60) * stack, input buffer push: Multiple Input Buffers. (line 52) * stacks, routines for manipulating: Start Conditions. (line 301) * start condition, applying to multiple patterns: Start Conditions. (line 270) * start conditions: Start Conditions. (line 6) * start conditions, behavior of default rule: Start Conditions. (line 87) * start conditions, exclusive: Start Conditions. (line 56) * start conditions, for different interpretations of same input: Start Conditions. (line 119) * start conditions, in patterns: Patterns. (line 141) * start conditions, inclusive: Start Conditions. (line 46) * start conditions, inclusive v.s. exclusive: Start Conditions. (line 26) * start conditions, integer values: Start Conditions. (line 172) * start conditions, multiple: Start Conditions. (line 18) * start conditions, special wildcard condition: Start Conditions. (line 72) * start conditions, use of a stack: Start Conditions. (line 301) * start conditions, use of wildcard condition (<*>): Start Conditions. (line 76) * start conditions, using BEGIN: Start Conditions. (line 101) * stdin, default for yyin: Generated Scanner. (line 39) * stdout, as default for yyout: Generated Scanner. (line 104) * strings, scanning strings instead of files: Multiple Input Buffers. (line 177) * tables, creating serialized: Creating Serialized Tables. (line 6) * tables, file format: Tables File Format. (line 6) * tables, freeing: Loading and Unloading Serialized Tables. (line 6) * tables, loading and unloading: Loading and Unloading Serialized Tables. (line 6) * terminating with yyterminate(): Actions. (line 221) * token: Matching. (line 14) * trailing context, in patterns: Patterns. (line 119) * trailing context, limits of: Patterns. (line 282) * trailing context, matching: Matching. (line 6) * trailing context, performance costs: Performance. (line 12) * trailing context, variable length: Performance. (line 147) * unput(): Actions. (line 150) * unput(), and %pointer: Actions. (line 170) * unput(), pushing back characters: Actions. (line 154) * user code, in flex input: User Code Section. (line 6) * username expansion: Simple Examples. (line 8) * using integer values of start condition names: Start Conditions. (line 172) * verbatim text in patterns, syntax of: Patterns. (line 54) * warning, dangerous trailing context: Limitations. (line 20) * warning, rule cannot be matched: Diagnostics. (line 14) * warnings, diagnostic messages: Diagnostics. (line 6) * whitespace, compressing: Actions. (line 23) * yacc interface: Yacc. (line 17) * yacc, interface: Yacc. (line 6) * YY_CURRENT_BUFFER, and multiple buffers Finally, the macro: Multiple Input Buffers. (line 78) * YY_EXTRA_TYPE, defining your own type: Extra Data. (line 34) * YY_FLUSH_BUFFER(): Actions. (line 215) * YY_INPUT: Generated Scanner. (line 63) * YY_INPUT, overriding: Generated Scanner. (line 73) * YY_START, example: Start Conditions. (line 195) * YY_USER_ACTION to track each time a rule is matched: Misc Macros. (line 14) * yyalloc, overriding: Overriding The Default Memory Management. (line 6) * yyfree, overriding: Overriding The Default Memory Management. (line 6) * yyin: Generated Scanner. (line 39) * yyinput(): Actions. (line 211) * yyleng: Matching. (line 14) * yyleng, modification of: Actions. (line 50) * yyless(): Actions. (line 131) * yyless(), pushing back characters: Actions. (line 137) * yylex(), in generated scanner: Generated Scanner. (line 6) * yylex(), overriding: Generated Scanner. (line 17) * yylex, overriding the prototype of: Generated Scanner. (line 21) * yylineno, in a reentrant scanner: Reentrant Functions. (line 38) * yylineno, performance costs: Performance. (line 12) * yymore(): Actions. (line 109) * yymore() to append token to previous token: Actions. (line 115) * yymore(), mega-kludge: Actions. (line 115) * yymore, and yyleng: Actions. (line 50) * yymore, performance penalty of: Actions. (line 125) * yyout: Generated Scanner. (line 104) * yyrealloc, overriding: Overriding The Default Memory Management. (line 6) * yyrestart(): Generated Scanner. (line 44) * yyterminate(): Actions. (line 221) * yytext: Matching. (line 14) * yytext, default array size: User Values. (line 13) * yytext, memory considerations: A Note About yytext And Memory. (line 6) * yytext, modification of: Actions. (line 44) * yytext, two types of: Matching. (line 30) * yywrap(): Generated Scanner. (line 88) * yywrap, default for: Generated Scanner. (line 96) * |, in actions: Actions. (line 35) * |, use of: Actions. (line 87)  File: flex.info, Node: Index of Functions and Macros, Next: Index of Variables, Prev: Concept Index, Up: Indices Index of Functions and Macros ============================= This is an index of functions and preprocessor macros that look like functions. For macros that expand to variables or constants, see *Note Index of Variables::. [index] * Menu: * BEGIN: Start Conditions. (line 90) * debug (C++ only): Cxx. (line 48) * LexerError (C++ only): Cxx. (line 106) * LexerInput (C++ only): Cxx. (line 91) * LexerOutput (C++ only): Cxx. (line 101) * lineno (C++ only): Cxx. (line 38) * set_debug (C++ only): Cxx. (line 42) * switch_streams (C++ only): Cxx. (line 78) * YY_AT_BOL: Misc Macros. (line 48) * yy_create_buffer: Multiple Input Buffers. (line 20) * yy_delete_buffer: Multiple Input Buffers. (line 47) * yy_flush_buffer: Multiple Input Buffers. (line 67) * yy_new_buffer: Multiple Input Buffers. (line 73) * YY_NEW_FILE (now obsolete): EOF. (line 11) * yy_pop_state: Start Conditions. (line 311) * yy_push_state: Start Conditions. (line 305) * yy_scan_buffer: Multiple Input Buffers. (line 200) * yy_scan_bytes: Multiple Input Buffers. (line 190) * yy_scan_string: Multiple Input Buffers. (line 186) * yy_set_bol: Misc Macros. (line 42) * yy_set_interactive: Misc Macros. (line 30) * yy_switch_to_buffer: Multiple Input Buffers. (line 36) * yy_top_state: Start Conditions. (line 314) * yyFlexLexer constructor (C++ only): Cxx. (line 61) * yyget_debug: Reentrant Functions. (line 8) * yyget_extra <1>: Reentrant Functions. (line 8) * yyget_extra: Extra Data. (line 20) * yyget_in: Reentrant Functions. (line 8) * yyget_leng: Reentrant Functions. (line 8) * yyget_lineno: Reentrant Functions. (line 8) * yyget_out: Reentrant Functions. (line 8) * yyget_text: Reentrant Functions. (line 8) * YYLeng (C++ only): Cxx. (line 34) * yylex (C++ version): Cxx. (line 66) * yylex (reentrant version): Bison Bridge. (line 23) * yylex_destroy: Init and Destroy Functions. (line 6) * yylex_init: Init and Destroy Functions. (line 6) * yypop_buffer_state: Multiple Input Buffers. (line 61) * yypush_buffer_state: Multiple Input Buffers. (line 53) * yyrestart: User Values. (line 39) * yyset_debug: Reentrant Functions. (line 8) * yyset_extra <1>: Reentrant Functions. (line 8) * yyset_extra: Extra Data. (line 20) * yyset_in: Reentrant Functions. (line 8) * yyset_lineno: Reentrant Functions. (line 8) * yyset_out: Reentrant Functions. (line 8) * yytables_destroy: Loading and Unloading Serialized Tables. (line 24) * yytables_fload: Loading and Unloading Serialized Tables. (line 11) * YYText (C++ only): Cxx. (line 30)  File: flex.info, Node: Index of Variables, Next: Index of Data Types, Prev: Index of Functions and Macros, Up: Indices Index of Variables ================== This is an index of variables, constants, and preprocessor macros that expand to variables or constants. [index] * Menu: * INITIAL: Start Conditions. (line 90) * YY_CURRENT_BUFFER: User Values. (line 50) * YY_END_OF_BUFFER_CHAR: Multiple Input Buffers. (line 198) * YY_NUM_RULES: Misc Macros. (line 17) * YY_START <1>: User Values. (line 53) * YY_START: Start Conditions. (line 202) * yyextra: Extra Data. (line 6) * yyin: User Values. (line 29) * yyleng: User Values. (line 26) * yylloc: Bison Bridge. (line 6) * YYLMAX: User Values. (line 13) * yylval: Bison Bridge. (line 6) * yylval, with yacc: Yacc. (line 6) * yyout: User Values. (line 46) * yyscanner (reentrant only): Extra Reentrant Argument. (line 6) * yytext <1>: User Values. (line 9) * yytext: Matching. (line 30)  File: flex.info, Node: Index of Data Types, Next: Index of Hooks, Prev: Index of Variables, Up: Indices Index of Data Types =================== [index] * Menu: * FlexLexer (C++ only): Cxx. (line 57) * YY_BUFFER_STATE: Multiple Input Buffers. (line 25) * YY_EXTRA_TYPE (reentrant only): Extra Data. (line 20) * yy_size_t: Multiple Input Buffers. (line 211) * yyFlexLexer (C++ only): Cxx. (line 57) * YYLTYPE: Bison Bridge. (line 6) * yyscan_t (reentrant only): About yyscan_t. (line 6) * YYSTYPE: Bison Bridge. (line 6)  File: flex.info, Node: Index of Hooks, Next: Index of Scanner Options, Prev: Index of Data Types, Up: Indices Index of Hooks ============== This is an index of "hooks" that the user may define. These hooks typically correspond to specific locations in the generated scanner, and may be used to insert arbitrary code. [index] * Menu: * YY_BREAK: Misc Macros. (line 51) * YY_USER_ACTION: Misc Macros. (line 6) * YY_USER_INIT: Misc Macros. (line 25)  File: flex.info, Node: Index of Scanner Options, Prev: Index of Hooks, Up: Indices Index of Scanner Options ======================== [index] * Menu: * -+: Code-Level And API Options. (line 50) * --7bit: Options Affecting Scanner Behavior. (line 57) * --8bit: Options Affecting Scanner Behavior. (line 81) * --align: Options for Scanner Speed and Size. (line 15) * --always-interactive: Options Affecting Scanner Behavior. (line 93) * --array: Code-Level And API Options. (line 54) * --backup: Debugging Options. (line 6) * --batch: Options Affecting Scanner Behavior. (line 23) * --bison-bridge: Code-Level And API Options. (line 17) * --bison-locations: Code-Level And API Options. (line 24) * --c++: Code-Level And API Options. (line 50) * --case-insensitive: Options Affecting Scanner Behavior. (line 6) * --debug: Debugging Options. (line 16) * --default: Options Affecting Scanner Behavior. (line 90) * --ecs: Options for Scanner Speed and Size. (line 24) * --fast: Options for Scanner Speed and Size. (line 101) * --full: Options for Scanner Speed and Size. (line 96) * --header-file: Options for Specifying Filenames. (line 6) * --help: Miscellaneous Options. (line 9) * --interactive: Options Affecting Scanner Behavior. (line 33) * --lex-compat: Options Affecting Scanner Behavior. (line 14) * --main: Code-Level And API Options. (line 101) * --meta-ecs: Options for Scanner Speed and Size. (line 45) * --never-interactive: Options Affecting Scanner Behavior. (line 101) * --nodefault: Debugging Options. (line 44) * --noline: Code-Level And API Options. (line 29) * --nounistd: Code-Level And API Options. (line 106) * --nowarn: Debugging Options. (line 56) * --option-ansi-definitions: Code-Level And API Options. (line 6) * --option-ansi-prototypes: Code-Level And API Options. (line 12) * --outfile: Options for Specifying Filenames. (line 21) * --perf-report: Debugging Options. (line 32) * --pointer: Code-Level And API Options. (line 57) * --posix: Options Affecting Scanner Behavior. (line 105) * --prefix: Code-Level And API Options. (line 61) * --read: Options for Scanner Speed and Size. (line 54) * --reentrant: Code-Level And API Options. (line 38) * --skel: Options for Specifying Filenames. (line 31) * --stack: Options Affecting Scanner Behavior. (line 125) * --stdinit: Options Affecting Scanner Behavior. (line 129) * --stdout: Options for Specifying Filenames. (line 27) * --tables-file: Options for Specifying Filenames. (line 36) * --tables-verify: Options for Specifying Filenames. (line 41) * --trace: Debugging Options. (line 50) * --verbose: Debugging Options. (line 59) * --version: Miscellaneous Options. (line 16) * --warn: Debugging Options. (line 67) * --yyclass: Code-Level And API Options. (line 115) * --yylineno: Options Affecting Scanner Behavior. (line 138) * --yywrap: Options Affecting Scanner Behavior. (line 146) * -7: Options Affecting Scanner Behavior. (line 57) * -8: Options Affecting Scanner Behavior. (line 81) * -b: Debugging Options. (line 6) * -B: Options Affecting Scanner Behavior. (line 23) * -c: Miscellaneous Options. (line 6) * -C: Options for Scanner Speed and Size. (line 10) * -Ca: Options for Scanner Speed and Size. (line 15) * -Ce: Options for Scanner Speed and Size. (line 24) * -CF: Options for Scanner Speed and Size. (line 40) * -Cf: Options for Scanner Speed and Size. (line 35) * -Cm: Options for Scanner Speed and Size. (line 45) * -Cr: Options for Scanner Speed and Size. (line 54) * -d: Debugging Options. (line 16) * -F: Options for Scanner Speed and Size. (line 101) * -f: Options for Scanner Speed and Size. (line 96) * -h: Miscellaneous Options. (line 9) * -I: Options Affecting Scanner Behavior. (line 33) * -i: Options Affecting Scanner Behavior. (line 6) * -L: Code-Level And API Options. (line 29) * -l: Options Affecting Scanner Behavior. (line 14) * -n: Miscellaneous Options. (line 13) * -o: Options for Specifying Filenames. (line 21) * -p: Debugging Options. (line 32) * -P: Code-Level And API Options. (line 61) * -R: Code-Level And API Options. (line 38) * -s: Debugging Options. (line 44) * -T: Debugging Options. (line 50) * -t: Options for Specifying Filenames. (line 27) * -V: Miscellaneous Options. (line 16) * -v: Debugging Options. (line 59) * -w: Debugging Options. (line 56) * -X: Options Affecting Scanner Behavior. (line 105) * 7bit: Options Affecting Scanner Behavior. (line 57) * 8bit: Options Affecting Scanner Behavior. (line 81) * align: Options for Scanner Speed and Size. (line 15) * always-interactive: Options Affecting Scanner Behavior. (line 93) * ansi-definitions: Code-Level And API Options. (line 6) * ansi-prototypes: Code-Level And API Options. (line 12) * array: Code-Level And API Options. (line 54) * backup: Debugging Options. (line 6) * batch: Options Affecting Scanner Behavior. (line 23) * bison-bridge: Code-Level And API Options. (line 17) * bison-locations: Code-Level And API Options. (line 24) * c++: Code-Level And API Options. (line 50) * case-insensitive: Options Affecting Scanner Behavior. (line 6) * debug: Debugging Options. (line 16) * default: Options Affecting Scanner Behavior. (line 90) * ecs: Options for Scanner Speed and Size. (line 24) * fast: Options for Scanner Speed and Size. (line 101) * full: Options for Scanner Speed and Size. (line 96) * header-file: Options for Specifying Filenames. (line 6) * interactive: Options Affecting Scanner Behavior. (line 33) * lex-compat: Options Affecting Scanner Behavior. (line 14) * main: Code-Level And API Options. (line 101) * meta-ecs: Options for Scanner Speed and Size. (line 45) * nodefault: Debugging Options. (line 44) * noline: Code-Level And API Options. (line 29) * nounistd: Code-Level And API Options. (line 106) * nowarn: Debugging Options. (line 56) * noyyalloc: Overriding The Default Memory Management. (line 17) * outfile: Options for Specifying Filenames. (line 21) * perf-report: Debugging Options. (line 32) * pointer: Code-Level And API Options. (line 57) * posix: Options Affecting Scanner Behavior. (line 105) * prefix: Code-Level And API Options. (line 61) * read: Options for Scanner Speed and Size. (line 54) * reentrant: Code-Level And API Options. (line 38) * stack: Options Affecting Scanner Behavior. (line 125) * stdinit: Options Affecting Scanner Behavior. (line 129) * stdout: Options for Specifying Filenames. (line 27) * tables-file: Options for Specifying Filenames. (line 36) * tables-verify: Options for Specifying Filenames. (line 41) * trace: Debugging Options. (line 50) * verbose: Debugging Options. (line 59) * warn: Debugging Options. (line 67) * yyclass: Code-Level And API Options. (line 115) * yylineno: Options Affecting Scanner Behavior. (line 138) * yywrap: Options Affecting Scanner Behavior. (line 146) @ 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. d53 11 a63 11 * $ as normal character in patterns: Patterns. (line 274) * %array, advantages of: Matching. (line 43) * %array, use of: Matching. (line 29) * %array, with C++: Matching. (line 65) * %option noyywrapp: Generated Scanner. (line 93) * %pointer, and unput(): Actions. (line 163) * %pointer, use of: Matching. (line 29) * %top: Definitions Section. (line 44) * %{ and %}, in Definitions Section: Definitions Section. (line 40) * %{ and %}, in Rules Section: Actions. (line 26) * <>, use of: EOF. (line 33) d65 1 a65 1 * ^ as non-special character in patterns: Patterns. (line 274) d68 3 a70 3 * actions, embedded C strings: Actions. (line 26) * actions, redefining YY_BREAK: Misc Macros. (line 49) * actions, use of { and }: Actions. (line 26) d74 7 a80 7 * backing up, eliminating: Performance. (line 54) * backing up, eliminating by adding error rules: Performance. (line 104) * backing up, eliminating with catch-all rule: Performance. (line 118) * backing up, example of eliminating: Performance. (line 49) * BEGIN: Actions. (line 58) * BEGIN, explanation: Start Conditions. (line 84) * beginning of line, in patterns: Patterns. (line 127) d82 5 a86 5 * bison, parser: Bison Bridge. (line 54) * bison, scanner to be called from bison: Bison Bridge. (line 35) * BOL, checking the BOL flag: Misc Macros. (line 46) * BOL, in patterns: Patterns. (line 127) * BOL, setting it: Misc Macros. (line 40) d89 1 a89 1 * C code in flex input: Definitions Section. (line 40) d94 1 a94 1 * C++ scanners, including multiple scanners: Cxx. (line 189) d97 4 a100 4 * C++, multiple different scanners: Cxx. (line 183) * C-strings, in actions: Actions. (line 26) * case-insensitive, effect on character classes: Patterns. (line 216) * character classes in patterns: Patterns. (line 186) d102 1 a102 1 * character classes, equivalence of: Patterns. (line 205) d106 1 a106 1 * comments in flex input: Definitions Section. (line 37) d109 3 a111 3 * comments, discarding: Actions. (line 177) * comments, example of scanning C comments: Start Conditions. (line 140) * comments, in actions: Actions. (line 26) d118 2 a119 2 * compressing whitespace: Actions. (line 22) * concatenation, in patterns: Patterns. (line 111) d121 1 a121 1 * counting characters and lines: Simple Examples. (line 24) d125 2 a126 2 * default rule: Simple Examples. (line 15) * defining pattern aliases: Definitions Section. (line 21) d129 1 a129 1 * discarding C comments: Actions. (line 177) d131 9 a139 9 * ECHO: Actions. (line 55) * ECHO, and yyout: Generated Scanner. (line 101) * embedding C code in flex input: Definitions Section. (line 40) * end of file, in patterns: Patterns. (line 150) * end of line, in negated character classes: Patterns. (line 237) * end of line, in patterns: Patterns. (line 131) * end-of-file, and yyrestart(): Generated Scanner. (line 42) * EOF and yyrestart(): Generated Scanner. (line 42) * EOF in patterns, syntax of: Patterns. (line 150) d143 3 a145 3 * EOF, pushing back: Actions. (line 171) * EOL, in negated character classes: Patterns. (line 237) * EOL, in patterns: Patterns. (line 131) d149 1 a149 1 * error rules, to eliminate backing up: Performance. (line 102) d151 1 a151 1 * exiting with yyterminate(): Actions. (line 213) d153 1 a153 1 * extended scope of start conditions: Start Conditions. (line 270) d158 1 a158 1 * flushing the internal buffer: Actions. (line 207) d164 2 a165 2 (line 189) * halting with yyterminate(): Actions. (line 213) d168 2 a169 2 * header files, with C++: Cxx. (line 189) * include files, with C++: Cxx. (line 189) d173 2 a174 2 * input(): Actions. (line 174) * input(), and C++: Actions. (line 203) d177 1 a177 1 * keywords, for performance: Performance. (line 200) d189 1 a189 1 * Makefile, explicit example: Makefiles and Flex. (line 32) d191 1 a191 1 * matching C-style double-quoted strings: Start Conditions. (line 203) d203 1 a203 1 * memory, for start condition stacks: Start Conditions. (line 301) d211 1 a211 1 * name definitions, not POSIX: Lex and Posix. (line 75) d213 3 a215 3 * newline, matching in patterns: Patterns. (line 135) * non-POSIX features of flex: Lex and Posix. (line 144) * noyywrap, %option: Generated Scanner. (line 93) d224 3 a226 3 (line 42) * Pascal-like language: Simple Examples. (line 50) * pattern aliases, defining: Definitions Section. (line 21) d229 3 a231 3 * pattern aliases, use of: Definitions Section. (line 28) * patterns and actions on different lines: Lex and Posix. (line 101) * patterns, character class equivalence: Patterns. (line 205) d233 2 a234 2 * patterns, end of line: Patterns. (line 299) * patterns, grouping and precedence: Patterns. (line 167) d236 1 a236 1 * patterns, invalid trailing context: Patterns. (line 284) d238 2 a239 2 * patterns, precedence of operators: Patterns. (line 161) * patterns, repetitions with grouping: Patterns. (line 184) d241 1 a241 1 (line 292) d243 2 a244 2 * patterns, tuning for performance: Performance. (line 49) * patterns, valid character classes: Patterns. (line 192) d246 1 a246 1 (line 167) d248 2 a249 2 (line 205) * performance, backing up: Performance. (line 49) d251 1 a251 1 * performance, using keywords: Performance. (line 200) d255 1 a255 1 * POSIX comp;compliance: Lex and Posix. (line 144) d257 1 a257 1 * preprocessor macros, for use in actions: Actions. (line 51) d260 4 a263 4 * pushing back characters with unput: Actions. (line 144) * pushing back characters with unput(): Actions. (line 148) * pushing back characters with yyless: Actions. (line 132) * pushing back EOF: Actions. (line 171) d266 1 a266 1 * recognizing C comments: Start Conditions. (line 143) d269 1 a269 1 * reentrant scanners, recursive invocation: Reentrant Uses. (line 30) d281 2 a282 2 * REJECT: Actions. (line 62) * REJECT, calling multiple times: Actions. (line 84) d285 3 a287 3 * restarting the scanner: Lex and Posix. (line 54) * RETURN, within actions: Generated Scanner. (line 57) * rules, default: Simple Examples. (line 15) d295 1 a295 1 (line 26) d300 1 a300 1 * stacks, routines for manipulating: Start Conditions. (line 286) d302 1 a302 1 (line 258) d305 2 a306 2 (line 82) * start conditions, exclusive: Start Conditions. (line 53) d308 3 a310 3 (line 112) * start conditions, in patterns: Patterns. (line 140) * start conditions, inclusive: Start Conditions. (line 44) d312 3 a314 3 (line 24) * start conditions, integer values: Start Conditions. (line 163) * start conditions, multiple: Start Conditions. (line 17) d316 2 a317 2 (line 68) * start conditions, use of a stack: Start Conditions. (line 286) d319 4 a322 4 (line 72) * start conditions, using BEGIN: Start Conditions. (line 95) * stdin, default for yyin: Generated Scanner. (line 37) * stdout, as default for yyout: Generated Scanner. (line 101) d324 1 a324 1 (line 175) d332 1 a332 1 * terminating with yyterminate(): Actions. (line 213) d334 2 a335 2 * trailing context, in patterns: Patterns. (line 118) * trailing context, limits of: Patterns. (line 274) d338 4 a341 4 * trailing context, variable length: Performance. (line 141) * unput(): Actions. (line 144) * unput(), and %pointer: Actions. (line 163) * unput(), pushing back characters: Actions. (line 148) d345 1 a345 1 (line 163) d350 1 a350 1 * whitespace, compressing: Actions. (line 22) d355 5 a359 5 * YY_EXTRA_TYPE, defining your own type: Extra Data. (line 33) * YY_FLUSH_BUFFER: Actions. (line 207) * YY_INPUT: Generated Scanner. (line 61) * YY_INPUT, overriding: Generated Scanner. (line 71) * YY_START, example: Start Conditions. (line 185) d366 2 a367 2 * yyin: Generated Scanner. (line 37) * yyinput(): Actions. (line 203) d369 3 a371 3 * yyleng, modification of: Actions. (line 48) * yyless(): Actions. (line 126) * yyless(), pushing back characters: Actions. (line 132) d373 3 a375 3 * yylex(), overriding: Generated Scanner. (line 16) * yylex, overriding the prototype of: Generated Scanner. (line 20) * yylineno, in a reentrant scanner: Reentrant Functions. (line 36) d377 6 a382 6 * yymore(): Actions. (line 105) * yymore() to append token to previous token: Actions. (line 111) * yymore(), mega-kludge: Actions. (line 111) * yymore, and yyleng: Actions. (line 48) * yymore, performance penalty of: Actions. (line 120) * yyout: Generated Scanner. (line 101) d385 2 a386 2 * yyrestart(): Generated Scanner. (line 42) * yyterminate(): Actions. (line 213) d391 6 a396 6 * yytext, modification of: Actions. (line 42) * yytext, two types of: Matching. (line 29) * yywrap(): Generated Scanner. (line 85) * yywrap, default for: Generated Scanner. (line 93) * |, in actions: Actions. (line 33) * |, use of: Actions. (line 84) d405 1 a405 1 functions. For macros that expand to variables or constants, see *note d411 1 a411 1 * BEGIN: Start Conditions. (line 84) d419 1 a419 1 * YY_AT_BOL: Misc Macros. (line 46) d429 2 a430 2 * yy_pop_state: Start Conditions. (line 296) * yy_push_state: Start Conditions. (line 290) d432 1 a432 1 (line 198) d434 1 a434 1 (line 188) d436 3 a438 3 (line 184) * yy_set_bol: Misc Macros. (line 40) * yy_set_interactive: Misc Macros. (line 28) d441 1 a441 1 * yy_top_state: Start Conditions. (line 299) d487 1 a487 1 * INITIAL: Start Conditions. (line 84) d490 2 a491 2 (line 196) * YY_NUM_RULES: Misc Macros. (line 16) d493 1 a493 1 * YY_START: Start Conditions. (line 191) d505 1 a505 1 * yytext: Matching. (line 29) d521 1 a521 1 (line 209) d540 1 a540 1 * YY_BREAK: Misc Macros. (line 49) d542 1 a542 1 * YY_USER_INIT: Misc Macros. (line 23) d582 1 a582 1 (line 100) d584 1 a584 1 (line 95) d594 1 a594 1 (line 100) d599 1 a599 1 * --nodefault: Debugging Options. (line 43) d603 2 a604 2 (line 105) * --nowarn: Debugging Options. (line 55) d611 1 a611 1 * --perf-report: Debugging Options. (line 31) d634 2 a635 2 * --trace: Debugging Options. (line 49) * --verbose: Debugging Options. (line 58) d638 1 a638 1 * --warn: Debugging Options. (line 66) d640 1 a640 1 (line 114) d670 1 a670 1 (line 100) d672 1 a672 1 (line 95) d687 1 a687 1 * -p: Debugging Options. (line 31) d692 2 a693 2 * -s: Debugging Options. (line 43) * -T: Debugging Options. (line 49) d698 2 a699 2 * -v: Debugging Options. (line 58) * -w: Debugging Options. (line 55) d733 1 a733 1 (line 100) d735 1 a735 1 (line 95) d743 1 a743 1 (line 100) d746 1 a746 1 * nodefault: Debugging Options. (line 43) d750 2 a751 2 (line 105) * nowarn: Debugging Options. (line 55) d756 1 a756 1 * perf-report: Debugging Options. (line 31) d777 3 a779 3 * trace: Debugging Options. (line 49) * verbose: Debugging Options. (line 58) * warn: Debugging Options. (line 66) d781 1 a781 1 (line 114) @ 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. d53 11 a63 11 * $ as normal character in patterns: Patterns. (line 274) * %array, advantages of: Matching. (line 43) * %array, use of: Matching. (line 29) * %array, with C++: Matching. (line 65) * %option noyywrapp: Generated Scanner. (line 93) * %pointer, and unput(): Actions. (line 163) * %pointer, use of: Matching. (line 29) * %top: Definitions Section. (line 44) * %{ and %}, in Definitions Section: Definitions Section. (line 40) * %{ and %}, in Rules Section: Actions. (line 26) * <>, use of: EOF. (line 33) d65 1 a65 1 * ^ as non-special character in patterns: Patterns. (line 274) d68 3 a70 3 * actions, embedded C strings: Actions. (line 26) * actions, redefining YY_BREAK: Misc Macros. (line 49) * actions, use of { and }: Actions. (line 26) d74 7 a80 7 * backing up, eliminating: Performance. (line 54) * backing up, eliminating by adding error rules: Performance. (line 104) * backing up, eliminating with catch-all rule: Performance. (line 118) * backing up, example of eliminating: Performance. (line 49) * BEGIN: Actions. (line 58) * BEGIN, explanation: Start Conditions. (line 84) * beginning of line, in patterns: Patterns. (line 127) d82 5 a86 5 * bison, parser: Bison Bridge. (line 54) * bison, scanner to be called from bison: Bison Bridge. (line 35) * BOL, checking the BOL flag: Misc Macros. (line 46) * BOL, in patterns: Patterns. (line 127) * BOL, setting it: Misc Macros. (line 40) d89 1 a89 1 * C code in flex input: Definitions Section. (line 40) d94 1 a94 1 * C++ scanners, including multiple scanners: Cxx. (line 189) d97 4 a100 4 * C++, multiple different scanners: Cxx. (line 183) * C-strings, in actions: Actions. (line 26) * case-insensitive, effect on character classes: Patterns. (line 216) * character classes in patterns: Patterns. (line 186) d102 1 a102 1 * character classes, equivalence of: Patterns. (line 205) d106 1 a106 1 * comments in flex input: Definitions Section. (line 37) d109 3 a111 3 * comments, discarding: Actions. (line 177) * comments, example of scanning C comments: Start Conditions. (line 140) * comments, in actions: Actions. (line 26) d118 2 a119 2 * compressing whitespace: Actions. (line 22) * concatenation, in patterns: Patterns. (line 111) d121 1 a121 1 * counting characters and lines: Simple Examples. (line 24) d125 2 a126 2 * default rule: Simple Examples. (line 15) * defining pattern aliases: Definitions Section. (line 21) d129 1 a129 1 * discarding C comments: Actions. (line 177) d131 9 a139 9 * ECHO: Actions. (line 55) * ECHO, and yyout: Generated Scanner. (line 101) * embedding C code in flex input: Definitions Section. (line 40) * end of file, in patterns: Patterns. (line 150) * end of line, in negated character classes: Patterns. (line 237) * end of line, in patterns: Patterns. (line 131) * end-of-file, and yyrestart(): Generated Scanner. (line 42) * EOF and yyrestart(): Generated Scanner. (line 42) * EOF in patterns, syntax of: Patterns. (line 150) d143 3 a145 3 * EOF, pushing back: Actions. (line 171) * EOL, in negated character classes: Patterns. (line 237) * EOL, in patterns: Patterns. (line 131) d149 1 a149 1 * error rules, to eliminate backing up: Performance. (line 102) d151 1 a151 1 * exiting with yyterminate(): Actions. (line 213) d153 1 a153 1 * extended scope of start conditions: Start Conditions. (line 270) d158 1 a158 1 * flushing the internal buffer: Actions. (line 207) d164 2 a165 2 (line 189) * halting with yyterminate(): Actions. (line 213) d168 2 a169 2 * header files, with C++: Cxx. (line 189) * include files, with C++: Cxx. (line 189) d173 2 a174 2 * input(): Actions. (line 174) * input(), and C++: Actions. (line 203) d177 1 a177 1 * keywords, for performance: Performance. (line 200) d189 1 a189 1 * Makefile, explicit example: Makefiles and Flex. (line 32) d191 1 a191 1 * matching C-style double-quoted strings: Start Conditions. (line 203) d203 1 a203 1 * memory, for start condition stacks: Start Conditions. (line 301) d211 1 a211 1 * name definitions, not POSIX: Lex and Posix. (line 75) d213 3 a215 3 * newline, matching in patterns: Patterns. (line 135) * non-POSIX features of flex: Lex and Posix. (line 144) * noyywrap, %option: Generated Scanner. (line 93) d224 3 a226 3 (line 42) * Pascal-like language: Simple Examples. (line 50) * pattern aliases, defining: Definitions Section. (line 21) d229 3 a231 3 * pattern aliases, use of: Definitions Section. (line 28) * patterns and actions on different lines: Lex and Posix. (line 101) * patterns, character class equivalence: Patterns. (line 205) d233 2 a234 2 * patterns, end of line: Patterns. (line 299) * patterns, grouping and precedence: Patterns. (line 167) d236 1 a236 1 * patterns, invalid trailing context: Patterns. (line 284) d238 2 a239 2 * patterns, precedence of operators: Patterns. (line 161) * patterns, repetitions with grouping: Patterns. (line 184) d241 1 a241 1 (line 292) d243 2 a244 2 * patterns, tuning for performance: Performance. (line 49) * patterns, valid character classes: Patterns. (line 192) d246 1 a246 1 (line 167) d248 2 a249 2 (line 205) * performance, backing up: Performance. (line 49) d251 1 a251 1 * performance, using keywords: Performance. (line 200) d255 1 a255 1 * POSIX comp;compliance: Lex and Posix. (line 144) d257 1 a257 1 * preprocessor macros, for use in actions: Actions. (line 51) d260 4 a263 4 * pushing back characters with unput: Actions. (line 144) * pushing back characters with unput(): Actions. (line 148) * pushing back characters with yyless: Actions. (line 132) * pushing back EOF: Actions. (line 171) d266 1 a266 1 * recognizing C comments: Start Conditions. (line 143) d269 1 a269 1 * reentrant scanners, recursive invocation: Reentrant Uses. (line 30) d281 2 a282 2 * REJECT: Actions. (line 62) * REJECT, calling multiple times: Actions. (line 84) d285 3 a287 3 * restarting the scanner: Lex and Posix. (line 54) * RETURN, within actions: Generated Scanner. (line 57) * rules, default: Simple Examples. (line 15) d295 1 a295 1 (line 26) d300 1 a300 1 * stacks, routines for manipulating: Start Conditions. (line 286) d302 1 a302 1 (line 258) d305 2 a306 2 (line 82) * start conditions, exclusive: Start Conditions. (line 53) d308 3 a310 3 (line 112) * start conditions, in patterns: Patterns. (line 140) * start conditions, inclusive: Start Conditions. (line 44) d312 3 a314 3 (line 24) * start conditions, integer values: Start Conditions. (line 163) * start conditions, multiple: Start Conditions. (line 17) d316 2 a317 2 (line 68) * start conditions, use of a stack: Start Conditions. (line 286) d319 4 a322 4 (line 72) * start conditions, using BEGIN: Start Conditions. (line 95) * stdin, default for yyin: Generated Scanner. (line 37) * stdout, as default for yyout: Generated Scanner. (line 101) d324 1 a324 1 (line 175) d332 1 a332 1 * terminating with yyterminate(): Actions. (line 213) d334 2 a335 2 * trailing context, in patterns: Patterns. (line 118) * trailing context, limits of: Patterns. (line 274) d338 4 a341 4 * trailing context, variable length: Performance. (line 141) * unput(): Actions. (line 144) * unput(), and %pointer: Actions. (line 163) * unput(), pushing back characters: Actions. (line 148) d345 1 a345 1 (line 163) d350 1 a350 1 * whitespace, compressing: Actions. (line 22) d355 5 a359 5 * YY_EXTRA_TYPE, defining your own type: Extra Data. (line 33) * YY_FLUSH_BUFFER: Actions. (line 207) * YY_INPUT: Generated Scanner. (line 61) * YY_INPUT, overriding: Generated Scanner. (line 71) * YY_START, example: Start Conditions. (line 185) d366 2 a367 2 * yyin: Generated Scanner. (line 37) * yyinput(): Actions. (line 203) d369 3 a371 3 * yyleng, modification of: Actions. (line 48) * yyless(): Actions. (line 126) * yyless(), pushing back characters: Actions. (line 132) d373 3 a375 3 * yylex(), overriding: Generated Scanner. (line 16) * yylex, overriding the prototype of: Generated Scanner. (line 20) * yylineno, in a reentrant scanner: Reentrant Functions. (line 36) d377 6 a382 6 * yymore(): Actions. (line 105) * yymore() to append token to previous token: Actions. (line 111) * yymore(), mega-kludge: Actions. (line 111) * yymore, and yyleng: Actions. (line 48) * yymore, performance penalty of: Actions. (line 120) * yyout: Generated Scanner. (line 101) d385 2 a386 2 * yyrestart(): Generated Scanner. (line 42) * yyterminate(): Actions. (line 213) d391 6 a396 6 * yytext, modification of: Actions. (line 42) * yytext, two types of: Matching. (line 29) * yywrap(): Generated Scanner. (line 85) * yywrap, default for: Generated Scanner. (line 93) * |, in actions: Actions. (line 33) * |, use of: Actions. (line 84) d405 1 a405 1 functions. For macros that expand to variables or constants, see *note d411 1 a411 1 * BEGIN: Start Conditions. (line 84) d419 1 a419 1 * YY_AT_BOL: Misc Macros. (line 46) d429 2 a430 2 * yy_pop_state: Start Conditions. (line 296) * yy_push_state: Start Conditions. (line 290) d432 1 a432 1 (line 198) d434 1 a434 1 (line 188) d436 3 a438 3 (line 184) * yy_set_bol: Misc Macros. (line 40) * yy_set_interactive: Misc Macros. (line 28) d441 1 a441 1 * yy_top_state: Start Conditions. (line 299) d487 1 a487 1 * INITIAL: Start Conditions. (line 84) d490 2 a491 2 (line 196) * YY_NUM_RULES: Misc Macros. (line 16) d493 1 a493 1 * YY_START: Start Conditions. (line 191) d505 1 a505 1 * yytext: Matching. (line 29) d521 1 a521 1 (line 209) d540 1 a540 1 * YY_BREAK: Misc Macros. (line 49) d542 1 a542 1 * YY_USER_INIT: Misc Macros. (line 23) d582 1 a582 1 (line 100) d584 1 a584 1 (line 95) d594 1 a594 1 (line 100) d599 1 a599 1 * --nodefault: Debugging Options. (line 43) d603 2 a604 2 (line 105) * --nowarn: Debugging Options. (line 55) d611 1 a611 1 * --perf-report: Debugging Options. (line 31) d634 2 a635 2 * --trace: Debugging Options. (line 49) * --verbose: Debugging Options. (line 58) d638 1 a638 1 * --warn: Debugging Options. (line 66) d640 1 a640 1 (line 114) d670 1 a670 1 (line 100) d672 1 a672 1 (line 95) d687 1 a687 1 * -p: Debugging Options. (line 31) d692 2 a693 2 * -s: Debugging Options. (line 43) * -T: Debugging Options. (line 49) d698 2 a699 2 * -v: Debugging Options. (line 58) * -w: Debugging Options. (line 55) d733 1 a733 1 (line 100) d735 1 a735 1 (line 95) d743 1 a743 1 (line 100) d746 1 a746 1 * nodefault: Debugging Options. (line 43) d750 2 a751 2 (line 105) * nowarn: Debugging Options. (line 55) d756 1 a756 1 * perf-report: Debugging Options. (line 31) d777 3 a779 3 * trace: Debugging Options. (line 49) * verbose: Debugging Options. (line 58) * warn: Debugging Options. (line 66) d781 1 a781 1 (line 114) @ 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. d53 11 a63 11 * $ as normal character in patterns: Patterns. (line 274) * %array, advantages of: Matching. (line 43) * %array, use of: Matching. (line 29) * %array, with C++: Matching. (line 65) * %option noyywrapp: Generated Scanner. (line 93) * %pointer, and unput(): Actions. (line 163) * %pointer, use of: Matching. (line 29) * %top: Definitions Section. (line 44) * %{ and %}, in Definitions Section: Definitions Section. (line 40) * %{ and %}, in Rules Section: Actions. (line 26) * <>, use of: EOF. (line 33) d65 1 a65 1 * ^ as non-special character in patterns: Patterns. (line 274) d68 3 a70 3 * actions, embedded C strings: Actions. (line 26) * actions, redefining YY_BREAK: Misc Macros. (line 49) * actions, use of { and }: Actions. (line 26) d74 7 a80 7 * backing up, eliminating: Performance. (line 54) * backing up, eliminating by adding error rules: Performance. (line 104) * backing up, eliminating with catch-all rule: Performance. (line 118) * backing up, example of eliminating: Performance. (line 49) * BEGIN: Actions. (line 58) * BEGIN, explanation: Start Conditions. (line 84) * beginning of line, in patterns: Patterns. (line 127) d82 5 a86 5 * bison, parser: Bison Bridge. (line 54) * bison, scanner to be called from bison: Bison Bridge. (line 35) * BOL, checking the BOL flag: Misc Macros. (line 46) * BOL, in patterns: Patterns. (line 127) * BOL, setting it: Misc Macros. (line 40) d89 1 a89 1 * C code in flex input: Definitions Section. (line 40) d94 1 a94 1 * C++ scanners, including multiple scanners: Cxx. (line 189) d97 4 a100 4 * C++, multiple different scanners: Cxx. (line 183) * C-strings, in actions: Actions. (line 26) * case-insensitive, effect on character classes: Patterns. (line 216) * character classes in patterns: Patterns. (line 186) d102 1 a102 1 * character classes, equivalence of: Patterns. (line 205) d106 1 a106 1 * comments in flex input: Definitions Section. (line 37) d109 3 a111 3 * comments, discarding: Actions. (line 177) * comments, example of scanning C comments: Start Conditions. (line 140) * comments, in actions: Actions. (line 26) d118 2 a119 2 * compressing whitespace: Actions. (line 22) * concatenation, in patterns: Patterns. (line 111) d121 1 a121 1 * counting characters and lines: Simple Examples. (line 24) d125 2 a126 2 * default rule: Simple Examples. (line 15) * defining pattern aliases: Definitions Section. (line 21) d129 1 a129 1 * discarding C comments: Actions. (line 177) d131 9 a139 9 * ECHO: Actions. (line 55) * ECHO, and yyout: Generated Scanner. (line 101) * embedding C code in flex input: Definitions Section. (line 40) * end of file, in patterns: Patterns. (line 150) * end of line, in negated character classes: Patterns. (line 237) * end of line, in patterns: Patterns. (line 131) * end-of-file, and yyrestart(): Generated Scanner. (line 42) * EOF and yyrestart(): Generated Scanner. (line 42) * EOF in patterns, syntax of: Patterns. (line 150) d143 3 a145 3 * EOF, pushing back: Actions. (line 171) * EOL, in negated character classes: Patterns. (line 237) * EOL, in patterns: Patterns. (line 131) d149 1 a149 1 * error rules, to eliminate backing up: Performance. (line 102) d151 1 a151 1 * exiting with yyterminate(): Actions. (line 213) d153 1 a153 1 * extended scope of start conditions: Start Conditions. (line 270) d158 1 a158 1 * flushing the internal buffer: Actions. (line 207) d164 2 a165 2 (line 189) * halting with yyterminate(): Actions. (line 213) d168 2 a169 2 * header files, with C++: Cxx. (line 189) * include files, with C++: Cxx. (line 189) d173 2 a174 2 * input(): Actions. (line 174) * input(), and C++: Actions. (line 203) d177 1 a177 1 * keywords, for performance: Performance. (line 200) d189 1 a189 1 * Makefile, explicit example: Makefiles and Flex. (line 32) d191 1 a191 1 * matching C-style double-quoted strings: Start Conditions. (line 203) d203 1 a203 1 * memory, for start condition stacks: Start Conditions. (line 301) d211 1 a211 1 * name definitions, not POSIX: Lex and Posix. (line 75) d213 3 a215 3 * newline, matching in patterns: Patterns. (line 135) * non-POSIX features of flex: Lex and Posix. (line 144) * noyywrap, %option: Generated Scanner. (line 93) d224 3 a226 3 (line 42) * Pascal-like language: Simple Examples. (line 50) * pattern aliases, defining: Definitions Section. (line 21) d229 3 a231 3 * pattern aliases, use of: Definitions Section. (line 28) * patterns and actions on different lines: Lex and Posix. (line 101) * patterns, character class equivalence: Patterns. (line 205) d233 2 a234 2 * patterns, end of line: Patterns. (line 299) * patterns, grouping and precedence: Patterns. (line 167) d236 1 a236 1 * patterns, invalid trailing context: Patterns. (line 284) d238 2 a239 2 * patterns, precedence of operators: Patterns. (line 161) * patterns, repetitions with grouping: Patterns. (line 184) d241 1 a241 1 (line 292) d243 2 a244 2 * patterns, tuning for performance: Performance. (line 49) * patterns, valid character classes: Patterns. (line 192) d246 1 a246 1 (line 167) d248 2 a249 2 (line 205) * performance, backing up: Performance. (line 49) d251 1 a251 1 * performance, using keywords: Performance. (line 200) d255 1 a255 1 * POSIX comp;compliance: Lex and Posix. (line 144) d257 1 a257 1 * preprocessor macros, for use in actions: Actions. (line 51) d260 4 a263 4 * pushing back characters with unput: Actions. (line 144) * pushing back characters with unput(): Actions. (line 148) * pushing back characters with yyless: Actions. (line 132) * pushing back EOF: Actions. (line 171) d266 1 a266 1 * recognizing C comments: Start Conditions. (line 143) d269 1 a269 1 * reentrant scanners, recursive invocation: Reentrant Uses. (line 30) d281 2 a282 2 * REJECT: Actions. (line 62) * REJECT, calling multiple times: Actions. (line 84) d285 3 a287 3 * restarting the scanner: Lex and Posix. (line 54) * RETURN, within actions: Generated Scanner. (line 57) * rules, default: Simple Examples. (line 15) d295 1 a295 1 (line 26) d300 1 a300 1 * stacks, routines for manipulating: Start Conditions. (line 286) d302 1 a302 1 (line 258) d305 2 a306 2 (line 82) * start conditions, exclusive: Start Conditions. (line 53) d308 3 a310 3 (line 112) * start conditions, in patterns: Patterns. (line 140) * start conditions, inclusive: Start Conditions. (line 44) d312 3 a314 3 (line 24) * start conditions, integer values: Start Conditions. (line 163) * start conditions, multiple: Start Conditions. (line 17) d316 2 a317 2 (line 68) * start conditions, use of a stack: Start Conditions. (line 286) d319 4 a322 4 (line 72) * start conditions, using BEGIN: Start Conditions. (line 95) * stdin, default for yyin: Generated Scanner. (line 37) * stdout, as default for yyout: Generated Scanner. (line 101) d324 1 a324 1 (line 175) d332 1 a332 1 * terminating with yyterminate(): Actions. (line 213) d334 2 a335 2 * trailing context, in patterns: Patterns. (line 118) * trailing context, limits of: Patterns. (line 274) d338 4 a341 4 * trailing context, variable length: Performance. (line 141) * unput(): Actions. (line 144) * unput(), and %pointer: Actions. (line 163) * unput(), pushing back characters: Actions. (line 148) d345 1 a345 1 (line 163) d350 1 a350 1 * whitespace, compressing: Actions. (line 22) d355 5 a359 5 * YY_EXTRA_TYPE, defining your own type: Extra Data. (line 33) * YY_FLUSH_BUFFER: Actions. (line 207) * YY_INPUT: Generated Scanner. (line 61) * YY_INPUT, overriding: Generated Scanner. (line 71) * YY_START, example: Start Conditions. (line 185) d366 2 a367 2 * yyin: Generated Scanner. (line 37) * yyinput(): Actions. (line 203) d369 3 a371 3 * yyleng, modification of: Actions. (line 48) * yyless(): Actions. (line 126) * yyless(), pushing back characters: Actions. (line 132) d373 3 a375 3 * yylex(), overriding: Generated Scanner. (line 16) * yylex, overriding the prototype of: Generated Scanner. (line 20) * yylineno, in a reentrant scanner: Reentrant Functions. (line 36) d377 6 a382 6 * yymore(): Actions. (line 105) * yymore() to append token to previous token: Actions. (line 111) * yymore(), mega-kludge: Actions. (line 111) * yymore, and yyleng: Actions. (line 48) * yymore, performance penalty of: Actions. (line 120) * yyout: Generated Scanner. (line 101) d385 2 a386 2 * yyrestart(): Generated Scanner. (line 42) * yyterminate(): Actions. (line 213) d391 6 a396 6 * yytext, modification of: Actions. (line 42) * yytext, two types of: Matching. (line 29) * yywrap(): Generated Scanner. (line 85) * yywrap, default for: Generated Scanner. (line 93) * |, in actions: Actions. (line 33) * |, use of: Actions. (line 84) d405 1 a405 1 functions. For macros that expand to variables or constants, see *note d411 1 a411 1 * BEGIN: Start Conditions. (line 84) d419 1 a419 1 * YY_AT_BOL: Misc Macros. (line 46) d429 2 a430 2 * yy_pop_state: Start Conditions. (line 296) * yy_push_state: Start Conditions. (line 290) d432 1 a432 1 (line 198) d434 1 a434 1 (line 188) d436 3 a438 3 (line 184) * yy_set_bol: Misc Macros. (line 40) * yy_set_interactive: Misc Macros. (line 28) d441 1 a441 1 * yy_top_state: Start Conditions. (line 299) d487 1 a487 1 * INITIAL: Start Conditions. (line 84) d490 2 a491 2 (line 196) * YY_NUM_RULES: Misc Macros. (line 16) d493 1 a493 1 * YY_START: Start Conditions. (line 191) d505 1 a505 1 * yytext: Matching. (line 29) d521 1 a521 1 (line 209) d540 1 a540 1 * YY_BREAK: Misc Macros. (line 49) d542 1 a542 1 * YY_USER_INIT: Misc Macros. (line 23) d582 1 a582 1 (line 100) d584 1 a584 1 (line 95) d594 1 a594 1 (line 100) d599 1 a599 1 * --nodefault: Debugging Options. (line 43) d603 2 a604 2 (line 105) * --nowarn: Debugging Options. (line 55) d611 1 a611 1 * --perf-report: Debugging Options. (line 31) d634 2 a635 2 * --trace: Debugging Options. (line 49) * --verbose: Debugging Options. (line 58) d638 1 a638 1 * --warn: Debugging Options. (line 66) d640 1 a640 1 (line 114) d670 1 a670 1 (line 100) d672 1 a672 1 (line 95) d687 1 a687 1 * -p: Debugging Options. (line 31) d692 2 a693 2 * -s: Debugging Options. (line 43) * -T: Debugging Options. (line 49) d698 2 a699 2 * -v: Debugging Options. (line 58) * -w: Debugging Options. (line 55) d733 1 a733 1 (line 100) d735 1 a735 1 (line 95) d743 1 a743 1 (line 100) d746 1 a746 1 * nodefault: Debugging Options. (line 43) d750 2 a751 2 (line 105) * nowarn: Debugging Options. (line 55) d756 1 a756 1 * perf-report: Debugging Options. (line 31) d777 3 a779 3 * trace: Debugging Options. (line 49) * verbose: Debugging Options. (line 58) * warn: Debugging Options. (line 66) d781 1 a781 1 (line 114) @ 1.1.1.3 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 d43 354 a396 4 INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * flex: (flex). Fast lexical analyzer generator (lex replacement). END-INFO-DIR-ENTRY d413 3 a415 3 * LexerError (C++ only): Cxx. (line 112) * LexerInput (C++ only): Cxx. (line 97) * LexerOutput (C++ only): Cxx. (line 107) d418 24 a441 1 * switch_streams (C++ only): Cxx. (line 82) d444 1 a445 1 * yyget_extra <1>: Reentrant Functions. (line 8) d452 2 a453 3 * yylex (C++ version): Cxx. (line 70) * yylex (reentrant version): Bison Bridge. (line 22) * yylex (reentrant version) <1>: Bison Bridge. (line 27) d459 1 a459 1 (line 60) d461 2 a462 2 (line 52) * yyrestart: User Values. (line 38) d464 1 a465 1 * yyset_extra <1>: Reentrant Functions. (line 8) d470 1 a470 1 (line 23) d472 1 a472 1 (line 10) a473 23 * YY_AT_BOL: Misc Macros. (line 46) * yy_create_buffer: Multiple Input Buffers. (line 19) * yy_delete_buffer: Multiple Input Buffers. (line 46) * yy_flush_buffer: Multiple Input Buffers. (line 66) * yy_new_buffer: Multiple Input Buffers. (line 72) * YY_NEW_FILE (now obsolete): EOF. (line 11) * yy_pop_state: Start Conditions. (line 295) * yy_push_state: Start Conditions. (line 289) * yy_scan_buffer: Multiple Input Buffers. (line 196) * yy_scan_bytes: Multiple Input Buffers. (line 186) * yy_scan_string: Multiple Input Buffers. (line 183) * yy_set_bol: Misc Macros. (line 40) * yy_set_interactive: Misc Macros. (line 28) * yy_switch_to_buffer: Multiple Input Buffers. (line 35) * yy_top_state: Start Conditions. (line 298) d488 6 d501 1 a501 1 * yyout: User Values. (line 45) d504 1 a505 7 * yytext <1>: User Values. (line 9) * YY_CURRENT_BUFFER: User Values. (line 49) * YY_END_OF_BUFFER_CHAR: Multiple Input Buffers. (line 196) * YY_NUM_RULES: Misc Macros. (line 16) * YY_START: Start Conditions. (line 191) * YY_START <1>: User Values. (line 52) d517 5 a525 5 * YY_BUFFER_STATE: Multiple Input Buffers. (line 25) * YY_EXTRA_TYPE (reentrant only): Extra Data. (line 20) * yy_size_t: Multiple Input Buffers. (line 208) d533 3 a535 3 This is an index of "hooks" that the user may define. These hooks typically correspond to specific locations in the generated scanner, and may be used to insert arbitrary code. d554 1 a554 1 (line 49) d556 1 a556 1 (line 56) d558 1 a558 1 (line 80) d562 1 a562 1 (line 92) d564 1 a564 1 (line 53) d569 1 a569 1 (line 16) d571 1 a571 1 (line 23) d573 1 a573 1 (line 49) d578 1 a578 1 (line 89) d590 1 a590 1 (line 32) d594 1 a594 1 (line 99) d598 1 a598 1 (line 100) d601 1 a601 1 (line 28) d603 1 a603 1 (line 104) d608 1 a608 1 (line 11) d613 1 a613 1 (line 56) d615 1 a615 1 (line 104) d617 1 a617 1 (line 60) d621 1 a621 1 (line 37) d625 1 a625 1 (line 124) d627 1 a627 1 (line 128) d640 1 a640 1 (line 113) d642 1 a642 1 (line 137) d644 1 a644 1 (line 145) d646 1 a646 1 (line 56) d648 2 a649 1 (line 80) d652 2 a653 1 * -b: Debugging Options. (line 6) a655 2 * -c: Miscellaneous Options. (line 6) d660 2 a663 2 * -CF: Options for Scanner Speed and Size. (line 40) d669 2 a672 2 * -F: Options for Scanner Speed and Size. (line 100) d675 2 d679 2 a680 2 * -I: Options Affecting Scanner Behavior. (line 32) a682 2 * -L: Code-Level And API Options. (line 28) d687 1 d689 1 a689 2 (line 60) * -p: Debugging Options. (line 31) d691 1 a691 1 (line 37) d693 1 a695 2 * -T: Debugging Options. (line 49) * -v: Debugging Options. (line 58) d698 1 d701 1 a701 1 (line 104) d703 1 a703 1 (line 56) d705 1 a705 1 (line 80) d709 1 a709 1 (line 92) d713 1 a713 1 (line 11) d715 1 a715 1 (line 53) d720 1 a720 1 (line 16) d722 1 a722 1 (line 23) d724 1 a724 1 (line 49) d729 1 a729 1 (line 89) d739 1 a739 1 (line 32) d743 1 a743 1 (line 99) d748 1 a748 1 (line 28) d750 1 a750 1 (line 104) d758 1 a758 1 (line 56) d760 1 a760 1 (line 104) d762 1 a762 1 (line 60) d766 1 a766 1 (line 37) d768 1 a768 1 (line 124) d770 1 a770 1 (line 128) d781 1 a781 1 (line 113) d783 1 a783 1 (line 137) d785 2 a786 1 (line 145) @ 1.1.1.3.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. d200 1 a200 1 (line 45) d210 1 a210 1 (line 49) d215 1 a215 1 (line 12) d217 1 a217 1 (line 19) d219 1 a219 1 (line 45) d240 1 a240 1 (line 95) d247 1 a247 1 (line 24) d249 1 a249 1 (line 100) d254 1 a254 1 (line 9) d259 1 a259 1 (line 52) d263 1 a263 1 (line 56) d267 1 a267 1 (line 33) d286 1 a286 1 (line 109) d328 1 a328 1 (line 24) d334 1 a334 1 (line 56) d337 1 a337 1 (line 33) d359 1 a359 1 (line 9) d361 1 a361 1 (line 49) d366 1 a366 1 (line 12) d368 1 a368 1 (line 19) d370 1 a370 1 (line 45) d389 1 a389 1 (line 95) d394 1 a394 1 (line 24) d396 1 a396 1 (line 100) d404 1 a404 1 (line 52) d408 1 a408 1 (line 56) d412 1 a412 1 (line 33) d427 1 a427 1 (line 109) @ 1.1.1.4 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. d200 1 a200 1 (line 45) d210 1 a210 1 (line 49) d215 1 a215 1 (line 12) d217 1 a217 1 (line 19) d219 1 a219 1 (line 45) d240 1 a240 1 (line 95) d247 1 a247 1 (line 24) d249 1 a249 1 (line 100) d254 1 a254 1 (line 9) d259 1 a259 1 (line 52) d263 1 a263 1 (line 56) d267 1 a267 1 (line 33) d286 1 a286 1 (line 109) d328 1 a328 1 (line 24) d334 1 a334 1 (line 56) d337 1 a337 1 (line 33) d359 1 a359 1 (line 9) d361 1 a361 1 (line 49) d366 1 a366 1 (line 12) d368 1 a368 1 (line 19) d370 1 a370 1 (line 45) d389 1 a389 1 (line 95) d394 1 a394 1 (line 24) d396 1 a396 1 (line 100) d404 1 a404 1 (line 52) d408 1 a408 1 (line 56) d412 1 a412 1 (line 33) d427 1 a427 1 (line 109) @