X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3e75a2c92b12766add442d00a86d5ec1c67ce560..85f0b29e6d2d1c8a49df9f378e2979c043a47827:/data/location.cc diff --git a/data/location.cc b/data/location.cc index e750779c..cfbfd76b 100644 --- a/data/location.cc +++ b/data/location.cc @@ -25,16 +25,15 @@ m4_divert_push(0)dnl b4_copyright([Positions for Bison parsers in C++])[ /** - ** \file position.hh + ** \file ]b4_dir_prefix[position.hh ** Define the ]b4_namespace_ref[::position class. */ -#ifndef BISON_POSITION_HH -# define BISON_POSITION_HH +]b4_cpp_guard_open([b4_dir_prefix[]position.hh])[ -# include +# include // std::max +# include # include -# include ]b4_null_define[ @@ -150,17 +149,16 @@ b4_copyright([Positions for Bison parsers in C++])[ } ]b4_namespace_close[ -#endif // not BISON_POSITION_HH] +]b4_cpp_guard_close([b4_dir_prefix[]position.hh]) @output(b4_dir_prefix[]location.hh@)@ b4_copyright([Locations for Bison parsers in C++])[ /** - ** \file location.hh + ** \file ]b4_dir_prefix[location.hh ** Define the ]b4_namespace_ref[::location class. */ -#ifndef BISON_LOCATION_HH -# define BISON_LOCATION_HH +]b4_cpp_guard_open([b4_dir_prefix[]location.hh])[ # include # include @@ -296,7 +294,7 @@ b4_copyright([Locations for Bison parsers in C++])[ ]b4_namespace_close[ -#endif // not BISON_LOCATION_HH] +]b4_cpp_guard_close([b4_dir_prefix[]location.hh]) m4_divert_pop(0) m4_popdef([b4_copyright_years])dnl m4_changecom([#])