mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Fix a bug in lemon. The code in which the error appears might well be
unreachable. The changes does not effect the code that is generated for the SQLite parser. Ticket #2164. (CVS 3591) FossilOrigin-Name: f4ee5d83e177e7ed9f180454c01d46a395a5715d
This commit is contained in:
@ -3625,7 +3625,7 @@ int mhflag; /* Output in makeheaders format if true */
|
||||
n = acttab_size(pActtab);
|
||||
for(i=j=0; i<n; i++){
|
||||
int action = acttab_yyaction(pActtab, i);
|
||||
if( action<0 ) action = lemp->nsymbol + lemp->nrule + 2;
|
||||
if( action<0 ) action = lemp->nstate + lemp->nrule + 2;
|
||||
if( j==0 ) fprintf(out," /* %5d */ ", i);
|
||||
fprintf(out, " %4d,", action);
|
||||
if( j==9 || i==n-1 ){
|
||||
|
Reference in New Issue
Block a user