Add Expr::Underscore

This commit is contained in:
Ryo Yoshida 2022-05-27 02:14:06 +09:00
parent e10799536a
commit c1c867506b
No known key found for this signature in database
GPG key ID: E25698A930586171
3 changed files with 9 additions and 1 deletions

View file

@ -203,6 +203,7 @@ pub enum Expr {
},
Array(Array),
Literal(Literal),
Underscore,
}
#[derive(Debug, Clone, Eq, PartialEq)]
@ -345,6 +346,7 @@ impl Expr {
},
Expr::MacroStmts { tail } => f(*tail),
Expr::Literal(_) => {}
Expr::Underscore => {}
}
}
}