Fix uninitialized variable error
This commit is contained in:
parent
22a4c5213d
commit
074a7884aa
3 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ std::ostream &operator<<(std::ostream &stream, const LexAction &action) {
|
|||
}
|
||||
}
|
||||
|
||||
LexState::LexState() : is_token_start(false) {}
|
||||
|
||||
set<CharacterSet> LexState::expected_inputs() const {
|
||||
set<CharacterSet> result;
|
||||
for (auto &pair : actions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue