* data/lalr1.cc: Include location.hh before stack.hh.
Remove the useless forward declarations of position and location.
Reported by Chris Morley.
* data/glr.cc: Likewise.
+2010-04-13 Akim Demaille <demaille@gostai.com>
+
+ lalr1.cc: remove useless forward declaration.
+ * data/lalr1.cc: Include location.hh before stack.hh.
+ Remove the useless forward declarations of position and location.
+ Reported by Chris Morley.
+ * data/glr.cc: Likewise.
+
2010-04-11 Joel E. Denny <joeldenny@joeldenny.org>
* NEWS (2.4.3): Mention fix for Sun Studio C++.
2010-04-11 Joel E. Denny <joeldenny@joeldenny.org>
* NEWS (2.4.3): Mention fix for Sun Studio C++.
#include <stdexcept>
#include <string>
#include <iostream>
#include <stdexcept>
#include <string>
#include <iostream>
/* Using locations. */
#define YYLSP_NEEDED ]b4_locations_if([1], [0])[
/* Using locations. */
#define YYLSP_NEEDED ]b4_locations_if([1], [0])[
-]b4_namespace_open[
- class position;
- class location;
-]b4_namespace_close[
-
-#include "location.hh"
-
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG ]b4_parse_trace_if([1], [0])[
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG ]b4_parse_trace_if([1], [0])[
#include <stdexcept>
#include <string>
#include <iostream>
#include <stdexcept>
#include <string>
#include <iostream>
+]b4_locations_if([#include "location.hh"])[
#include "stack.hh"
]b4_namespace_open[
#include "stack.hh"
]b4_namespace_open[
-]b4_locations_if([ class position;
- class location;])[
]b4_variant_if([b4_variant_define])[
]b4_namespace_close[
]b4_variant_if([b4_variant_define])[
]b4_namespace_close[
-]b4_locations_if([#include "location.hh"])[
-
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG ]b4_parse_trace_if([1], [0])[
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG ]b4_parse_trace_if([1], [0])[