1
0
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:
Alexander Medvednikov
2019-11-06 06:26:04 +03:00
parent 4d876d1980
commit 8dd335295e
4 changed files with 6 additions and 6 deletions

View File

@ -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
})