xo-reader: refactor: + expect_type_xs [wip]
This commit is contained in:
parent
08497a371c
commit
1087e57a62
5 changed files with 55 additions and 2 deletions
|
|
@ -75,9 +75,11 @@ namespace xo {
|
|||
return std::make_unique<exprstate>(exprstate(exprstatetype::expect_symbol));
|
||||
}
|
||||
#endif
|
||||
#ifdef RELOCATED
|
||||
static std::unique_ptr<exprstate> expect_type() {
|
||||
return std::make_unique<exprstate>(exprstate(exprstatetype::expect_type));
|
||||
}
|
||||
#endif
|
||||
|
||||
exprstatetype exs_type() const { return exs_type_; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue