summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-10 14:23:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-10 14:23:17 (GMT)
commit6e5c5c71b7d5c65534f127236932dfbaf58493d4 (patch)
treec807f2734c2417f94030f3c4ae507e07383ab304 /generic/tclDate.c
parentc7b5a5ddf9376c52c4e0d9f30a5ced57c7a5a163 (diff)
parent67b84b71c66b45cb139546c2a7e3aec964a5d4c6 (diff)
downloadtcl-6e5c5c71b7d5c65534f127236932dfbaf58493d4.zip
tcl-6e5c5c71b7d5c65534f127236932dfbaf58493d4.tar.gz
tcl-6e5c5c71b7d5c65534f127236932dfbaf58493d4.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclDate.c')
-rw-r--r--generic/tclDate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c
index 44d45f9..2f05753 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. */
@@ -1294,9 +1293,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;
@@ -1360,7 +1356,6 @@ YYLTYPE yylloc = yyloc_default;
yystate = 0;
yyerrstatus = 0;
- yynerrs = 0;
yychar = YYEMPTY; /* Cause a token to be read. */
yylsp[0] = yylloc;
goto yysetstate;
@@ -2098,7 +2093,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