bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: maint: glr.cc: remove unused signature


From: Akim Demaille
Subject: FYI: maint: glr.cc: remove unused signature
Date: Fri, 4 May 2012 17:25:30 +0200

Installed in maint.  A left-over from lalr1.cc.

From 30bc96cecadb84a913ee006c2f9dfc4b6c9a11f9 Mon Sep 17 00:00:00 2001
From: Akim Demaille <address@hidden>
Date: Fri, 4 May 2012 14:06:29 +0200
Subject: [PATCH 3/6] glr.cc: remove unused signature.

* data/glr.cc (yydestruct_): Not used, remove.
It is yydestruct which is used.
---
 data/glr.cc |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/data/glr.cc b/data/glr.cc
index 9683844..b7f0a9c 100644
--- a/data/glr.cc
+++ b/data/glr.cc
@@ -345,17 +345,6 @@ b4_user_stype
     std::ostream* yycdebug_;
 #endif
 
-
-    /// \brief Reclaim the memory associated to a symbol.
-    /// \param yymsg        Why this token is reclaimed.
-    /// \param yytype       The symbol type.
-    /// \param yyvaluep     Its semantic value.
-    /// \param yylocationp  Its location.
-    inline void yydestruct_ (const char* yymsg,
-                            int yytype,
-                            semantic_type* yyvaluep,
-                            location_type* yylocationp);
-
 ]b4_parse_param_vars[
   };
 
-- 
1.7.10.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]