xo-reader2: support 0-argument apply-expressions
This commit is contained in:
parent
c221a31efe
commit
6795c1bc15
7 changed files with 138 additions and 77 deletions
|
|
@ -218,7 +218,7 @@ namespace xo {
|
|||
if (!lhs_) {
|
||||
return "expr1|leftparen";
|
||||
} else if (op_type_ == optype::invalid) {
|
||||
return "oper|semicolon|rightparen|rightbrace";
|
||||
return "oper|semicolon|leftparen|rightparen|rightbrace";
|
||||
} else {
|
||||
return "expr2|leftparen";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue