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

@ for escaping keywords

This commit is contained in:
Alexander Medvednikov
2019-07-24 02:22:34 +02:00
parent facf55cbc0
commit c28a490c17
4 changed files with 21 additions and 6 deletions

View File

@ -34,6 +34,7 @@ enum Token {
dollar
left_shift
righ_shift
//at // @
// = := += -=
assign
decl_assign
@ -148,6 +149,7 @@ fn build_token_str() []string {
s[Token.dot] = '.'
s[Token.dotdot] = '..'
s[Token.comma] = ','
//s[Token.at] = '@'
s[Token.semicolon] = ';'
s[Token.colon] = ':'
s[Token.arrow] = '=>'