1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

match: second step

This commit is contained in:
Alexander Medvednikov
2019-10-23 01:06:06 +03:00
parent d8edc27805
commit 0806aa353c
2 changed files with 5 additions and 5 deletions

View File

@@ -151,8 +151,8 @@ fn generate_vh(mod string) {
continue
}
match tok.tok {
TokenKind.key_fn => { generate_fn(out, p.tokens, i) }
TokenKind.key_const => { generate_const(out, p.tokens, i) }
TokenKind.key_fn { generate_fn(out, p.tokens, i) }
TokenKind.key_const { generate_const(out, p.tokens, i) }
}
}
}