diff options
Diffstat (limited to 'cutl/compiler')
-rw-r--r-- | cutl/compiler/cxx-indenter.txx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cutl/compiler/cxx-indenter.txx b/cutl/compiler/cxx-indenter.txx index 976eb3b..ab5b5a8 100644 --- a/cutl/compiler/cxx-indenter.txx +++ b/cutl/compiler/cxx-indenter.txx @@ -541,7 +541,10 @@ namespace cutl } } } - else if (token_ != rbrace_) + + // Stop buffering unless we have another closing brace. + // + if (token_ != rbrace_) { buffering_ = false; } |