diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-19 14:42:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-19 14:42:29 -0700 |
commit | 7065309739ef398af07e470469f1ae6f0580200c (patch) | |
tree | a8d6e0e99b14899193014a87e80f013606a0d504 /macros.pl | |
parent | 31420e76d1e333825df39964888089181ccf8129 (diff) | |
download | nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.gz nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.bz2 nasm-7065309739ef398af07e470469f1ae6f0580200c.zip |
Formatting: kill off "stealth whitespace"
"Stealth whitespace" makes it harder to read diffs, and just generally
cause unwanted weirdness. Do a source-wide pass to get rid of it.
Diffstat (limited to 'macros.pl')
-rw-r--r-- | macros.pl | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# +# # macros.pl produce macros.c from standard.mac # # The Netwide Assembler is copyright (C) 1996 Simon Tatham and @@ -17,10 +17,10 @@ my $tasm_count; 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"; - + foreach $fname ( @ARGV ) { open(INPUT,$fname) or die "unable to open $fname\n"; while (<INPUT>) { @@ -35,7 +35,7 @@ foreach $fname ( @ARGV ) { if (length > 0) { print OUTPUT " \"$_\",\n"; $index++; - } + } } else { die "$fname:$line: error unterminated quote"; } |