xo-reader: refactor: specialize admits_definition() for define_xs
This commit is contained in:
parent
3a1db8ca02
commit
3f949dd3e4
3 changed files with 40 additions and 5 deletions
|
|
@ -70,11 +70,7 @@ namespace xo {
|
|||
case exprstatetype::def_3:
|
||||
case exprstatetype::def_4:
|
||||
case exprstatetype::def_5:
|
||||
/* note for def_4:
|
||||
* rhs could certainly be a function body that contains
|
||||
* nested defines; but then immediately-enclosing-exprstate
|
||||
* would be a block
|
||||
*/
|
||||
/* unreachable */
|
||||
return false;
|
||||
case exprstatetype::lparen_0:
|
||||
case exprstatetype::lparen_1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue