diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-12-28 07:07:59 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-12-28 07:07:59 -0800 |
commit | dd9398ff7d4776aa67951800aeb402a94d42f50f (patch) | |
tree | 7183f9d9011ad2d341d10f85fb51b5dcb0eeb195 /y.tab.c.shipped | |
parent | 07912e6dd718e22b318eaa7d7c3793f6c86ea40d (diff) | |
download | txr-dd9398ff7d4776aa67951800aeb402a94d42f50f.tar.gz txr-dd9398ff7d4776aa67951800aeb402a94d42f50f.tar.bz2 txr-dd9398ff7d4776aa67951800aeb402a94d42f50f.zip |
build: automate clean-up of shipped scanner and parser
* Makefile (shipped): Copy the shipped materials unconditionally,
rather than checking if they are different. If a patch exists
for a shipped file, then apply it.
* lex.yy.c.shipped, y.tab.c.shipped: Updated.
* lex.yy.c.patch, y.tab.c.patch: New files.
Diffstat (limited to 'y.tab.c.shipped')
-rw-r--r-- | y.tab.c.shipped | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/y.tab.c.shipped b/y.tab.c.shipped index f1377d67..334ed2f6 100644 --- a/y.tab.c.shipped +++ b/y.tab.c.shipped @@ -2975,9 +2975,6 @@ int yychar; /* The semantic value of the lookahead symbol. */ YYSTYPE yylval; - /* Number of syntax errors so far. */ - int yynerrs; - int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; @@ -3031,7 +3028,6 @@ YYSTYPE yylval; yystate = 0; yyerrstatus = 0; - yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. @@ -7047,7 +7043,6 @@ yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { - ++yynerrs; #if ! YYERROR_VERBOSE yyerror (scnr, parser, YY_("syntax error")); #else |