[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glr2.cc: get rid of the yyerror scaffolding
From: |
Akim Demaille |
Subject: |
Re: glr2.cc: get rid of the yyerror scaffolding |
Date: |
Sat, 5 Sep 2020 07:49:16 +0200 |
This should have been part of the previous commit.
commit 1df4b746da8d35e5e1ec2edbd707ca755f91d42d
Author: Akim Demaille <akim.demaille@gmail.com>
Date: Sat Sep 5 07:47:21 2020 +0200
glr2.cc: style changes
* data/skeletons/glr2.cc: Remove stray comment.
diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc
index b69a74bb..987ac2e4 100644
--- a/data/skeletons/glr2.cc
+++ b/data/skeletons/glr2.cc
@@ -782,7 +782,7 @@ static void yypdumpstack (struct yyGLRStack* yystackp)
#define YYHEADROOM 2
#ifndef YYSTACKEXPANDABLE
-# define YYSTACKEXPANDABLE 1
+# define YYSTACKEXPANDABLE 1
#endif
/** State numbers, as in LALR(1) machine */
@@ -3020,11 +3020,6 @@ m4_if(b4_prefix, [yy], [],
#define yylloc ]b4_prefix[lloc]])])[
-/*------------------.
-| Report an error. |
-`------------------*/
-
-
]b4_namespace_open[
]dnl In this section, the parse params are the original parse_params.
m4_pushdef([b4_parse_param], m4_defn([b4_parse_param_orig]))dnl