Re: glr2.cc: get rid of the yyerror scaffolding

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
This should have been part of the previous commit.

commit 1df4b746da8d35e5e1ec2edbd707ca755f91d42d
Author: Akim Demaille <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.