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:
Lovens Weche 2019-02-28 10:24:21 -05:00 committed by GitHub
commit 2b708d0bbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)