]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: fix a few issues with new patch.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 20 Jun 2018 04:39:33 +0000 (23:39 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 20 Jun 2018 04:39:33 +0000 (23:39 -0500)
basis/shuffle/shuffle.factor
extra/24-game/24-game.factor
extra/pcre/pcre.factor

index bc78fd6dc88d01599f9aaf1df0bdf7e60581f8a5..d4619b1c5fc310efa49e85f9e8fbe924aa224d4d 100644 (file)
@@ -14,6 +14,4 @@ MACRO: shuffle-effect ( effect -- quot )
 SYNTAX: shuffle(
     ")" parse-effect suffix! \ shuffle-effect suffix! ;
 
-: spin ( x y z -- z y x ) swap rot ; inline deprecated
-
 : 2swap ( x y z t -- z t x y ) 2 2 mnswap ; inline
index fa13438081cd1cd710fb662bcdce64fb9013dca9..7dc68f89b4cc5f92dfc98a1525afcdfa28abb084 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright © 2008 Reginald Keith Ford II
 ! 24, the Factor game!
 USING: accessors backtrack combinators continuations formatting fry io
-kernel math prettyprint quotations random sequences shuffle ;
+kernel math prettyprint quotations random sequences ;
 IN: 24-game
 
 : nop ( -- ) ;
index f30f70a71f58e54a3b26494b1e396cc496d3fa3e..3bff03aaab6f513e1a302263a20d3ab0731cdad6 100644 (file)
@@ -90,7 +90,7 @@ ERROR: pcre-error value ;
     0 { c-string } [ pcre_study ] with-out-parameters drop ;
 
 : exec ( pcre extra subject ofs opts -- count match-data )
-    [ dup length ] 2dip 30 int <c-array> 30 [ pcre_exec ] keepd;
+    [ dup length ] 2dip 30 int <c-array> 30 [ pcre_exec ] keepd ;
 
 TUPLE: matcher pcre extra subject ofs exec-opts ;