summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-10-21 21:27:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-10-21 21:27:05 -0400
commitf74729876fe8f89cdfa176e99d17dc4da9e3e05b (patch)
treef53fc0961497223a8f983177f9b221fc473e7545
parent742a4c0b0caa6a868f0133c10c56dcf4915f0e68 (diff)
xml: Reverse order of operations issue.
Try to parse close tags before open tags. * syntax-highlight/xml.scm (xml-highlighter): Switch order of 'parse-close-tag' and 'parse-open-tag'.
-rw-r--r--syntax-highlight/xml.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax-highlight/xml.scm b/syntax-highlight/xml.scm
index 371f36f..87b661b 100644
--- a/syntax-highlight/xml.scm
+++ b/syntax-highlight/xml.scm
@@ -105,7 +105,7 @@
(parse-map flatten+compact
(parse-many
(parse-any parse-comment
- parse-open-tag
parse-close-tag
+ parse-open-tag
parse-entity
parse-text))))