comparison mercurial/minirst.py @ 10063:a46478b80ea3

minirst: run inlineliterals too in debug mode
author Martin Geisler <mg@lazybytes.net>
date Sun, 13 Dec 2009 19:24:24 +0100
parents 245689e7f869
children 6f30c35766d6
comparison
equal deleted inserted replaced
10062:c204431b039e 10063:a46478b80ea3
271 return blocks 271 return blocks
272 272
273 text = open(sys.argv[1]).read() 273 text = open(sys.argv[1]).read()
274 blocks = debug(findblocks, text) 274 blocks = debug(findblocks, text)
275 blocks = debug(findliteralblocks, blocks) 275 blocks = debug(findliteralblocks, blocks)
276 blocks = debug(inlineliterals, blocks)
276 blocks = debug(splitparagraphs, blocks) 277 blocks = debug(splitparagraphs, blocks)
277 blocks = debug(findsections, blocks) 278 blocks = debug(findsections, blocks)
278 blocks = debug(addmargins, blocks) 279 blocks = debug(addmargins, blocks)
279 print '\n'.join(formatblock(b, 30) for b in blocks) 280 print '\n'.join(formatblock(b, 30) for b in blocks)