summaryrefslogtreecommitdiff
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* fix yywrap behavior for reentrant scannerswlestes2012-02-051-3/+5
|
* more better error messages; more better memory handlingwlestes2012-02-031-0/+2
|
* correct macro definition of yywrapwlestes2012-02-031-1/+1
|
* Introduce %option extra-type="your_type *" (resolves bug #1744505).sodabrew2007-09-101-1/+4
|
* Changes to resolve SF bugs 1568325 and 1563589.sodabrew2007-05-311-0/+1
|
* add call to setlocale for ctype as per debian patchsetwlestes2007-04-141-0/+1
|
* make yywrap work with c++ scanners as per sf bug reportwlestes2006-10-221-1/+7
|
* Removed global variable caseins.john432006-03-271-4/+6
| | | | | | | | 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.john432006-03-221-10/+9
|
* Reverted previous input filter changes.john432006-03-211-1/+3
| | | | | Added noop macro to scanner output. Modified scan.l to escape m4 quotes found in user code.
* Moved set_input_file to different file.john432006-03-211-1/+1
|
* Added check for locale.h and libintl.h in configure script.john432006-02-141-0/+2
|
* Patch for full file system failure.john432006-02-141-4/+11
|
* Fixed double-fclose when input file is empty.john432006-02-131-3/+6
|
* Improvement request 1069716 log vs. log10john432005-12-221-1/+1
|
* Configure checks for GNU m4.millaway2003-12-111-5/+9
| | | | | Environment variable M4 overrides built-in m4 path. Generated m4 does a late check for GNU m4.
* Renamed some internal variables.flex-2-5-30millaway2003-04-011-12/+12
|
* Added %top block syntax.millaway2003-03-271-0/+10
| | | | | Added test for %top block. Documented %top block.
* merge millaway's m4 branch workwlestes2003-03-251-296/+168
|
* Removed yy_current_buffer from the planet.millaway2003-02-281-0/+6
| | | | | | | | | | 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 headersmillaway2003-02-281-4/+4
| | | | to coexist.
* Added a few macros to the undef list.millaway2003-02-261-0/+17
|
* Put the undef macros in an array.millaway2003-02-261-145/+155
|
* Fixed prefix of yyalloc,yyfree,yyrealloc in C++ scanner.millaway2002-11-221-3/+7
| | | | Removed yylex_destroy from C++ scanner.
* Added %push and %pop operations to skel processing.millaway2002-09-191-2/+2
|
* Serialization works in headers (%option headers).millaway2002-09-161-0/+6
| | | | Serialization code (Tables API) is complete.
* Bison bridge code now works for all C scanners and pure/non-pure bison parsers.millaway2002-09-131-41/+28
| | | | | | | | | | | 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.millaway2002-09-091-6/+24
| | | | | | 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.millaway2002-09-071-1/+2
| | | | | | 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.millaway2002-09-051-3/+3
|
* Tons more work on tables.millaway2002-09-051-33/+60
|
* #include fixes; we've factored out all the system include files and put them ↵wlestes2002-08-291-5/+1
| | | | in flexdef.h
* ran the indent target; commit the resultswlestes2002-08-271-1449/+1468
|
* Removed #undef of start conditions.millaway2002-08-181-5/+11
|
* Start conditions now optional in header.millaway2002-08-171-3/+9
| | | | | undef's now optional in header. Start conditions are NOT prefixed.
* Added --tables option.millaway2002-08-161-1/+13
| | | | Omitted tables code from generated scanner when unused.
* Fixed seg fault bug in ecs.millaway2002-08-151-4/+4
|
* conditionally include <locale.h>; include config.h as wellwlestes2002-08-151-15/+5
|
* Start condition prefixes attempts to adjust to user preferences.millaway2002-08-141-3/+2
|
* Include start condition symbols in header.millaway2002-08-131-1/+8
|
* Omit user code and tables from generated header file.millaway2002-08-131-0/+12
|
* Added alignment flag for future use.millaway2002-08-101-4/+9
|
* yylineno check is only performed on rules whose regexs can match a newline.millaway2002-07-271-10/+17
|
* Fixed prototype/definition conflicts with "traditional" C in skeleton at ↵millaway2002-07-171-13/+13
| | | | | | | | | | 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.millaway2002-07-121-1/+1
|
* Removed duplicate definition of FLEX_DEBUG. gcc doesn't care, but other ↵millaway2002-07-101-3/+0
| | | | compilers might.
* Fixed prefix issue with get/set debug functions.millaway2002-07-101-0/+11
| | | | Fixed prefix issues with memory functions.
* Check POSIXLY_CORRECT env variable.millaway2002-07-091-0/+23
|
* Made yy_flex_debug non-global in reentrant scanner.millaway2002-07-091-1/+5
| | | | | | 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 ↵wlestes2002-07-031-2/+0
| | | | rse@engelschall.com