]> git.saurik.com Git - bison.git/blobdiff - data/glr.cc
c: improve the definition of public types
[bison.git] / data / glr.cc
index 741ea71bae28b20a7cf95a38f2d7c66dd2f6fdde..8b9bf02f2bc16a6f6210c2fce1a1492e7e85ab09 100644 (file)
@@ -290,7 +290,7 @@ b4_location_define])])[
                                    const semantic_type* yyvaluep]b4_locations_if([[,
                                    const location_type* yylocationp]])[);
   private:
-    /* Debugging.  */
+    // Debugging.
     std::ostream* yycdebug_;
 #endif
 
@@ -314,13 +314,11 @@ b4_percent_define_flag_if([[global_tokens_and_yystype]],
 ])
 
 b4_defines_if(
-[m4_changecom()dnl
-m4_divert_push(0)dnl
-@output(b4_spec_defines_file@)@
+[b4_output_begin([b4_spec_defines_file])
 b4_copyright([Skeleton interface for Bison GLR parsers in C++],
              [2002-2012])[
 
-/* C++ GLR parser skeleton written by Akim Demaille.  */
+// C++ GLR parser skeleton written by Akim Demaille.
 
 ]b4_cpp_guard_open([b4_spec_defines_file])[
 ]b4_shared_declarations[