bison-patches
[Top][All Lists]
Advanced

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

[PATCH 1/4] glr.c: remove stray macro


From: Akim Demaille
Subject: [PATCH 1/4] glr.c: remove stray macro
Date: Fri, 30 Nov 2012 13:22:09 +0100

* data/glr.c (YYOPTIONAL_LOC): Remove, unused since commit
769a8ef9bcb5e14d0be9d0869f5dca20ab093930.
---
 data/glr.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/data/glr.c b/data/glr.c
index 9bd9522..b6aa545 100644
--- a/data/glr.c
+++ b/data/glr.c
@@ -306,13 +306,6 @@ b4_percent_code_get[]dnl
 # endif
 #endif
 
-]b4_locations_if([#define YYOPTIONAL_LOC(Name) Name],[
-#ifdef __cplusplus
-# define YYOPTIONAL_LOC(Name) /* empty */
-#else
-# define YYOPTIONAL_LOC(Name) Name __attribute__ ((__unused__))
-#endif])[
-
 #ifndef YYASSERT
 # define YYASSERT(Condition) ((void) ((Condition) || (abort (), 0)))
 #endif
-- 
1.8.0.1




reply via email to

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