mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
In Lemon, if a non-terminal has the same type as a terminal, then reuse the
terminal type in the YYMINORTYPE union for the non-terminal. This gives better table compression. (CVS 5334) FossilOrigin-Name: 5c9cc22cd8e9bec3d8622d2c354423281f2db0fb
This commit is contained in:
@ -3412,6 +3412,10 @@ int mhflag; /* True if generating makeheaders output */
|
||||
while( *cp ) stddt[j++] = *cp++;
|
||||
while( j>0 && isspace(stddt[j-1]) ) j--;
|
||||
stddt[j] = 0;
|
||||
if( strcmp(stddt, lemp->tokentype)==0 ){
|
||||
sp->dtnum = 0;
|
||||
continue;
|
||||
}
|
||||
hash = 0;
|
||||
for(j=0; stddt[j]; j++){
|
||||
hash = hash*53 + stddt[j];
|
||||
|
Reference in New Issue
Block a user