diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-05 18:08:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-05 18:08:28 +0200 |
commit | 490accaef42ac7a15c56c0252e1e266631534d8a (patch) | |
tree | 21223fac6a1ea7f8b2ac0b989101f7cc24429bee /cutl/compiler/cxx-indenter.txx | |
parent | da17cddd8fe5ab873de06eede24a6faa13e5eab9 (diff) |
Fix a mis-indentation bug in C++ indenter
Diffstat (limited to 'cutl/compiler/cxx-indenter.txx')
-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; } |