projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f3015
)
fix perl warning
author
Matthias Braun
<matze@braunis.de>
Wed, 19 Oct 2011 19:36:44 +0000
(21:36 +0200)
committer
Matthias Braun
<matze@braunis.de>
Wed, 19 Oct 2011 19:44:39 +0000
(21:44 +0200)
ir/be/scripts/generate_emitter_new.pl
patch
|
blob
|
history
diff --git
a/ir/be/scripts/generate_emitter_new.pl
b/ir/be/scripts/generate_emitter_new.pl
index
d97530e
..
ed868f0
100755
(executable)
--- a/
ir/be/scripts/generate_emitter_new.pl
+++ b/
ir/be/scripts/generate_emitter_new.pl
@@
-52,7
+52,7
@@
sub create_emitter {
our %emit_templates;
our $arch;
- if (
$indent_line_func eq ""
) {
+ if (
!defined($indent_line_func)
) {
$template = "\\t" . $template;
} else {
push(@{$result}, "${indent}${indent_line_func};\n");