X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/56f772e95e0268d7dc4695450e8f65c22be9fbc2..34136e65fc7bd6babcfedcbfcfdca3b9feb10f1d:/data/location.cc diff --git a/data/location.cc b/data/location.cc index 0f82340c..174ce6ef 100644 --- a/data/location.cc +++ b/data/location.cc @@ -1,7 +1,6 @@ # C++ skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# Copyright (C) 2002-2012 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 @@ -17,7 +16,7 @@ # along with this program. If not, see . m4_pushdef([b4_copyright_years], - [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009]) + [2002-2012]) # We do want M4 expansion after # for CPP macros. m4_changecom() @@ -280,8 +279,8 @@ b4_copyright([Locations for Bison parsers in C++])[ position last = loc.end - 1; ostr << loc.begin; if (last.filename - && (!loc.begin.filename - || *loc.begin.filename != *last.filename)) + && (!loc.begin.filename + || *loc.begin.filename != *last.filename)) ostr << '-' << last; else if (loc.begin.line != last.line) ostr << '-' << last.line << '.' << last.column;