Peter Johnson
aa07d08e5c
Remove typedefs for uint/uchar/ushort/ulong to avoid compiler warnings on Linux.
...
svn path=/trunk/yasm/; revision=922
22 years ago
Peter Johnson
fa0437c34c
Remove unused yyaccept variables (eliminates warnings from generated code).
...
svn path=/trunk/yasm/; revision=868
22 years ago
Peter Johnson
19d22bdbb3
Output something a little more unique than just - for the output file #line's.
...
svn path=/trunk/yasm/; revision=745
22 years ago
Peter Johnson
db4c347e32
Generate #line in the output in a useful way. Now it's much more usable for
...
debugging, code coverage, etc. (with a little post-processing sed help).
svn path=/trunk/yasm/; revision=744
22 years ago
Peter Johnson
c998053da9
Undo part of the tools/re2c flattening. Specifying a re2c_CFLAGS causes
...
automake to automatically prepend re2c- to all generated object files,
eliminating the main.o conflict. Also, it prevents extended compilation flags
from applying to the re2c build.
In Makefile.am, also allow automake to automatically include the autoconf
conditionally-included files strsep and mergesort.
svn path=/trunk/yasm/; revision=739
22 years ago
Peter Johnson
582c5ea3d7
Warning cleanups.
...
svn path=/trunk/yasm/; revision=699
23 years ago
Peter Johnson
aacbbef7f9
Fix pointer comparison. Should be checking for == NULL, not <0.
...
svn path=/trunk/yasm/; revision=679
23 years ago
Peter Johnson
4c6d5575dc
Run through cleanup.pl to get rid of unused labels.
...
svn path=/trunk/yasm/; revision=673
23 years ago
Peter Johnson
00497afd8f
Neaten the line-continuation a bit.
...
svn path=/trunk/yasm/; revision=669
23 years ago
Peter Johnson
6c7bb59857
Flatten the tools/re2c build.
...
- Moved (by repocopy) main.c to re2c.c
- Moved (by repocopy) parser.y to re2c-parser.y
- Changed to Makefile.inc's rather than Makefile.am's
- Modified all the source file local includes to point to tools/re2c/*.h
svn path=/trunk/yasm/; revision=668
23 years ago
Peter Johnson
1f71e995ca
Fix a few cases of freeing NULL pointers.
...
svn path=/trunk/yasm/; revision=662
23 years ago
Peter Johnson
9eedce2b89
Cleanup script for re2c output that removes unreferenced labels (significantly
...
reducing C compiler warnings).
svn path=/trunk/yasm/; revision=647
23 years ago
Peter Johnson
5ba3fb01bf
Fix 2 major bugs: -b switch caused crash, and all actions got corrupted.
...
svn path=/trunk/yasm/; revision=646
23 years ago
Peter Johnson
3bbc385082
Add bison-generated sources to BUILT_SOURCES and CLEANFILES.
...
svn path=/trunk/yasm/; revision=614
23 years ago
Peter Johnson
d11a297283
Portability fixes: include config.h to get rid of inline if necessary, remove
...
last // comments, and include a local strdup.
svn path=/trunk/yasm/; revision=588
23 years ago
Peter Johnson
ad22cf5a0a
Add local changes (primarily C++ -> C conversion).
...
svn path=/trunk/yasm/; revision=587
23 years ago
Peter Johnson
c23b8437d7
Add re2c to the build tree. Build tools with recursive make instead of from
...
top-level Makefile (for various reasons, including object name conflicts).
svn path=/trunk/yasm/; revision=585
23 years ago
Peter Johnson
33a981424e
Don't conflict local parser.h with bison-generated parser.h by renaming
...
parser.h to parse.h.
svn path=/trunk/yasm/; revision=584
23 years ago
Peter Johnson
6db97b6a23
Add pre-generated bootstrap files for re2c-generated scanner.
...
svn path=/trunk/yasm/; revision=583
23 years ago
Peter Johnson
27b0d041ea
Finish C conversion.
...
svn path=/trunk/yasm/; revision=582
23 years ago
Peter Johnson
88d5a1e6c4
Continuing C conversion (not everything is compilable yet).
...
svn path=/trunk/yasm/; revision=581
23 years ago
Peter Johnson
05224a9fd9
Make dual functions: _new (which allocates) and _init (which just copies) to
...
make C conversion elsewhere easier.
svn path=/trunk/yasm/; revision=580
23 years ago
Peter Johnson
bfe432b582
Prepend re2c to multiple include protections.
...
svn path=/trunk/yasm/; revision=579
23 years ago
Peter Johnson
c71097348c
Convert to C.
...
svn path=/trunk/yasm/; revision=578
23 years ago
Peter Johnson
910d5c64aa
Start C conversion. Eliminate bootstrap files.
...
svn path=/trunk/yasm/; revision=577
23 years ago
Peter Johnson
7cd8fdd1a0
Initial revision
...
svn path=/trunk/yasm/; revision=573
23 years ago