mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
212 B
11 lines
212 B
#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 );
|
|
}
|