Skip to content

Commit

Permalink
* setting: Make "&say" return True.
Browse files Browse the repository at this point in the history
  • Loading branch information
Audrey Tang committed Jul 19, 2010
1 parent f23f3aa commit c607ffc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setting
Expand Up @@ -254,7 +254,9 @@ sub infix:<< != >>($l,$r) { Q:CgOp {
sub say($str) { Q:CgOp {
(prog (rawscall Console.WriteLine
(unbox String (fetch (methodcall (scopedlex $str) Str))))
(null Variable))
(null Variable)
(box Bool (bool 1))
)
} }

sub infix:<=> { Q:CgOp { (prog (assign (pos 0) (pos 1)) (pos 0)) } }
Expand Down

0 comments on commit c607ffc

Please sign in to comment.