X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=generate-command-parser.pl;h=01cbe462ec64d05c7a51c2d80da8e7b710c5820c;hb=4622cde7b785b522b29d66c7d9bdcc9aa1eeb452;hp=993c64fcaa570dcc73d229ef4bc6130223078369;hpb=54222d56172fa014f4bed262b8efd06694a839e9;p=i3%2Fi3 diff --git a/generate-command-parser.pl b/generate-command-parser.pl index 993c64fc..01cbe462 100755 --- a/generate-command-parser.pl +++ b/generate-command-parser.pl @@ -152,7 +152,7 @@ for my $state (@keys) { $cmd =~ s/[^(]+\(//; $cmd =~ s/\)$//; $cmd = ", $cmd" if length($cmd) > 0; - say $callfh qq| printf("$fmt\\n"$cmd);|; + say $callfh qq| fprintf(stderr, "$fmt\\n"$cmd);|; say $callfh '#endif'; say $callfh " state = $next_state;"; say $callfh " break;";