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
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index ccbf846..4a99a69 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -4213,10 +4213,10 @@
** 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