# 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;
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");