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

token: remove switch keyword (#6056)

This commit is contained in:
Swastik Baranwal 2020-08-04 14:34:07 +05:30 committed by GitHub
parent f7a0d0a02f
commit f3817c47f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,6 @@ pub enum Kind {
key_unlikely
key_offsetof
key_struct
key_switch
key_true
key_type
key_typeof
@ -234,7 +233,6 @@ fn build_token_str() []string {
s[Kind.key_rlock] = 'rlock'
s[Kind.key_type] = 'type'
s[Kind.key_for] = 'for'
s[Kind.key_switch] = 'switch'
s[Kind.key_fn] = 'fn'
s[Kind.key_true] = 'true'
s[Kind.key_false] = 'false'