Merge r7440 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7693 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 04:27:51 +00:00
parent 6cdf761764
commit 30871c22d1

View File

@@ -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++
}