Merge pull request #134 from timb07/issue_90
FIX: TypeError caused by bug in _parse_comment; #90 #89 #109pull/157/head
commit
67bc581bd3
|
@ -338,7 +338,7 @@ class PSBaseParser(object):
|
|||
m = EOL.search(s, i)
|
||||
if not m:
|
||||
self._curtoken += s[i:]
|
||||
return (self._parse_comment, len(s))
|
||||
return len(s)
|
||||
j = m.start(0)
|
||||
self._curtoken += s[i:j]
|
||||
self._parse1 = self._parse_main
|
||||
|
|
Loading…
Reference in New Issue