]> gitweb.factorcode.org Git - factor.git/commitdiff
match: whoops.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 20 Jul 2012 00:09:23 +0000 (17:09 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 20 Jul 2012 00:09:23 +0000 (17:09 -0700)
basis/match/match.factor

index 98340bb2e57818a580e1113594a64dbf330413e7..9125eb6ed0f70811ec03d8235e94eaac35965fb3 100644 (file)
@@ -23,7 +23,7 @@ SYNTAX: MATCH-VARS: ! vars ...
     dup word? [ "match-var" word-prop ] [ drop f ] if ;
 
 : set-match-var ( value var -- ? )
-    dup namespace get key? [ get = ] [ set t ] if ;
+    dup namespace key? [ get = ] [ set t ] if ;
 
 : (match) ( value1 value2 -- matched? )
     {