projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d503ec6
)
BSD 3 development
author
Bill Joy
<wnj@ucbvax.Berkeley.EDU>
Fri, 19 Oct 1979 11:38:42 +0000
(
03:38
-0800)
committer
Bill Joy
<wnj@ucbvax.Berkeley.EDU>
Fri, 19 Oct 1979 11:38:42 +0000
(
03:38
-0800)
Work on file usr/src/cmd/pxp/yycopy.c
Synthesized-from: 3bsd
usr/src/cmd/pxp/yycopy.c
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/src/cmd/pxp/yycopy.c
b/usr/src/cmd/pxp/yycopy.c
new file mode 100644
(file)
index 0000000..
bf569f2
--- /dev/null
+++ b/
usr/src/cmd/pxp/yycopy.c
@@ -0,0
+1,19
@@
+/* Copyright (c) 1979 Regents of the University of California */
+#include "0.h"
+#include "yy.h"
+
+OYcopy ()
+ {
+ register int *r0 = & OY;
+ register int *r1 = & Y;
+ register int r2 = ( sizeof ( struct yytok ) ) / ( sizeof ( int ) );
+
+ do
+ {
+ * r0 ++ = * r1 ++ ;
+ }
+ while ( -- r2 > 0 );
+ }
+
+
+