mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Change import syntax to "import as alias"
This commit is contained in:

committed by
Alexander Medvednikov

parent
163cd8576b
commit
298ca8676f
@ -102,6 +102,7 @@ enum Token {
|
||||
key_pub
|
||||
key_goto
|
||||
key_static
|
||||
key_as
|
||||
keyword_end
|
||||
}
|
||||
|
||||
@ -211,6 +212,7 @@ fn build_token_str() []string {
|
||||
s[Token.key_global] = '__global'
|
||||
s[Token.key_union] = 'union'
|
||||
s[Token.key_static] = 'static'
|
||||
s[Token.key_as] = 'as'
|
||||
return s
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user