X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fa8195091647391bc39089e26dd9c6f9e1f4be24..c826013fb38c98861ef0fc5d4dc3fb3fb4f555be:/data/glr.cc?ds=sidebyside diff --git a/data/glr.cc b/data/glr.cc index 0d9e0496..feed669a 100644 --- a/data/glr.cc +++ b/data/glr.cc @@ -1,6 +1,5 @@ # C++ GLR skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# Copyright (C) 2002-2010 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 @@ -215,7 +214,7 @@ m4_popdef([b4_parse_param]) m4_divert_push(0) @output(b4_spec_defines_file@)@ b4_copyright([Skeleton interface for Bison GLR parsers in C++], - [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009])[ + [2002-2010])[ /* C++ GLR parser skeleton written by Akim Demaille. */ @@ -224,19 +223,14 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++], ]b4_percent_code_get([[requires]])[ +#include #include #include +#include "location.hh" /* 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])[