me again yall...ok heres the problem, i keep getting this annoying parse error..heres my buffer after make all
comm.c:2087: structure has no member named `remort_race'
comm.c:2461: parse error before `is_reserved_name'
comm.c:2465: `res' undeclared (first use in this function)
comm.c:2465: (Each undeclared identifier is reported only once
comm.c:2465: for each function it appears in.)
comm.c:2466: `name' undeclared (first use in this function)
comm.c:2468: warning: `return' with a value, in function returning void
comm.c:2469: warning: `return' with a value, in function returning void
comm.c: In function `check_parse_name':
comm.c:2487: warning: implicit declaration of function `is_reserved_name'
make[1]: *** [comm.o] Error 1
this is line 2460 to line 2490 of comm.c....
bool is_reserved_name( char *name )
{
RESERVE_DATA *res;
for (res = first_reserved; res; res = res->next)
if ((*res->name == '*' && !str_infix(res->name+1, name)) ||
!str_cmp(res->name, name))
return TRUE;
return FALSE;
}
/*
* Parse a name for acceptability.
*/
bool check_parse_name( char *name, bool newchar )
{
if ( is_reserved_name(name) && newchar )
return FALSE;
comm.c:2087: structure has no member named `remort_race'
comm.c:2461: parse error before `is_reserved_name'
comm.c:2465: `res' undeclared (first use in this function)
comm.c:2465: (Each undeclared identifier is reported only once
comm.c:2465: for each function it appears in.)
comm.c:2466: `name' undeclared (first use in this function)
comm.c:2468: warning: `return' with a value, in function returning void
comm.c:2469: warning: `return' with a value, in function returning void
comm.c: In function `check_parse_name':
comm.c:2487: warning: implicit declaration of function `is_reserved_name'
make[1]: *** [comm.o] Error 1
this is line 2460 to line 2490 of comm.c....
bool is_reserved_name( char *name )
{
RESERVE_DATA *res;
for (res = first_reserved; res; res = res->next)
if ((*res->name == '*' && !str_infix(res->name+1, name)) ||
!str_cmp(res->name, name))
return TRUE;
return FALSE;
}
/*
* Parse a name for acceptability.
*/
bool check_parse_name( char *name, bool newchar )
{
if ( is_reserved_name(name) && newchar )
return FALSE;