Skip to content

Commit e2feb0a

Browse files
committed
rawdict -> litdict
1 parent 8bf14fc commit e2feb0a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

autoload/vimlparser.vim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ let s:TOKEN_DOTDOTDOT = 63
205205
let s:TOKEN_SHARP = 64
206206
let s:TOKEN_ARROW = 65
207207
let s:TOKEN_BLOB = 66
208-
let s:TOKEN_RAWCOPEN = 67
208+
let s:TOKEN_LITCOPEN = 67
209209

210210
let s:MAX_FUNC_ARGS = 20
211211

@@ -2757,7 +2757,7 @@ function! s:ExprTokenizer.get2()
27572757
elseif c ==# '#'
27582758
if r.p(1) ==# '{'
27592759
call r.seek_cur(2)
2760-
return self.token(s:TOKEN_RAWCOPEN, '#{', pos)
2760+
return self.token(s:TOKEN_LITCOPEN, '#{', pos)
27612761
else
27622762
call r.seek_cur(1)
27632763
return self.token(s:TOKEN_SHARP, '#', pos)
@@ -3449,8 +3449,8 @@ function! s:ExprParser.parse_expr9()
34493449
endif
34503450
endwhile
34513451
endif
3452-
elseif token.type == s:TOKEN_COPEN || token.type == s:TOKEN_RAWCOPEN
3453-
let is_rawdict = token.type == s:TOKEN_RAWCOPEN
3452+
elseif token.type == s:TOKEN_COPEN || token.type == s:TOKEN_LITCOPEN
3453+
let is_litdict = token.type == s:TOKEN_LITCOPEN
34543454
let savepos = self.reader.tell()
34553455
let nodepos = token.pos
34563456
let token = self.tokenizer.get()
@@ -3538,7 +3538,7 @@ function! s:ExprParser.parse_expr9()
35383538
return node
35393539
endif
35403540
while 1
3541-
let key = is_rawdict ? self.parse_dict_literal_key() : self.parse_expr1()
3541+
let key = is_litdict ? self.parse_dict_literal_key() : self.parse_expr1()
35423542
let token = self.tokenizer.get()
35433543
if token.type == s:TOKEN_CCLOSE
35443544
if !empty(node.value)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)