Compare commits

...

1 Commits

Author SHA1 Message Date
drh aaceeacfa7 Add the "%token_class" directive to the LEMON parser generator. This opens
up the possibility of simplifying the parser.  Also remove all calls to
sprintf(), strcpy(), and strcat() from LEMON to avoid compiler warnings on
OpenBSD.

FossilOrigin-Name: 4e4483b2d4908e1842239f7cd021c395565deaf1
2014-01-11 03:13:47 +00:00
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -1,5 +1,5 @@
C In\sLEMON,\sfix\sa\sbug\sin\sthe\stext\sformatter\sintroduced\sby\sthe\sprevious\ncommit.\s\sAlso\sadd\sthe\snew\s"%token_class"\sdirective\sfor\sdefining\ssymbolic\nnames\sthat\sstand\sany\sone\sof\sa\scollection\sof\stokens.
D 2014-01-11T03:06:18.172
C Add\sthe\s"%token_class"\sdirective\sto\sthe\sLEMON\sparser\sgenerator.\s\sThis\sopens\nup\sthe\spossibility\sof\ssimplifying\sthe\sparser.\s\sAlso\sremove\sall\scalls\sto\nsprintf(),\sstrcpy(),\sand\sstrcat()\sfrom\sLEMON\sto\savoid\scompiler\swarnings\son\nOpenBSD.
D 2014-01-11T03:13:47.382
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 2ef13430cd359f7b361bb863504e227b25cc7f81
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -1148,7 +1148,8 @@ F tool/vdbe-compress.tcl 0cf56e9263a152b84da86e75a5c0cdcdb7a47891
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01
F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
P e43c522dde01e134f1adc94f534d2b3eda74afc2
P 7f1e7ae313c7625ef2623d78883dce776eecca30 da7890ca6b1d8e511377a469047120220e8c3b2d
R 498b2eca2a4d9bdf3c22bba6f4386191
T +closed da7890ca6b1d8e511377a469047120220e8c3b2d
U drh
Z 303f39885598d1865b7eb401105ea9ea
Z b047a19611dad047cc7ab4a63a1bce4f
+1 -1
View File
@@ -1 +1 @@
da7890ca6b1d8e511377a469047120220e8c3b2d
4e4483b2d4908e1842239f7cd021c395565deaf1