summaryrefslogtreecommitdiff
path: root/main.c
Commit message (Collapse)AuthorAge
* Introduce %option extra-type="your_type *" (resolves bug #1744505).Aaron Stone2007-09-10
|
* Changes to resolve SF bugs 1568325 and 1563589.Aaron Stone2007-05-31
|
* add call to setlocale for ctype as per debian patchsetWill Estes2007-04-14
|
* make yywrap work with c++ scanners as per sf bug reportWill Estes2006-10-22
|
* Removed global variable caseins.John Millaway2006-03-27
| | | | | | | | Added scanner stack flags for case-insensitivity. Moved case-folding code from DFA-generation to parse time read-macros. Added localized case-sensitivity syntax from Perl. Added test for new syntax in test suite. Documented new syntax.
* Replaced sprintf with snprintf everywhere.John Millaway2006-03-22
|
* Reverted previous input filter changes.John Millaway2006-03-21
| | | | | Added noop macro to scanner output. Modified scan.l to escape m4 quotes found in user code.
* Moved set_input_file to different file.John Millaway2006-03-21
|
* Added check for locale.h and libintl.h in configure script.John Millaway2006-02-14
|
* Patch for full file system failure.John Millaway2006-02-14
|
* Fixed double-fclose when input file is empty.John Millaway2006-02-13
|
* Improvement request 1069716 log vs. log10John Millaway2005-12-22
|
* Configure checks for GNU m4.John Millaway2003-12-11
| | | | | Environment variable M4 overrides built-in m4 path. Generated m4 does a late check for GNU m4.
* Renamed some internal variables.John Millaway2003-04-01
|
* Added %top block syntax.John Millaway2003-03-27
| | | | | Added test for %top block. Documented %top block.
* merge millaway's m4 branch workWill Estes2003-03-25
|
* Removed yy_current_buffer from the planet.John Millaway2003-02-28
| | | | | | | | | | Input buffer states are now in an internal unbounded stack. Added new internal function, yyensure_buffer_stack. Added new API function, yypush_buffer_state. Added new API function, yypop_buffer_state. Documented the new API calls in the manual. Macro YY_BUFFER_STATE now refers to top of stack. This revision breaks the C++ scanner (again.)
* Removed some symbols from the undef list. They are needed for multiple headersJohn Millaway2003-02-28
| | | | to coexist.
* Added a few macros to the undef list.John Millaway2003-02-26
|
* Put the undef macros in an array.John Millaway2003-02-26
|
* Fixed prefix of yyalloc,yyfree,yyrealloc in C++ scanner.John Millaway2002-11-22
| | | | Removed yylex_destroy from C++ scanner.
* Added %push and %pop operations to skel processing.John Millaway2002-09-19
|
* Serialization works in headers (%option headers).John Millaway2002-09-16
| | | | Serialization code (Tables API) is complete.
* Bison bridge code now works for all C scanners and pure/non-pure bison parsers.John Millaway2002-09-13
| | | | | | | | | | | Added %option bison-bridge (--bison-bridge). Removed %option reentrant-bison/--reentrant-bison/-Rb. Scanner knows the name of its tables. Tables serialization is OK on EOF. yylineno is present in all scanners. Modified nasty performance penalty warning w/ yylineno. test-table-opts is now run last because it's so fat. Updated manual.
* Table deserialization works for everything except --fast scanners.John Millaway2002-09-09
| | | | | | Scanners can auto-verify serialized table integrity via --tables-verify. Added tables API items to TODO list. test-table-opts is becoming exhaustive (a good thing).
* Members of struct yy_trans_info are now forced to be the same size.John Millaway2002-09-07
| | | | | | Added shared file tables_shared.c. Separated tables.h from flexdef.h Bulk of table deserialization code is done.
* Changed option 'header' to 'header-file'. 'header' still works, though.John Millaway2002-09-05
|
* Tons more work on tables.John Millaway2002-09-05
|
* #include fixes; we've factored out all the system include files and put them ↵Will Estes2002-08-29
| | | | in flexdef.h
* ran the indent target; commit the resultsWill Estes2002-08-27
|
* Removed #undef of start conditions.John Millaway2002-08-18
|
* Start conditions now optional in header.John Millaway2002-08-17
| | | | | undef's now optional in header. Start conditions are NOT prefixed.
* Added --tables option.John Millaway2002-08-16
| | | | Omitted tables code from generated scanner when unused.
* Fixed seg fault bug in ecs.John Millaway2002-08-15
|
* conditionally include <locale.h>; include config.h as wellWill Estes2002-08-15
|
* Start condition prefixes attempts to adjust to user preferences.John Millaway2002-08-14
|
* Include start condition symbols in header.John Millaway2002-08-13
|
* Omit user code and tables from generated header file.John Millaway2002-08-13
|
* Added alignment flag for future use.John Millaway2002-08-10
|
* yylineno check is only performed on rules whose regexs can match a newline.John Millaway2002-07-27
|
* Fixed prototype/definition conflicts with "traditional" C in skeleton at ↵John Millaway2002-07-17
| | | | | | | | | | request of gcc developer. Removed duplicate prototypes in gen.c, sym.c, main.c. Added missing prototypes where needed. All functions in skeleton follow ISO C style protos and defs, instead of BOTH ISO and new-style. Skeleton now compiles cleanly under super-strict gcc flags. Flex itself almost compiles cleanly under strict flags.
* Fixed POSIXLY_CORRECT detection in scanner.John Millaway2002-07-12
|
* Removed duplicate definition of FLEX_DEBUG. gcc doesn't care, but other ↵John Millaway2002-07-10
| | | | compilers might.
* Fixed prefix issue with get/set debug functions.John Millaway2002-07-10
| | | | Fixed prefix issues with memory functions.
* Check POSIXLY_CORRECT env variable.John Millaway2002-07-09
|
* Made yy_flex_debug non-global in reentrant scanner.John Millaway2002-07-09
| | | | | | Created get/set functions for yy_flex_debug. Defined prefixes for new yy_flex_debug symbols. Added tests/ for yy_flex_debug.
* fix bug whereby prefix didn't get passed to everybody; patch by ↵Will Estes2002-07-03
| | | | rse@engelschall.com
* address typos in NEWS; add --posix option for ERE parsing the way posix ↵Will Estes2002-06-19
| | | | wants it; update the TODO file
* conditional compile gettext initializationWill Estes2002-04-23
|
* Replaced exit(2) calls with longjmps (in the form of FLEX_EXIT macro).John Millaway2002-04-13
| | | | Moved main() to flex_main() to allow flex to be called from a library.