]> git.saurik.com Git - bison.git/commitdiff
skeletons: no longer define YYLSP_NEEDED.
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 25 Jun 2012 14:55:11 +0000 (16:55 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 27 Jun 2012 08:03:23 +0000 (10:03 +0200)
* data/c.m4, data/glr.cc: here.
* NEWS, TODO: Adjust.

NEWS
TODO
data/c.m4
data/glr.cc

diff --git a/NEWS b/NEWS
index 7eebe9106f0d1ecd5ac22d084b43f46ff6bddfe5..33fac14571f23f3bb5d93d826a204319f0c91fec 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -65,6 +65,11 @@ GNU Bison NEWS
   header, are removed, as they prevent the possibility of including several
   generated headers from a single compilation unit.
 
+*** YYLSP_NEEDED
+
+  For the same reasons, the undocumented and unused macro YYLSP_NEEDED is no
+  longer defined.
+
 * Noteworthy changes in release 2.5.1 (2012-06-05) [stable]
 
 ** Future changes:
diff --git a/TODO b/TODO
index 21ef4b9135c8688b82acfac405e7cb5e0f34610b..4f628a20aa4f3577ffc1a004030587c4395e17a8 100644 (file)
--- a/TODO
+++ b/TODO
@@ -126,12 +126,6 @@ The code bw glr.c and yacc.c is really alike, we can certainly factor
 some parts.
 
 
-* Yacc.c: CPP Macros
-
-Do some people use YYPURE, YYLSP_NEEDED like we do in the test suite?
-They should not: it is not documented.  But if they need to, let's
-find something clean (not like YYLSP_NEEDED...).
-
 * Report
 
 ** Figures
index 8c6c4979659cdb60a12b57c98a75833847425ef6..1f266a4713f361a82e5938f7c96a6a4af11e2fed 100644 (file)
--- a/data/c.m4
+++ b/data/c.m4
@@ -77,9 +77,6 @@ m4_define([b4_identification],
 
 /* Pull parsers.  */
 #define YYPULL ]b4_pull_flag])[
-
-/* Using locations.  */
-#define YYLSP_NEEDED ]b4_locations_flag[
 ]])
 
 
index 0bc1f9fa53e0958e926d3ba3921259d0ce08097e..8e46be3d40d6deaba2bb76950f398ee57473acaf 100644 (file)
@@ -239,9 +239,6 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++],
 ]b4_percent_define_ifdef([[location_type]], [],
                          [[#include "location.hh"]])[
 
-/* Using locations.  */
-#define YYLSP_NEEDED ]b4_locations_flag[
-
 /* Enabling traces.  */
 #ifndef YYDEBUG
 # define YYDEBUG ]b4_debug_flag[