]> gitweb.factorcode.org Git - factor.git/commitdiff
basis.xml: A fix for <pull-xml> (calls init-parser so that the spot variable is binded)
authorBruno Deferrari <utizoc@gmail.com>
Wed, 22 Jul 2009 23:49:57 +0000 (20:49 -0300)
committerBruno Deferrari <utizoc@gmail.com>
Wed, 22 Jul 2009 23:49:57 +0000 (20:49 -0300)
basis/xml/xml.factor

index cca1b5e2e0cf4160f8538a39e59b73b983e4ceab..a1d734f291e5e356b91be503809c0ca003993127 100755 (executable)
@@ -110,6 +110,7 @@ PRIVATE>
 TUPLE: pull-xml scope ;
 : <pull-xml> ( -- pull-xml )
     [
+        init-parser
         input-stream [ ] change ! bring var in this scope
         init-xml text-now? on
     ] H{ } make-assoc