xo-reader: tidy: cleanup debris
This commit is contained in:
parent
2b436850cf
commit
57b9a7f561
2 changed files with 0 additions and 16 deletions
|
|
@ -70,17 +70,6 @@ namespace xo {
|
||||||
{}
|
{}
|
||||||
virtual ~exprstate() = default;
|
virtual ~exprstate() = default;
|
||||||
|
|
||||||
#ifdef RELOCATED
|
|
||||||
static std::unique_ptr<exprstate> expect_symbol() {
|
|
||||||
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_; }
|
exprstatetype exs_type() const { return exs_type_; }
|
||||||
|
|
||||||
/** true iff this parsing state admits a symbol as next token **/
|
/** true iff this parsing state admits a symbol as next token **/
|
||||||
|
|
|
||||||
|
|
@ -23,11 +23,6 @@ namespace xo {
|
||||||
bool
|
bool
|
||||||
paren_xs::admits_singleassign() const { return false; }
|
paren_xs::admits_singleassign() const { return false; }
|
||||||
|
|
||||||
#ifdef OBSOLETE
|
|
||||||
bool
|
|
||||||
paren_xs::admits_leftparen() const { /*unreachable*/ return false; }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
paren_xs::admits_rightparen() const {
|
paren_xs::admits_rightparen() const {
|
||||||
switch (parenxs_type_) {
|
switch (parenxs_type_) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue