Fix TypeError caused by bug in _parse_comment; #90 #89 #109

pull/134/head
Tim Bell 2018-04-03 12:47:40 +10:00
parent eddf861fbd
commit 981e3a575e
1 changed files with 1 additions and 1 deletions

View File

@ -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