Changeset 60


Ignore:
Timestamp:
03/01/06 04:28:46 (8 years ago)
Author:
xi
Message:

Fixed a silly bug in scan_line_break.
Thanks Gustavo Rahal for reporting it.

Location:
branches/pyyaml3000
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pyyaml3000/lib/yaml/scanner.py

    r57 r60  
    9696        # - after '{', '[', ',' (in the flow context), 
    9797        # - after '?', ':', '-' (in the block context). 
    98         # In the block context, this flag also signify if a block collection 
     98        # In the block context, this flag also signifies if a block collection 
    9999        # may start at the current position. 
    100100        self.allow_simple_key = True 
     
    13991399        if ch in u'\r\n\x85': 
    14001400            if self.reader.prefix(2) == u'\r\n': 
    1401                 self.forward(2) 
     1401                self.reader.forward(2) 
    14021402            else: 
    14031403                self.reader.forward() 
Note: See TracChangeset for help on using the changeset viewer.