File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1519,7 +1519,7 @@ function! s:VimLParser.parse_heredoc() abort
15191519 call self .reader.skip_white ()
15201520 let pos = self .reader.getpos ()
15211521 let key = self .reader.read_word ()
1522- if key == ' '
1522+ if key == # ' '
15231523 break
15241524 endif
15251525 if ! s: islower (key [0 ])
@@ -5079,9 +5079,9 @@ function! s:Compiler.compile(node) abort
50795079 return self .compile_curlynameexpr (a: node )
50805080 elseif a: node .type == # s: NODE_LAMBDA
50815081 return self .compile_lambda (a: node )
5082- elseif a: node .type == s: NODE_HEREDOC
5082+ elseif a: node .type == # s: NODE_HEREDOC
50835083 return self .compile_heredoc (a: node )
5084- elseif a: node .type == s: NODE_PARENEXPR
5084+ elseif a: node .type == # s: NODE_PARENEXPR
50855085 return self .compile_parenexpr (a: node )
50865086 else
50875087 throw printf (' Compiler: unknown node: %s' , string (a: node ))
You can’t perform that action at this time.
0 commit comments