47 Commits (0e349f552d3f7008ea28bb0fc67767b594537777)

Author SHA1 Message Date
Peter Johnson 36a4a6c3a3 Port re2c parser from YACC to recursive descent. 18 years ago
Peter Johnson 52055a435d Clean up a few minor nits (warnings). 18 years ago
Peter Johnson 193a0c21d5 re2c-parser.y: Work around a bug in Bison 2.1; Bison 2.1 generates bad code if both 18 years ago
Peter Johnson 305a8e54e8 * re2c/main.c: Include string.h so strlen and memcpy are prototyped. 19 years ago
Peter Johnson aa81c64488 Build cleanups (mostly for warnings) for VC8. 19 years ago
Peter Johnson be9368d872 re2c: Unbreak distcheck. 19 years ago
Peter Johnson b6ed510e7e re2c: Finish update to latest version. 19 years ago
Peter Johnson ccec93a51e re2c: Fix yyaccept warnings. 19 years ago
Peter Johnson 1702e9d833 Continue re2c updates. This one gets rid of the unused label warnings. 19 years ago
Peter Johnson bd45ec37ce * cleanup.c: Add strdup implementation as strdup is nonstandard C. 19 years ago
Peter Johnson 90b7a5d9da Update re2c to May 12, 2004 version. This adds an output file option, so 19 years ago
Peter Johnson 35453721e6 * re2c: Start syncing back up to re2c HEAD. This gets us up to 2004-03-29. 19 years ago
Peter Johnson 38846c5556 * ins.h, scanner.h, dfa.h, code.c, re.h, parse.h, token.h, substr.h: 20 years ago
Peter Johnson fd25e2545d * tools/re2c/Makefile.inc: Update build rules for re2c-parser.c and 20 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Peter Johnson f094f47abb Update auto*, libtool, libltdl, and gettext scripts. 21 years ago
Peter Johnson 2edc4e2865 Convert re2c cleanup.pl to cleanup.c, removing final Perl dependency. 21 years ago
Peter Johnson 4a4aa52a85 Repeat after me: test compile before commit. 22 years ago
Peter Johnson be9dba39c4 Scanner internal to re2c was not catching EOF's properly. 22 years ago
Peter Johnson b5f64623ca Use /usr/bin/env for finding PERL. 22 years ago
Peter Johnson 823fb1b781 Reformat multi-file lists to use many += lines instead of using \ 22 years ago
Peter Johnson aa07d08e5c Remove typedefs for uint/uchar/ushort/ulong to avoid compiler warnings on Linux. 22 years ago
Peter Johnson fa0437c34c Remove unused yyaccept variables (eliminates warnings from generated code). 22 years ago
Peter Johnson 19d22bdbb3 Output something a little more unique than just - for the output file #line's. 22 years ago
Peter Johnson db4c347e32 Generate #line in the output in a useful way. Now it's much more usable for 22 years ago
Peter Johnson c998053da9 Undo part of the tools/re2c flattening. Specifying a re2c_CFLAGS causes 22 years ago
Peter Johnson 582c5ea3d7 Warning cleanups. 23 years ago
Peter Johnson aacbbef7f9 Fix pointer comparison. Should be checking for == NULL, not <0. 23 years ago
Peter Johnson 4c6d5575dc Run through cleanup.pl to get rid of unused labels. 23 years ago
Peter Johnson 00497afd8f Neaten the line-continuation a bit. 23 years ago
Peter Johnson 6c7bb59857 Flatten the tools/re2c build. 23 years ago
Peter Johnson 1f71e995ca Fix a few cases of freeing NULL pointers. 23 years ago
Peter Johnson 9eedce2b89 Cleanup script for re2c output that removes unreferenced labels (significantly 23 years ago
Peter Johnson 5ba3fb01bf Fix 2 major bugs: -b switch caused crash, and all actions got corrupted. 23 years ago
Peter Johnson 3bbc385082 Add bison-generated sources to BUILT_SOURCES and CLEANFILES. 23 years ago
Peter Johnson d11a297283 Portability fixes: include config.h to get rid of inline if necessary, remove 23 years ago
Peter Johnson ad22cf5a0a Add local changes (primarily C++ -> C conversion). 23 years ago
Peter Johnson c23b8437d7 Add re2c to the build tree. Build tools with recursive make instead of from 23 years ago
Peter Johnson 33a981424e Don't conflict local parser.h with bison-generated parser.h by renaming 23 years ago
Peter Johnson 6db97b6a23 Add pre-generated bootstrap files for re2c-generated scanner. 23 years ago
Peter Johnson 27b0d041ea Finish C conversion. 23 years ago
Peter Johnson 88d5a1e6c4 Continuing C conversion (not everything is compilable yet). 23 years ago
Peter Johnson 05224a9fd9 Make dual functions: _new (which allocates) and _init (which just copies) to 23 years ago
Peter Johnson bfe432b582 Prepend re2c to multiple include protections. 23 years ago
Peter Johnson c71097348c Convert to C. 23 years ago
Peter Johnson 910d5c64aa Start C conversion. Eliminate bootstrap files. 23 years ago
Peter Johnson 7cd8fdd1a0 Initial revision 23 years ago