diff options
Diffstat (limited to 'parser.py')
-rw-r--r-- | parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -233,7 +233,8 @@ class Parser: # end_mark.line != self.scanner.peek_token().start_mark.line: # self.loader.scalar_after_indicator = False event = DocumentStartEvent( - start_mark, end_mark, explicit=True, version=version, tags=tags, comment=token.comment + start_mark, end_mark, explicit=True, version=version, tags=tags, + comment=token.comment ) # type: Any self.states.append(self.parse_document_end) self.state = self.parse_document_content |