command-line options. This permits most of the same options that are passed
to the compiler to also be harmlessly passed to lemon, and thus
simplifies makefiles.
FossilOrigin-Name: da408d128b4301d9fc7a3a00f219dce7ed48bc60
error rather than a parsing conflict. This changes is due to a bug report
on the mailing list. SQLite does not use the %nonassoc directive in its
grammar so this change does not affect SQLite.
FossilOrigin-Name: 1925f3a0a2caa709569df015a8e0d26412f1a9ff
the program will never experience integer overflow. To be doubly sure,
use calloc() instead of malloc() when allocating arrays.
FossilOrigin-Name: 29ba458d849ad8864711cbe59fb10447a947e06a
the possibility of simplifying the parser. Also remove all calls to
sprintf(), strcpy(), and strcat() from LEMON to avoid compiler warnings
on OpenBSD. (Aside: It is this change to avoid harmless compiler warnings
that was the cause of the reason spat of bugs.)
FossilOrigin-Name: 8eb48c04bd0a14031488b3160fde67307eb8b35d
commit. Also add the new "%token_class" directive for defining symbolic
names that stand any one of a collection of tokens.
FossilOrigin-Name: da7890ca6b1d8e511377a469047120220e8c3b2d
make sure that the proposed new output and the preexisting output are the
same size before deciding that they are the same.
FossilOrigin-Name: 0c2fb18d25217ada7e75dcab8b342bbc632875d8
empty string. This bug and the fix make absolutely no difference for the
grammar used by SQLite, but it can make a difference when lemon is used
in other grammars.
FossilOrigin-Name: ce32775b232da894343f62deefaf19b0ec484636
This is useful for IDEs and other tools that benefit from full path
information, so they can jump directly to the error line in the source code.
FossilOrigin-Name: 90602030d18152a934644db119a291aa38fe3fd4
Otherwise, the fail will stop a Makefile from progressing, but if you
immediately run the build again, Make will think the output files are up to
date, since they are newer (albeit incomplete/incorrect).
FossilOrigin-Name: e38c08d9cdeb0476ac1a77cd3f29f547a8205835
regardless of qsort() implementation on the host platform. In other words,
make all sorts in lemon stable.
FossilOrigin-Name: d66a0f31ebcc56e6f0f462b3db6aab54f7fab816
cases since destructors are commonly unreachable in a reasonable grammar.
For the reduce-rule switch, gather all no-ops into the "default:" case. (CVS 6757)
FossilOrigin-Name: caebfe82cb1b1215a85ed48fe97360c5422c52e0
and on each destructor, to verify that all have been executed. yytestcase()
is a no-op by default but can be set to something more useful inside
of %include. (CVS 6755)
FossilOrigin-Name: fe9c9177340a3dc372ffa1b851030d005e0c46db
a type for tokens. This does not effect SQLite since the SQLite grammar
does define a type for tokens. (CVS 6451)
FossilOrigin-Name: 4424aee958b2e764a61141b5c66c063e36ed5aae
no effect on SQLite. It has no effect on any lemon-generated parser
with a grammar that is less than 2GB in size. Ticket #3293. (CVS 5564)
FossilOrigin-Name: a519cdb2f46fffe16e666f161479a22463616cb3
the speed1.test script run about 15% faster. Added new interfaces to
control the cache. (CVS 5488)
FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9