new copyright; att/bsd/shared
[unix-history] / usr / src / usr.bin / pascal / src / yycopy.c
/*-
* Copyright (c) 1980 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#ifndef lint
static char sccsid[] = "@(#)yycopy.c 5.2 (Berkeley) %G%";
#endif /* not lint */
#include "whoami.h"
#include "0.h"
#include "tree_ty.h" /* must be included for yy.h */
#include "yy.h"
OYcopy ()
{
register int *r0 = ((int *) & OY);
register int *r1 = ((int *) & Y);
register int r2 = ( sizeof ( struct yytok ) ) / ( sizeof ( int ) );
do
{
* r0 ++ = * r1 ++ ;
}
while ( -- r2 > 0 );
}