From: Will Estes Date: Mon, 28 Oct 2002 12:21:50 +0000 (+0000) Subject: applied c++ from lilypond folks for std:: reasons X-Git-Tag: flex-2-5-24~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8396ef7fb04709bbac7043f7ecbe0bfb01fb3d2;p=flex applied c++ from lilypond folks for std:: reasons --- diff --git a/gen.c b/gen.c index 76ead8c..770e17b 100644 --- a/gen.c +++ b/gen.c @@ -2007,7 +2007,7 @@ void make_tables () indent_puts ("if ( yy_act == 0 )"); indent_up (); indent_puts (C_plus_plus ? - "cerr << \"--scanner backing up\\n\";" : + "std::cerr << \"--scanner backing up\\n\";" : "fprintf( stderr, \"--scanner backing up\\n\" );"); indent_down (); @@ -2017,7 +2017,7 @@ void make_tables () if (C_plus_plus) { indent_puts - ("cerr << \"--accepting rule at line \" << yy_rule_linenum[yy_act] <<"); + ("std::cerr << \"--accepting rule at line \" << yy_rule_linenum[yy_act] <<"); indent_puts (" \"(\\\"\" << yytext << \"\\\")\\n\";"); } @@ -2037,7 +2037,7 @@ void make_tables () if (C_plus_plus) { indent_puts - ("cerr << \"--accepting default rule (\\\"\" << yytext << \"\\\")\\n\";"); + ("std::cerr << \"--accepting default rule (\\\"\" << yytext << \"\\\")\\n\";"); } else { indent_puts @@ -2052,7 +2052,7 @@ void make_tables () indent_up (); indent_puts (C_plus_plus ? - "cerr << \"--(end of buffer or a NUL)\\n\";" : + "std::cerr << \"--(end of buffer or a NUL)\\n\";" : "fprintf( stderr, \"--(end of buffer or a NUL)\\n\" );"); indent_down (); @@ -2063,7 +2063,7 @@ void make_tables () if (C_plus_plus) { indent_puts - ("cerr << \"--EOF (start condition \" << YY_START << \")\\n\";"); + ("std::cerr << \"--EOF (start condition \" << YY_START << \")\\n\";"); } else { indent_puts