mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
new enum step 2
This commit is contained in:
@ -59,7 +59,7 @@ fn (p mut Parser) enum_decl(no_name bool) {
|
||||
name: enum_name
|
||||
mod: p.mod
|
||||
parent: 'int'
|
||||
cat: TypeCategory.enum_
|
||||
cat: .enum_
|
||||
enum_vals: fields.clone()
|
||||
is_public: is_pub
|
||||
})
|
||||
|
Reference in New Issue
Block a user