]> git.saurik.com Git - bison.git/blobdiff - data/location.cc
2007-02-27 Paolo Bonzini <bonzini@gnu.org>
[bison.git] / data / location.cc
index bbb7a91a2c87b0db48fb47c9dbead602562b7ae5..68ae2f719586c2cf025546b4c867213c1641e7d6 100644 (file)
@@ -1,6 +1,7 @@
 # C++ skeleton for Bison
 
-# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 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
@@ -113,7 +114,7 @@ namespace ]b4_percent_define_get([[namespace]])[
   {
     return begin + -width;
   }
-]m4_if(b4_percent_define_get([[define_location_comparison]]), [1], [[
+]b4_percent_define_flag_if([[define_location_comparison]], [[
   /// Compare two position objects.
   inline bool
   operator== (const position& pos1, const position& pos2)
@@ -235,7 +236,7 @@ namespace ]b4_percent_define_get([[namespace]])[
     res.columns (width);
     return res;
   }
-]m4_if(b4_percent_define_get([[define_location_comparison]]), [1], [[
+]b4_percent_define_flag_if([[define_location_comparison]], [[
   /// Compare two location objects.
   inline bool
   operator== (const location& loc1, const location& loc2)