1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +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

@ -3468,6 +3468,7 @@ int mhflag; /* True if generating makeheaders output */
lemp->tokentype?lemp->tokentype:"void*"); lineno++;
if( mhflag ){ fprintf(out,"#endif\n"); lineno++; }
fprintf(out,"typedef union {\n"); lineno++;
fprintf(out," int yyinit;\n"); lineno++;
fprintf(out," %sTOKENTYPE yy0;\n",name); lineno++;
for(i=0; i<arraysize; i++){
if( types[i]==0 ) continue;