summaryrefslogtreecommitdiff
path: root/macros.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-16 13:58:45 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-16 13:58:45 -0800
commit188ce76c46073c6986ab2c17fc2aacf893a1bab0 (patch)
tree1634472a90b09e3b43f23f16e5ef4e943ff337cb /macros.pl
parent927c92b47860da644a8747a6ff352a5df8ccc8ff (diff)
downloadnasm-188ce76c46073c6986ab2c17fc2aacf893a1bab0.tar.gz
Constipate the stdmac[] array.
Diffstat (limited to 'macros.pl')
-rw-r--r--macros.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/macros.pl b/macros.pl
index 13fbbf7b..e4f60a4b 100644
--- a/macros.pl
+++ b/macros.pl
@@ -19,7 +19,11 @@ undef $tasm_count;
open(OUTPUT,">macros.c") or die "unable to open macros.c\n";
print OUTPUT "/* This file auto-generated from standard.mac by macros.pl" .
-" - don't edit it */\n\n#include \"compiler.h\"\n\nstatic const char *stdmac[] = {\n";
+" - don't edit it */\n";
+print OUTPUT "\n";
+print OUTPUT "#include \"compiler.h\"\n";
+print OUTPUT "\n";
+print OUTPUT "static const char * const stdmac[] = {\n";
foreach $fname ( @ARGV ) {
open(INPUT,$fname) or die "unable to open $fname\n";