Reduce the number of distinct token symbols in the parser so that the parser

can store tokens in a single byte and thus be smaller in size. (CVS 2776)

FossilOrigin-Name: 2dfc9863919c9eb1fd1064ab2817d752dd7f9293
This commit is contained in:
drh
2005-11-24 22:22:29 +00:00
parent 31beae983e
commit fa3b19ef3d
8 changed files with 66 additions and 24 deletions
+3 -1
View File
@@ -339,9 +339,11 @@ parse.lo: parse.c $(HDR)
parse.h: parse.c
parse.c: $(TOP)/src/parse.y lemon$(BEXE)
parse.c: $(TOP)/src/parse.y lemon$(BEXE) $(TOP)/addopcodes.awk
cp $(TOP)/src/parse.y .
./lemon $(OPTS) parse.y
mv parse.h parse.h.temp
awk -f $(TOP)/addopcodes.awk parse.h.temp >parse.h
pragma.lo: $(TOP)/src/pragma.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/pragma.c