File tree 1 file changed +3
-3
lines changed
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
1519
1519
call self .reader.skip_white ()
1520
1520
let pos = self .reader.getpos ()
1521
1521
let key = self .reader.read_word ()
1522
- if key == ' '
1522
+ if key == # ' '
1523
1523
break
1524
1524
endif
1525
1525
if ! s: islower (key [0 ])
@@ -5079,9 +5079,9 @@ function! s:Compiler.compile(node) abort
5079
5079
return self .compile_curlynameexpr (a: node )
5080
5080
elseif a: node .type == # s: NODE_LAMBDA
5081
5081
return self .compile_lambda (a: node )
5082
- elseif a: node .type == s: NODE_HEREDOC
5082
+ elseif a: node .type == # s: NODE_HEREDOC
5083
5083
return self .compile_heredoc (a: node )
5084
- elseif a: node .type == s: NODE_PARENEXPR
5084
+ elseif a: node .type == # s: NODE_PARENEXPR
5085
5085
return self .compile_parenexpr (a: node )
5086
5086
else
5087
5087
throw printf (' Compiler: unknown node: %s' , string (a: node ))
You can’t perform that action at this time.
0 commit comments