]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Change the coverage measurement logic in the lemon-generated parser so that
authordrh <drh@noemail.net>
Wed, 27 Dec 2017 17:14:50 +0000 (17:14 +0000)
committerdrh <drh@noemail.net>
Wed, 27 Dec 2017 17:14:50 +0000 (17:14 +0000)
commit7038a991b049d35e7207d05fe587dc1f4cae8da1
tree2ee31e9a286622e41d28d52b3cd070730d679497
parent7e7b753158f6c7fa0442f6609179df2512da2633
Change the coverage measurement logic in the lemon-generated parser so that
it only checks for coverage of state/lookahead pairs that are valid syntax.
It turns out that some states are unreachable if the lookahead is not valid
syntax, because the states are only reachable through a shift following a
reduce, and the reduce does not happen if the lookahead is a syntax error.

FossilOrigin-Name: 9dce46508772bd0f9e940c4d44933154044bb58c1b3511dd0143287bf795dd6b
manifest
manifest.uuid
tool/lempar.c