]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/txon/txon.factor
factor: use new words
[factor.git] / extra / txon / txon.factor
index 7bdfcec510e144fb6b07facf0fd737f59745afaa..f681ef3c21d71952d053616145604807c5abbfc5 100644 (file)
@@ -42,7 +42,7 @@ DEFER: name/values
 
 : name=value ( string -- remain term )
     [ unicode:blank? ] trim
-    ":`" over subseq? [ (name=value) ] [ f swap ] if ;
+    dup ":`" find-subseq? [ (name=value) ] [ f swap ] if ;
 
 : name/values ( string -- remain terms )
     [ dup { [ empty? not ] [ first CHAR: ` = not ] } 1&& ]