windows-nt/Source/XPSP1/NT/com/rpc/tools/yacc/ycstsh.c

19 lines
326 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// Copyright (c) 1993-1999 Microsoft Corporation
#include "y2.h"
char *
cstash( s ) register char *s;
{
char *temp;
temp = cnamp;
do
{
if( cnamp >= &cnames[cnamsz] ) error("too many characters in id's and literals" );
else *cnamp++ = *s;
}
while ( *s++ );
return( temp );
}