diff options
author | drh <drh@noemail.net> | 2017-12-27 18:19:06 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-12-27 18:19:06 +0000 |
commit | 2c804becea9404013d213ff9b270723fae1b5462 (patch) | |
tree | b740ec7391b36fd21b455af1ea22139cff410306 /src/sqliteInt.h | |
parent | 02a43f6defda835b5baaaee274923f1b80d31ceb (diff) | |
parent | cf8e0e9cb7bb334322d4e9688728e2193b6f84ce (diff) | |
download | sqlite-2c804becea9404013d213ff9b270723fae1b5462.tar.gz sqlite-2c804becea9404013d213ff9b270723fae1b5462.zip |
Enhance the Lemon parser generator so that it creates a faster parser at the
cost of slightly larger parser tables. Add the ability to measure coverage
of the generated state machine when compiling with the -DYYCONVERGE option.
In SQLite, add the SQLITE_TESTCTRL_PARSER_COVERAGE test-control to query the
new parser coverage feature.
FossilOrigin-Name: 1b22b42e59793af19c69a2e5f6822883cc2687d4a0d9b9280bbff885276c6baa
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index b0c4711b0..074d363d4 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4348,6 +4348,9 @@ void sqlite3Put4byte(u8*, u32); #ifdef SQLITE_DEBUG void sqlite3ParserTrace(FILE*, char *); #endif +#if defined(YYCOVERAGE) + int sqlite3ParserCoverage(FILE*); +#endif /* ** If the SQLITE_ENABLE IOTRACE exists then the global variable |