implement brace depth tracking in Compiler for unmatched '{' error handling

This commit is contained in:
2026-06-11 08:15:35 -05:00
parent 577b391aa3
commit 0ae8830b04
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -40,6 +40,7 @@ private:
const Options &options_;
Program program_;
std::unordered_map<std::string, std::size_t> labels_;
int braceDepth_ = 0;
};
} // namespace sedpp