Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | A change to lemon related to ticket #313. (CVS 972) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b59d9033d5556015543ac5ca23110ccb |
User & Date: | drh 2003-05-13 00:34:21.000 |
Context
2003-05-13
| ||
01:52 | Fix another twos-complement negation error. Ticket #313. (CVS 973) (check-in: f267a8a4ff user: drh tags: trunk) | |
00:34 | A change to lemon related to ticket #313. (CVS 972) (check-in: b59d9033d5 user: drh tags: trunk) | |
00:24 | Remove unnecessary "#include <sqliteInt.h>" from the shell code. (CVS 971) (check-in: 6e5c497a42 user: drh tags: trunk) | |
Changes
Changes to tool/lemon.c.
︙ | ︙ | |||
2902 2903 2904 2905 2906 2907 2908 | while( *cp ) stddt[j++] = *cp++; while( j>0 && isspace(stddt[j-1]) ) j--; stddt[j] = 0; hash = 0; for(j=0; stddt[j]; j++){ hash = hash*53 + stddt[j]; } | < | | 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 | while( *cp ) stddt[j++] = *cp++; while( j>0 && isspace(stddt[j-1]) ) j--; stddt[j] = 0; hash = 0; for(j=0; stddt[j]; j++){ hash = hash*53 + stddt[j]; } hash = (hash & 0x7fffffff)%arraysize; while( types[hash] ){ if( strcmp(types[hash],stddt)==0 ){ sp->dtnum = hash + 1; break; } hash++; if( hash>=arraysize ) hash = 0; |
︙ | ︙ |