Closed GoogleCodeExporter closed 9 years ago
Interestingly, pdfbuilder.py uses parser for exactly the same reason as Sphinx'
highlighting.py, so Sphinx' approach would work just fine for pdfbuilder.py:
if parser is None:
return True
try:
parser.suite(src)
except SyntaxError, UnicodeEncodeError:
return False
else:
return True
Original comment by to...@clearstorydata.com
on 15 Jul 2012 at 5:12
fixed (hopefully, untested) in r2515
Original comment by roberto.alsina
on 15 Jul 2012 at 9:44
Original comment by roberto.alsina
on 6 Aug 2012 at 1:21
Original issue reported on code.google.com by
to...@clearstorydata.com
on 15 Jul 2012 at 5:08