usr.bin/checknr/checknr.c
static void
addcmd(char *myline)
{
	char *mac;

	/* grab the macro being defined */
	mac = myline + 4;
	while (isspace(*mac))
		mac++;
	if (*mac == 0) {
		pe(lineno);
		printf("illegal define: %s\n", myline);
		return;
	}
	mac[2] = 0;
	if (isspace(mac[1]) || mac[1] == '\\')
		mac[1] = 0;
	addmac(mac);
}
/*
 * We have a .de xx line in "line".  Add xx to the list of known commands.
 */
We have a .de xx line in "line".  Add xx to the list of known commands.
We have a . de xx line in " line " . Add xx to the list of known commands .
static void
addcmd(char *myline)
{
	char *mac;
	mac = myline + 4;
	while (isspace(*mac))
		mac++;
	if (*mac == 0) {
		pe(lineno);
		printf("illegal define: %s\n", myline);
		return;
	}
	mac[2] = 0;
	if (isspace(mac[1]) || mac[1] == '\\')
		mac[1] = 0;
	addmac(mac);
}
static void addcmd ( char * myline ) { char * mac ; mac = myline + 4 ; while ( isspace ( * mac ) ) mac ++ ; if ( * mac == 0 ) { pe ( lineno ) ; printf ( " \n " , myline ) ; return ; } mac [ 2 ] = 0 ; if ( isspace ( mac [ 1 ] ) || mac [ 1 ] == ' \\ ' ) mac [ 1 ] = 0 ; addmac ( mac ) ; }
We have a .de xx line in "line".
We have a . de xx line in " line " .
/* grab the macro being defined */