cl-ast: Allow c-like enums to take an expr
This commit is contained in:
@@ -183,7 +183,7 @@ pub struct Variant {
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
pub enum VariantKind {
|
||||
Plain,
|
||||
CLike(u128),
|
||||
CLike(Box<Expr>),
|
||||
Tuple(Ty),
|
||||
Struct(Vec<StructMember>),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user