projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146ddbf
)
Add C:<< and C:>>.
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 6 Oct 2006 04:53:35 +0000
(
04:53
+0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 6 Oct 2006 04:53:35 +0000
(
04:53
+0000)
v7/src/compiler/machines/C/cout.scm
patch
|
blob
|
history
diff --git
a/v7/src/compiler/machines/C/cout.scm
b/v7/src/compiler/machines/C/cout.scm
index 32179217d9a1c14d6779aa3c520b841d4313020f..b5e9204841fa0c5a0b1841d9b81f1a90052cad2a 100644
(file)
--- a/
v7/src/compiler/machines/C/cout.scm
+++ b/
v7/src/compiler/machines/C/cout.scm
@@
-1,6
+1,6
@@
#| -*-Scheme-*-
-$Id: cout.scm,v 1.2
7 2006/10/05 19:14:39
cph Exp $
+$Id: cout.scm,v 1.2
8 2006/10/06 04:53:35
cph Exp $
Copyright 1993,1998,2006 Massachusetts Institute of Technology
@@
-1474,6
+1474,12
@@
USA.
(define (c:/ a b)
(c:binary-infix "/" a b))
+(define (c:<< a b)
+ (c:binary-infix "<<" a b))
+
+(define (c:>> a b)
+ (c:binary-infix ">>" a b))
+
(define (c:ubinary op a b)
(if (default-object? b)
(c:unary op a)