src/gedlib/gengedc.c
/*============================================================
 * process_node_value -- process the node's value for pointers
 * add any pointers in the value to the closure
 * this should only be called in strong mode
 *==========================================================*/
- process the node's value for pointers
add any pointers in the value to the closure
this should only be called in strong mode
- process the node ' s value for pointers add any pointers in the value to the closure this should only be called in strong mode
static void
process_node_value (CLOSURE * closure, STRING v)
{
	for ( ; *v; v++)
	{
		if (v[0]=='@' && v[1] && v[2])
		{
			int skeynum;
			char skeybuff[MAXKEYWIDTH+1];
			skeynum = atoi(&v[2]);
			snprintf(skeybuff, sizeof(skeybuff), "%c%d", v[1], skeynum);
			if (v[1]=='S')
				closure_add_key(closure, skeybuff, "SOUR");
			else if (v[1]=='E')
				closure_add_key(closure, skeybuff, "EVEN");
			else if (v[1]=='X')
				closure_add_key(closure, skeybuff, "XXXX");
		}
	}
}
static void process_node_value ( CLOSURE * closure , STRING v ) { for ( ; * v ; v ++ ) { if ( v [ 0 ] == ' ' && v [ 1 ] && v [ 2 ] ) { int skeynum ; char skeybuff [ MAXKEYWIDTH + 1 ] ; skeynum = atoi ( & v [ 2 ] ) ; snprintf ( skeybuff , sizeof ( skeybuff ) , " " , v [ 1 ] , skeynum ) ; if ( v [ 1 ] == ' ' ) closure_add_key ( closure , skeybuff , " " ) ; else if ( v [ 1 ] == ' ' ) closure_add_key ( closure , skeybuff , " " ) ; else if ( v [ 1 ] == ' ' ) closure_add_key ( closure , skeybuff , " " ) ; } } }
process_node_value -- process the node's value for pointers
 add any pointers in the value to the closure
 this should only be called in strong mode
process_node_value -- process the node ' s value for pointers add any pointers in the value to the closure this should only be called in strong mode