From e8f04d3f1c7d32eebb113ed581449e5f89a0e620 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 27 Jun 2012 05:30:53 +0000 Subject: [PATCH] scripts/specialize-patch: Avoid that joining two lines generates a space in front of a tab. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4379 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/specialize-patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/specialize-patch b/scripts/specialize-patch index ee06c5989..bb93ebcf6 100755 --- a/scripts/specialize-patch +++ b/scripts/specialize-patch @@ -503,11 +503,11 @@ BEGIN { while (match($0, "\\\\$")) { previous_line = $0 - sub("\\\\$", "", previous_line) + sub("[ \t]*\\\\$", "", previous_line) getline input_line[input_line_count++] = $0 - sub("^+", "", $0) - $0 = previous_line $0 + sub("^+[ \t]*", "", $0) + $0 = previous_line " " $0 } discard = 0