Skip to content

Commit 8ef17e7

Browse files
committed
reduce: try removing codeblocks below ';{}'
1 parent b5986f6 commit 8ef17e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/reduce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def removeblocks(filedata):
169169
strippedline = filedata[i].strip()
170170
if len(strippedline)==0:
171171
continue
172-
if strippedline[-1] != '}' and strippedline[-1] != ';':
172+
if ';{}'.find(strippedline[-1]) < 0:
173173
continue
174174

175175
i1 = i + 1

0 commit comments

Comments
 (0)