]> gitweb.factorcode.org Git - factor.git/commitdiff
xml.syntax: parse <-variable->s with parse-word instead of search so the no-word...
authorJoe Groff <joe@victoria.(none)>
Tue, 8 Jun 2010 19:18:06 +0000 (12:18 -0700)
committerJoe Groff <joe@victoria.(none)>
Tue, 8 Jun 2010 19:18:06 +0000 (12:18 -0700)
basis/xml/syntax/syntax.factor

index 92f3cd7a897733e5434ffb0e113991ac66f0cfe3..6455d7ba0bd79dad758ab68b5b75fe5ce92a60d9 100644 (file)
@@ -145,7 +145,7 @@ MACRO: interpolate-xml ( xml -- quot )
     ] each-interpolated drop ;
 
 : >search-hash ( seq -- hash )
-    [ dup search ] H{ } map>assoc ;
+    [ dup parse-word ] H{ } map>assoc ;
 
 : extract-variables ( xml -- seq )
     [ [ var>> , ] each-interpolated ] { } make ;