xml: Reverse order of operations issue.
authorDavid Thompson <dthompson2@worcester.edu>
Thu, 22 Oct 2015 01:27:05 +0000 (21:27 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Thu, 22 Oct 2015 01:27:05 +0000 (21:27 -0400)
Try to parse close tags before open tags.

* syntax-highlight/xml.scm (xml-highlighter): Switch order of
  'parse-close-tag' and 'parse-open-tag'.

syntax-highlight/xml.scm

index 371f36f..87b661b 100644 (file)
   (parse-map flatten+compact
              (parse-many
               (parse-any parse-comment
-                         parse-open-tag
                          parse-close-tag
+                         parse-open-tag
                          parse-entity
                          parse-text))))