implement brace depth tracking in Compiler for unmatched '{' error handling
This commit is contained in:
@@ -40,6 +40,7 @@ private:
|
||||
const Options &options_;
|
||||
Program program_;
|
||||
std::unordered_map<std::string, std::size_t> labels_;
|
||||
int braceDepth_ = 0;
|
||||
};
|
||||
|
||||
} // namespace sedpp
|
||||
|
||||
Reference in New Issue
Block a user