sparc: implement float->unsigned conversions
[libfirm] / ir / be / scripts / generate_emitter_new.pl
index d97530e..f1d9b63 100755 (executable)
@@ -22,8 +22,6 @@
 # This script generates C code which emits assembler code for the
 # assembler ir nodes. It takes a "emit" key from the node specification
 # and substitutes lines starting with . with a corresponding fprintf().
-# Creation: 2005/11/07
-# $Id$
 
 use strict;
 use Data::Dumper;
@@ -52,7 +50,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");