Skip to content

Commit 834a945

Browse files
committedJan 23, 2018
update astyle to 3.1
1 parent f2273c6 commit 834a945

File tree

9 files changed

+1758
-699
lines changed

9 files changed

+1758
-699
lines changed
 

‎external/astyle/ASBeautifier.cpp

Lines changed: 143 additions & 58 deletions
Large diffs are not rendered by default.

‎external/astyle/ASEnhancer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ASEnhancer.cpp
2-
// Copyright (c) 2017 by Jim Pattee <jimp03@email.com>.
2+
// Copyright (c) 2018 by Jim Pattee <jimp03@email.com>.
33
// This code is licensed under the MIT License.
44
// License.md describes the conditions under which this software may be distributed.
55

@@ -679,7 +679,6 @@ size_t ASEnhancer::processSwitchBlock(string& line, size_t index)
679679
if (line[i] == '}')
680680
{
681681
sw.switchBraceCount--;
682-
assert(sw.switchBraceCount <= braceCount);
683682
if (sw.switchBraceCount == 0) // if end of switch statement
684683
{
685684
int lineUnindent = sw.unindentDepth;

0 commit comments

Comments
 (0)