diff --git a/src/scanner.cc b/src/scanner.cc index 1e310eb..b79c02c 100644 --- a/src/scanner.cc +++ b/src/scanner.cc @@ -318,7 +318,7 @@ struct Scanner { state.bracket_depth++; break; case '{': - state.bracket_depth++; + state.brace_depth++; break; case ')': if (state.paren_depth == 0) state.done = true;