Minor changes to lempar.c to reduce warnings on some compilers. (CVS 3224)
FossilOrigin-Name: dae71de10d0f34a001b8070266d4016baafa6623
This commit is contained in:
parent
b7a7b9a3b9
commit
d9f291ea95
14
manifest
14
manifest
@ -1,5 +1,5 @@
|
||||
C Add\simplementations\sfor\sopcodes\srequired\sfor\slinear\sscans\sof\svirtual\stables.\s(CVS\s3223)
|
||||
D 2006-06-13T10:24:43
|
||||
C Minor\schanges\sto\slempar.c\sto\sreduce\swarnings\son\ssome\scompilers.\s(CVS\s3224)
|
||||
D 2006-06-13T11:15:48
|
||||
F Makefile.in 56fd6261e83f60724e6dcd764e06ab68cbd53909
|
||||
F Makefile.linux-gcc 74ba0eadf88748a9ce3fd03d2a3ede2e6715baec
|
||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||
@ -293,7 +293,7 @@ F test/where2.test a16476a5913e75cf65b38f2daa6157a6b7791394
|
||||
F test/where3.test 3b5ad2c58069e12be2bd86bc5e211a82810521aa
|
||||
F tool/diffdb.c 7524b1b5df217c20cd0431f6789851a4e0cb191b
|
||||
F tool/lemon.c 64aa2436ef7fcc1a6dc49bf205225a542fc05c48
|
||||
F tool/lempar.c 880cc102baa30c521498b15f6de34dc4b2d56972
|
||||
F tool/lempar.c bd4efbd36f7dab8740408479a47ae48d5ae078a7
|
||||
F tool/memleak.awk 4e7690a51bf3ed757e611273d43fe3f65b510133
|
||||
F tool/memleak2.awk 9cc20c8e8f3c675efac71ea0721ee6874a1566e8
|
||||
F tool/memleak3.tcl 7707006ee908cffff210c98158788d85bb3fcdbf
|
||||
@ -363,7 +363,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
|
||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
|
||||
P 00f3c249bc79556d0cb3999f543887bd4f160347
|
||||
R 0931417f268857ba4bba3e3f6b5bc6db
|
||||
U danielk1977
|
||||
Z 7ec75a36e0232c7c8167de06e4e6d3ac
|
||||
P 1f20e1832b38c76d2b0dde5fd720670c2ad0438b
|
||||
R 8ef7dad2768e0bc10762badb7466e9c4
|
||||
U drh
|
||||
Z 840651fccac8925fbbc23e546109f07f
|
||||
|
@ -1 +1 @@
|
||||
1f20e1832b38c76d2b0dde5fd720670c2ad0438b
|
||||
dae71de10d0f34a001b8070266d4016baafa6623
|
@ -107,7 +107,7 @@
|
||||
** yy_default[] Default action for each state.
|
||||
*/
|
||||
%%
|
||||
#define YY_SZ_ACTTAB (sizeof(yy_action)/sizeof(yy_action[0]))
|
||||
#define YY_SZ_ACTTAB (int)(sizeof(yy_action)/sizeof(yy_action[0]))
|
||||
|
||||
/* The next table maps tokens into fallback tokens. If a construct
|
||||
** like the following:
|
||||
@ -321,7 +321,7 @@ void ParseFree(
|
||||
*/
|
||||
static int yy_find_shift_action(
|
||||
yyParser *pParser, /* The parser */
|
||||
int iLookAhead /* The look-ahead token */
|
||||
YYCODETYPE iLookAhead /* The look-ahead token */
|
||||
){
|
||||
int i;
|
||||
int stateno = pParser->yystack[pParser->yyidx].stateno;
|
||||
@ -377,7 +377,7 @@ static int yy_find_shift_action(
|
||||
*/
|
||||
static int yy_find_reduce_action(
|
||||
int stateno, /* Current state number */
|
||||
int iLookAhead /* The look-ahead token */
|
||||
YYCODETYPE iLookAhead /* The look-ahead token */
|
||||
){
|
||||
int i;
|
||||
/* int stateno = pParser->yystack[pParser->yyidx].stateno; */
|
||||
@ -468,7 +468,7 @@ static void yy_reduce(
|
||||
yymsp = &yypParser->yystack[yypParser->yyidx];
|
||||
#ifndef NDEBUG
|
||||
if( yyTraceFILE && yyruleno>=0
|
||||
&& yyruleno<sizeof(yyRuleName)/sizeof(yyRuleName[0]) ){
|
||||
&& yyruleno<(int)(sizeof(yyRuleName)/sizeof(yyRuleName[0])) ){
|
||||
fprintf(yyTraceFILE, "%sReduce [%s].\n", yyTracePrompt,
|
||||
yyRuleName[yyruleno]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user