projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle empty comments in automatic emitters right
[libfirm]
/
ir
/
be
/
scripts
/
generate_emitter.pl
diff --git
a/ir/be/scripts/generate_emitter.pl
b/ir/be/scripts/generate_emitter.pl
index
e623456
..
ebbf7a3
100755
(executable)
--- a/
ir/be/scripts/generate_emitter.pl
+++ b/
ir/be/scripts/generate_emitter.pl
@@
-64,6
+64,7
@@
foreach my $op (keys(%nodes)) {
my $cnt = 0;
my $buf = 'cmd_buf';
+ push(@obst_func, " cmnt_buf[0] = '\\0';\n");
foreach $template (split(/$comment_string_quoted/, $fmt, 2)) {
my @params;
my $res = "";