evolve4src/src/evolve_simulator/phascii.cpp
static DEFINITION *parse_base_definition(CONFIG_FILE *cf)
{
	int t;
	char struct_name[ BUFSIZ ];
	DEFINITION *def;

	t = gettoken(cf);
	if( t != T_IDENT )
		error("%s unexpected after 'struct' keyword", cf->tokenbuf);

	strcpy(struct_name, cf->tokenbuf);

	def = parse_definition(cf, struct_name);
	def->name = strdup(struct_name);

	return def;
}
/***********************************************************************
 * The initial "struct" keyword has been parsed. This
 * function parses the remainder of the definition.
 */
The initial "struct" keyword has been parsed. This
function parses the remainder of the definition.
The initial " struct " keyword has been parsed . This function parses the remainder of the definition .
static DEFINITION *parse_base_definition(CONFIG_FILE *cf)
{
	int t;
	char struct_name[ BUFSIZ ];
	DEFINITION *def;
	t = gettoken(cf);
	if( t != T_IDENT )
		error("%s unexpected after 'struct' keyword", cf->tokenbuf);
	strcpy(struct_name, cf->tokenbuf);
	def = parse_definition(cf, struct_name);
	def->name = strdup(struct_name);
	return def;
}
static DEFINITION * parse_base_definition ( CONFIG_FILE * cf ) { int t ; char struct_name [ BUFSIZ ] ; DEFINITION * def ; t = gettoken ( cf ) ; if ( t != T_IDENT ) error ( " " , cf -> tokenbuf ) ; strcpy ( struct_name , cf -> tokenbuf ) ; def = parse_definition ( cf , struct_name ) ; def -> name = strdup ( struct_name ) ; return def ; }
The initial "struct" keyword has been parsed.
The initial " struct " keyword has been parsed .