From 9f9fcfa45577306420643206739d163f63710d68 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 19 Oct 2008 16:44:02 -0700 Subject: macros.pl: handle \-continuation lines in macros.pl Correctly handle \-continuation lines in macros.pl. Signed-off-by: H. Peter Anvin --- macros.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'macros.pl') diff --git a/macros.pl b/macros.pl index dd9c9618..2eb5167b 100755 --- a/macros.pl +++ b/macros.pl @@ -66,6 +66,12 @@ foreach $fname ( @ARGV ) { while () { $line++; chomp; + while (/^(.*)\\$/) { + $_ = $1; + $_ .= ; + chomp; + $line++; + } if (m/^\s*\*END\*TASM\*MACROS\*\s*$/) { $tasm_count = $index; print OUT " /* End of TASM macros */\n"; -- cgit v1.2.1