diff options
author | drh <drh@noemail.net> | 2018-04-21 13:51:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-04-21 13:51:42 +0000 |
commit | fb32c44e41f9fba15f84dfca6e165a32fbb0e679 (patch) | |
tree | aca83b1b1effb5cc44ebcc0b7bbb4fb9126fe180 /src/sqliteInt.h | |
parent | f3d7bbb767c2d225b816557ba0a86442650d1ae0 (diff) | |
download | sqlite-fb32c44e41f9fba15f84dfca6e165a32fbb0e679.tar.gz sqlite-fb32c44e41f9fba15f84dfca6e165a32fbb0e679.zip |
Add the %extra_context directive to lemon, as an alternative to %extra_argument.
Use this to improve the performance of the parser.
FossilOrigin-Name: be47a6f5262a43f477700579512fe7112a0872faedcbbe5c3383d13a08af6440
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index ccbf8467f..4a99a69ce 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4213,10 +4213,10 @@ char sqlite3IndexColumnAffinity(sqlite3*, Index*, int); ** The interface to the LEMON-generated parser */ #ifndef SQLITE_AMALGAMATION - void *sqlite3ParserAlloc(void*(*)(u64)); + void *sqlite3ParserAlloc(void*(*)(u64), Parse*); void sqlite3ParserFree(void*, void(*)(void*)); #endif -void sqlite3Parser(void*, int, Token, Parse*); +void sqlite3Parser(void*, int, Token); #ifdef YYTRACKMAXSTACKDEPTH int sqlite3ParserStackPeak(void*); #endif |