diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-16 13:58:45 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-16 13:58:45 -0800 |
commit | 188ce76c46073c6986ab2c17fc2aacf893a1bab0 (patch) | |
tree | 1634472a90b09e3b43f23f16e5ef4e943ff337cb /macros.pl | |
parent | 927c92b47860da644a8747a6ff352a5df8ccc8ff (diff) | |
download | nasm-188ce76c46073c6986ab2c17fc2aacf893a1bab0.tar.gz |
Constipate the stdmac[] array.
Diffstat (limited to 'macros.pl')
-rw-r--r-- | macros.pl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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"; |