Commit 4a791701 authored by Carson McDonald's avatar Carson McDonald

Add null check on lex_strterm in heredoc block

parent b97c6d10
......@@ -4150,7 +4150,9 @@ parser_yylex(parser_state *p)
p->lineno++;
p->column = 0;
if (p->parsing_heredoc != NULL) {
return parse_string(p);
if (p->lex_strterm) {
return parse_string(p);
}
}
goto retry;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment