diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-04-30 04:39:45 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-04-30 04:39:45 +0000 |
| commit | ab100f7c5e5174620e8cff8dc965be68a1f3ba5a (patch) | |
| tree | a6b84b4c6dead7799c0eacc9d4cf8b5c335774a2 /tests | |
| parent | 490c4304f5d249ae1fa045d15baf473386e4fc65 (diff) | |
| download | pandoc-ab100f7c5e5174620e8cff8dc965be68a1f3ba5a.tar.gz | |
Markdown reader: improved efficiency of abbreviation parsing.
Instead of a separate abbrev parser, we just check for abbreviations
each time we parse a string. This gives a huge performance boost
with -S. Resolves Issue #141.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1570 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/testsuite.native | 2 | ||||
| -rw-r--r-- | tests/writer.native | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testsuite.native b/tests/testsuite.native index 875918b9e..5f2459ffb 100644 --- a/tests/testsuite.native +++ b/tests/testsuite.native @@ -165,7 +165,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane [ [ Plain [Str "Nested",Str "."] ] ] ] ] , Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"] -, Para [Str "M",Str ".",Str "A.\160",Str "2007"] +, Para [Str "M.A.\160",Str "2007"] , Para [Str "B",Str ".",Space,Str "Williams"] , HorizontalRule , Header 1 [Str "Definition",Space,Str "Lists"] diff --git a/tests/writer.native b/tests/writer.native index 875918b9e..5f2459ffb 100644 --- a/tests/writer.native +++ b/tests/writer.native @@ -165,7 +165,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane [ [ Plain [Str "Nested",Str "."] ] ] ] ] , Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"] -, Para [Str "M",Str ".",Str "A.\160",Str "2007"] +, Para [Str "M.A.\160",Str "2007"] , Para [Str "B",Str ".",Space,Str "Williams"] , HorizontalRule , Header 1 [Str "Definition",Space,Str "Lists"] |
