From: drh Date: Sat, 11 Jan 2014 03:13:47 +0000 (+0000) Subject: Add the "%token_class" directive to the LEMON parser generator. This opens X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fbuggy-lemon;p=thirdparty%2Fsqlite.git 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 --- aaceeacfa7b25fb669bcc3210f6b3f85a0abef03 diff --cc manifest index 78da6bddd4,b56fe09692..6cf70edbea --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Remove\sunused\sstructure\sdefinition\sfrom\sparse.y. - D 2014-01-10T20:51:16.498 -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,7 +1148,8 @@@ F tool/vdbe-compress.tcl 0cf56e9263a152 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff - P c9ea7d199f06a7801ab639e7ac98ebeb98706f24 - R b8682b1b95c61647eceb7cac2c7aa836 -P e43c522dde01e134f1adc94f534d2b3eda74afc2 ++P 7f1e7ae313c7625ef2623d78883dce776eecca30 da7890ca6b1d8e511377a469047120220e8c3b2d + R 498b2eca2a4d9bdf3c22bba6f4386191 ++T +closed da7890ca6b1d8e511377a469047120220e8c3b2d U drh - Z 2b3078d680e621e51a9cb7dd08f4a256 -Z 303f39885598d1865b7eb401105ea9ea ++Z b047a19611dad047cc7ab4a63a1bce4f diff --cc manifest.uuid index 2faf2ec7b2,2d1234c95c..ff3e3f3354 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 7f1e7ae313c7625ef2623d78883dce776eecca30 -da7890ca6b1d8e511377a469047120220e8c3b2d ++4e4483b2d4908e1842239f7cd021c395565deaf1