version 1.30 | | version 1.31 |
---|
| | |
/* A lexical scanner generated by flex */ | | /* A lexical scanner generated by flex */ |
| | |
/* Scanner skeleton version: | | /* Scanner skeleton version: |
* $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.30 2002/09/18 06:17:19 mwedel Exp $ | | * $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.31 2002/09/28 07:19:39 mwedel Exp $ |
*/ | | */ |
| | |
#define FLEX_SCANNER | | #define FLEX_SCANNER |
| | |
#line 2 "loader.l" | | #line 2 "loader.l" |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.c,v 1.30 2002/09/18 06:17:19 mwedel Exp $"; | | * "$Id: loader.c,v 1.31 2002/09/28 07:19:39 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
for (tmp=0; tmp <= NUM_FLAGS; tmp++) { | | for (tmp=0; tmp <= NUM_FLAGS; tmp++) { |
if (flag_names[tmp] && (QUERY_FLAG(op, tmp) != QUERY_FLAG(op2, tmp))) { | | if (flag_names[tmp] && (QUERY_FLAG(op, tmp) != QUERY_FLAG(op2, tmp))) { |
sprintf(buf2, "%s %d\n", flag_names[tmp], QUERY_FLAG(op, tmp)); | | sprintf(buf2, "%s %d\n", flag_names[tmp], QUERY_FLAG(op, tmp)?1:0); |
strcat(buf, buf2); | | strcat(buf, buf2); |
} | | } |
} | | } |