macros.pl: handle \-continuation lines in macros.pl
Correctly handle \-continuation lines in macros.pl. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
777cdbee01
commit
9f9fcfa455
1 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,12 @@ foreach $fname ( @ARGV ) {
|
|||
while (<INPUT>) {
|
||||
$line++;
|
||||
chomp;
|
||||
while (/^(.*)\\$/) {
|
||||
$_ = $1;
|
||||
$_ .= <INPUT>;
|
||||
chomp;
|
||||
$line++;
|
||||
}
|
||||
if (m/^\s*\*END\*TASM\*MACROS\*\s*$/) {
|
||||
$tasm_count = $index;
|
||||
print OUT " /* End of TASM macros */\n";
|
||||
|
|
Loading…
Reference in a new issue