diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-09-05 23:55:38 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-09-05 23:55:38 +0000 |
commit | 4b4060b8ef64da355070ee016235ad3f1d4b1f9f (patch) | |
tree | f16da87914ecc7e091bd03a652e48106900df5d3 /src/templates | |
parent | d5e8ab71a49477db9e887499ed9513c7276ebbad (diff) | |
download | pandoc-4b4060b8ef64da355070ee016235ad3f1d4b1f9f.tar.gz |
Simplified parsing of reference keys and notes in markdown and RST
readers:
+ The Reference data structure from Text.Pandoc.Shared is no longer
needed, since
+ referenceKey and noteBlock parses return strings (as many blank lines
as are occuried by the key or note) and update state themselves.
+ getPosition and setPosition are now used to ensure that error messages
will give the correct line number.
+ This yields cleaner (and slightly faster) code, with more accurate
parsing error messages.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1012 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/templates')
0 files changed, 0 insertions, 0 deletions