]> gitweb.factorcode.org Git - factor.git/commitdiff
xml.tokenize: slight fix to reduce number of namespace lookups.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 11 Sep 2012 21:43:19 +0000 (14:43 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 11 Sep 2012 21:46:45 +0000 (14:46 -0700)
basis/xml/tokenize/tokenize.factor

index f6631f5b3aada41adc9c09196616be732dfaf8b4..a85c48a022731267eea84d001a226ac400f47220 100644 (file)
@@ -130,7 +130,7 @@ HINTS: next* { spot } ;
             accum parse-entity
             quot accum spot (parse-char)
         ] }
-        { [ char CHAR: % eq? in-dtd? get and ] [
+        { [ char CHAR: % eq? [ in-dtd? get ] [ f ] if ] [
             accum parse-pe
             quot accum spot (parse-char)
         ] }