# C++ skeleton for Bison
-# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-m4_include(b4_pkgdatadir/[c++.m4])
-
# We do want M4 expansion after # for CPP macros.
m4_changecom()
m4_divert(0)dnl
@output b4_dir_prefix[]position.hh
-b4_copyright([Position class for Bison C++ parsers], [2002, 2003, 2004, 2005])dnl
-[/* As a special exception, when this parser skeleton is copied by
- Bison into a Bison output file, you may use that output file
- without restriction. This special exception was added by the Free
- Software Foundation for C++ parsers in version 2.2 of Bison. */
+b4_copyright([Position class for Bison C++ parsers],
+ [2002, 2003, 2004, 2005, 2006])[
/**
** \file position.hh
- ** Define the yy::position class.
+ ** Define the ]b4_namespace[::position class.
*/
#ifndef BISON_POSITION_HH
# include <iostream>
# include <string>
-namespace yy
+namespace ]b4_namespace[
{
/// Abstract a position.
class position
}
#endif // not BISON_POSITION_HH]
@output b4_dir_prefix[]location.hh
-b4_copyright([Location class for Bison C++ parsers], [2002, 2003, 2004, 2005])[
+b4_copyright([Location class for Bison C++ parsers],
+ [2002, 2003, 2004, 2005, 2006])[
/**
** \file location.hh
- ** Define the yy::location class.
+ ** Define the ]b4_namespace[::location class.
*/
#ifndef BISON_LOCATION_HH
# include <string>
# include "position.hh"
-namespace yy
+namespace ]b4_namespace[
{
/// Abstract a location.