105
103
#we have to hack the traceback
109
107
sys.stderr.write("Parser method: %s(*%s) %s at line %d\n" % (cmd, args, err, self._lineNo))
112
110
# assume it is a paragraph style -
113
111
# becomes the formatter's problem
114
112
self.endPara() #end the last one
116
114
assert len(words)==2, "Style %s but no data at line %d" % (words[0], self._lineNo)
118
116
self._style = styletag[1:]