From 953b86a9a262e487ab3cfd608adf758ef562298e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 23 Jul 2018 04:29:55 +0000 Subject: [PATCH] scripts/specialize-patch: Add a comment git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7440 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/specialize-patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/specialize-patch b/scripts/specialize-patch index be79b2a74..147ef87b0 100755 --- a/scripts/specialize-patch +++ b/scripts/specialize-patch @@ -647,6 +647,8 @@ BEGIN { else if (lines >= 2 && !match(line[lines-2], ":$") && line[lines-1] == "+\x9return;" && $0 == "+}") { + # Delete "return;" statements at the end of a function that are not + # preceded by a label. line[lines-1] = $0 lines_less_added++ }