]> gitweb.factorcode.org Git - factor.git/commitdiff
xml.entities: use with-variable in with-entities.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 5 Dec 2016 18:38:26 +0000 (10:38 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 5 Dec 2016 18:38:26 +0000 (10:38 -0800)
basis/xml/entities/entities.factor

index 9edca9359cc0f2467d76ba5687132c6dd1e70c5f..d79b4eea79f1a71dc8e1964af62c397b31f74d1c 100644 (file)
@@ -39,4 +39,4 @@ CONSTANT: entities
     }
 
 : with-entities ( entities quot -- )
-    [ swap extra-entities set call ] with-scope ; inline
+    [ extra-entities ] dip with-variable ; inline