From a068429f5de5cb5aa9136c3968b87a9c2dbd0827 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 28 Oct 2009 10:54:11 +0000 Subject: [PATCH] Delete double blank lines from the input. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1287 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/specialize-patch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/specialize-patch b/scripts/specialize-patch index 26b50b9f8..4a428ec5f 100755 --- a/scripts/specialize-patch +++ b/scripts/specialize-patch @@ -417,6 +417,9 @@ BEGIN { # Store the lines that were just read. for (i = 0; i < input_line_count; i++) line[lines++] = input_line[i] + # Delete double blank lines from the input. + if (line[lines-1] == "+") + delete_next_blank_line = 1 } else {