# 2.11BSD#431 - /usr/src/ucb/PORT/pascal/src/yycopy.c

##### Functions

    OYcopy            X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #ifndef lint
       8: static char sccsid[] = "@(#)yycopy.c	5.1 (Berkeley) 6/5/85";
       9: #endif not lint
      10:
      11: #include    "whoami.h"
      12: #include    "0.h"
      13: #include    "tree_ty.h"     /* must be included for yy.h */
      14: #include    "yy.h"
      15:
      16: OYcopy ()
      17:     {
      18:     register int    *r0 = ((int *) & OY);
      19:     register int    *r1 = ((int *) & Y);
      20:     register int    r2 = ( sizeof ( struct yytok ) ) / ( sizeof ( int ) );
      21:
      22:     do
      23:         {
      24:         * r0 ++ = * r1 ++ ;
      25:         }
      26:         while ( -- r2 > 0 );
      27:     }

#### Defined functions

OYcopy defined in line 16; used 1 times

- in /usr/src/ucb/PORT/pascal/src/yyparse.c line 114

#### Defined variables

sccsid defined in line 8; never used

Last modified: 1985-06-06 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 397 |