1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Initialize the yyzerominor constant generated by lemon. (CVS 6016)

FossilOrigin-Name: 76c8f6ba87f333f15444ba5444bc675ec4cfd89e
This commit is contained in:
drh
2008-12-11 02:20:43 +00:00
parent 3abbd39a87
commit 15b024c22a
4 changed files with 11 additions and 13 deletions

View File

@ -62,11 +62,8 @@
/* The yyzerominor constant is used to initialize instances of
** YYMINORTYPE objects to zero. */
#if 1
static YYMINORTYPE yyzerominor;
#else
static const YYMINORTYPE yyzerominor;
#endif
static const YYMINORTYPE yyzerominor = { 0 };
/* Next are the tables used to determine what action to take based on the
** current state and lookahead token. These tables are used to implement