fix directory listing
parent
ab015a2fe0
commit
0635fe6d38
|
@ -1,8 +1,8 @@
|
||||||
! Copyright (C) 2005 Slava Pestov.
|
! Copyright (C) 2005 Slava Pestov.
|
||||||
! See http://factor.sf.net/license.txt for BSD license.
|
! See http://factor.sf.net/license.txt for BSD license.
|
||||||
IN: compiler-backend
|
IN: compiler-backend
|
||||||
USING: assembler compiler kernel math math-internals memory
|
USING: assembler compiler kernel kernel-internals math
|
||||||
namespaces words ;
|
math-internals memory namespaces words ;
|
||||||
|
|
||||||
: >3-imm< ( vop -- out1 in2 in1 )
|
: >3-imm< ( vop -- out1 in2 in1 )
|
||||||
[ 0 vop-out v>operand ] keep
|
[ 0 vop-out v>operand ] keep
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
! Copyright (C) 2005 Slava Pestov.
|
! Copyright (C) 2005 Slava Pestov.
|
||||||
! See http://factor.sf.net/license.txt for BSD license.
|
! See http://factor.sf.net/license.txt for BSD license.
|
||||||
IN: compiler-backend
|
IN: compiler-backend
|
||||||
USING: assembler compiler errors kernel math memory words ;
|
USING: assembler compiler errors kernel kernel-internals math
|
||||||
|
memory words ;
|
||||||
|
|
||||||
GENERIC: loc>operand
|
GENERIC: loc>operand
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ DEFER: directory.
|
||||||
dup directory? [
|
dup directory? [
|
||||||
>r "/" append r>
|
>r "/" append r>
|
||||||
dup [ directory. ] curry outline set
|
dup [ directory. ] curry outline set
|
||||||
] when swap file set
|
] when file set
|
||||||
] make-hash ;
|
] make-hash ;
|
||||||
|
|
||||||
: file. ( dir name -- )
|
: file. ( dir name -- )
|
||||||
|
|
Loading…
Reference in New Issue