Changeset 249
- Timestamp:
- 04/17/07 13:39:13 (1 year ago)
- Files:
-
- pyyaml/trunk/lib/yaml/parser.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pyyaml/trunk/lib/yaml/parser.py
r235 r249 156 156 def parse_document_start(self): 157 157 158 # Parse any extra document end indicators. 159 while self.check_token(DocumentEndToken): 160 self.get_token() 161 158 162 # Parse an explicit document. 159 163 if not self.check_token(StreamEndToken): … … 187 191 start_mark = end_mark = token.start_mark 188 192 explicit = False 189 whileself.check_token(DocumentEndToken):193 if self.check_token(DocumentEndToken): 190 194 token = self.get_token() 191 195 end_mark = token.end_mark
