diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-10 14:22:06 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-10 14:22:06 (GMT) |
commit | 67b84b71c66b45cb139546c2a7e3aec964a5d4c6 (patch) | |
tree | 1972f333896e7d516fc060401bd41e01892ccdf0 /generic/tclDate.c | |
parent | aaf72b94fa284aeb2580f8c5c4cac49e5166cb82 (diff) | |
download | tcl-67b84b71c66b45cb139546c2a7e3aec964a5d4c6.zip tcl-67b84b71c66b45cb139546c2a7e3aec964a5d4c6.tar.gz tcl-67b84b71c66b45cb139546c2a7e3aec964a5d4c6.tar.bz2 |
Fix [54a305cb88] (second part) by hand-editing tclDate.c.
Diffstat (limited to 'generic/tclDate.c')
-rw-r--r-- | generic/tclDate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c index ebe499d..fa27475 100644 --- a/generic/tclDate.c +++ b/generic/tclDate.c @@ -64,7 +64,6 @@ #define yylex TclDatelex #define yyerror TclDateerror #define yydebug TclDatedebug -#define yynerrs TclDatenerrs /* Copy the first part of user declarations. */ @@ -1295,9 +1294,6 @@ static YYLTYPE yyloc_default ; YYLTYPE yylloc = yyloc_default; - /* Number of syntax errors so far. */ - int yynerrs; - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -1361,7 +1357,6 @@ YYLTYPE yylloc = yyloc_default; yystate = 0; yyerrstatus = 0; - yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ yylsp[0] = yylloc; goto yysetstate; @@ -2099,7 +2094,6 @@ yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { - ++yynerrs; #if ! YYERROR_VERBOSE yyerror (&yylloc, info, YY_("syntax error")); #else |