12 lines
212 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#include "y1.h"
char *symnam(int i)
{
/* return a pointer to the name of symbol i */
char *cp;
cp = (i>=NTBASE) ? nontrst[i-NTBASE].name : tokset[i].name ;
if( *cp == ' ' ) ++cp;
return( cp );
}