Changeset 60
- Timestamp:
- 03/01/06 04:28:46 (7 years ago)
- Location:
- branches/pyyaml3000
- Files:
-
- 2 added
- 1 edited
-
lib/yaml/scanner.py (modified) (2 diffs)
-
tests/data/scan-line-break-bug.canonical (added)
-
tests/data/scan-line-break-bug.data (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/pyyaml3000/lib/yaml/scanner.py
r57 r60 96 96 # - after '{', '[', ',' (in the flow context), 97 97 # - after '?', ':', '-' (in the block context). 98 # In the block context, this flag also signif yif a block collection98 # In the block context, this flag also signifies if a block collection 99 99 # may start at the current position. 100 100 self.allow_simple_key = True … … 1399 1399 if ch in u'\r\n\x85': 1400 1400 if self.reader.prefix(2) == u'\r\n': 1401 self. forward(2)1401 self.reader.forward(2) 1402 1402 else: 1403 1403 self.reader.forward()
Note: See TracChangeset
for help on using the changeset viewer.
