Merge pull request #3948 from LovCAPONE/def_multi_line_str_parser_test_fix
Fix parser crash in defined multi line str test
This commit is contained in:
commit
2b708d0bbe
1 changed files with 2 additions and 0 deletions
|
@ -493,6 +493,8 @@ class Parser:
|
|||
else:
|
||||
if self.in_string:
|
||||
self.temp_string += line
|
||||
elif self.temp_key_nodes and line.strip(b" \t\n") == b"":
|
||||
return b""
|
||||
else:
|
||||
self.parse_outside_strings(line)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue