Changeset 269 for pkpgcounter/trunk/pkpgpdls/pclxl.py
- Timestamp:
- 09/29/05 12:05:32 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/pclxl.py
r266 r269 259 259 endmark = chr(0x0c) + chr(0x00) + chr(0x1b) 260 260 asciilimit = chr(0x80) 261 while (self.minfile[endpos] not in endmark) and (self.minfile[endpos] < asciilimit) : 261 quotes = 0 262 while (self.minfile[endpos] not in endmark) and \ 263 ((self.minfile[endpos] < asciilimit) or (quotes % 2)) : 264 if self.minfile[endpos] == '"' : 265 quotes += 1 262 266 endpos += 1 263 267