| version 1.65 | | version 1.66 |
|---|
| | |
| | | #line 2 "loader.c" |
| /* 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.65 2005/02/27 18:05:40 majorwoo Exp $ | | * $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.66 2005/03/13 15:48:17 ryo_saeba Exp $ |
| */ | | */ |
| | | |
| #define FLEX_SCANNER | | #define FLEX_SCANNER |
| | |
| #define YY_FLEX_MINOR_VERSION 5 | | #define YY_FLEX_MINOR_VERSION 5 |
| | | |
| #include <stdio.h> | | #include <stdio.h> |
| #include <unistd.h> | | |
| | | |
| | | |
| /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ | | /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| | | |
| #include <stdlib.h> | | #include <stdlib.h> |
| | | #include <unistd.h> |
| | | |
| /* Use prototypes in function declarations. */ | | /* Use prototypes in function declarations. */ |
| #define YY_USE_PROTOS | | #define YY_USE_PROTOS |
| | |
| #line 2 "loader.l" | | #line 2 "loader.l" |
| /* | | /* |
| * static char *rcsid_object_c = | | * static char *rcsid_object_c = |
| * "$Id: loader.c,v 1.65 2005/02/27 18:05:40 majorwoo Exp $"; | | * "$Id: loader.c,v 1.66 2005/03/13 15:48:17 ryo_saeba Exp $"; |
| */ | | */ |
| | | |
| /* | | /* |
| | |
| /* Don't have to link with -lfl with this */ | | /* Don't have to link with -lfl with this */ |
| /* need yy_push_state, yy_pop_state */ | | /* need yy_push_state, yy_pop_state */ |
| #define YY_STACK_USED 1 | | #define YY_STACK_USED 1 |
| #line 2319 "loader.c" | | #line 2320 "loader.c" |
| | | |
| /* Macros after this point can all be overridden by user definitions in | | /* Macros after this point can all be overridden by user definitions in |
| * section 1. | | * section 1. |
| | |
| YY_DECL | | YY_DECL |
| { | | { |
| register yy_state_type yy_current_state; | | register yy_state_type yy_current_state; |
| register char *yy_cp = NULL, *yy_bp = NULL; | | register char *yy_cp, *yy_bp; |
| register int yy_act; | | register int yy_act; |
| | | |
| #line 489 "loader.l" | | #line 489 "loader.l" |
| | |
| | | |
| | | |
| | | |
| #line 2484 "loader.c" | | #line 2485 "loader.c" |
| | | |
| if ( yy_init ) | | if ( yy_init ) |
| { | | { |
| | |
| #line 1178 "loader.l" | | #line 1178 "loader.l" |
| ECHO; | | ECHO; |
| YY_BREAK | | YY_BREAK |
| #line 4314 "loader.c" | | #line 4315 "loader.c" |
| | | |
| case YY_END_OF_BUFFER: | | case YY_END_OF_BUFFER: |
| { | | { |
| | |
| #endif /* ifndef YY_NO_UNPUT */ | | #endif /* ifndef YY_NO_UNPUT */ |
| | | |
| | | |
| #ifndef YY_NO_INPUT | | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| static int yyinput() | | static int yyinput() |
| #else | | #else |
| | |
| | | |
| return c; | | return c; |
| } | | } |
| #endif /* YY_NO_INPUT */ | | |
| | | |
| #ifdef YY_USE_PROTOS | | #ifdef YY_USE_PROTOS |
| void yyrestart( FILE *input_file ) | | void yyrestart( FILE *input_file ) |
| | |
| } | | } |
| | | |
| | | |
| | | #ifndef YY_ALWAYS_INTERACTIVE |
| | | #ifndef YY_NEVER_INTERACTIVE |
| | | extern int isatty YY_PROTO(( int )); |
| | | #endif |
| | | #endif |
| | | |
| #ifdef YY_USE_PROTOS | | #ifdef YY_USE_PROTOS |
| void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) | | void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) |
| | |
| "no_skill_ident", "is_blind", "can_see_in_dark", "is_cauldron", | | "no_skill_ident", "is_blind", "can_see_in_dark", "is_cauldron", |
| "is_dust", "no_steal", "one_hit", NULL, "berserk", "neutral", /* 100 */ | | "is_dust", "no_steal", "one_hit", NULL, "berserk", "neutral", /* 100 */ |
| "no_attack", "no_damage", NULL, NULL, "activate_on_push", | | "no_attack", "no_damage", NULL, NULL, "activate_on_push", |
| "activate_on_release", "is_water", "use_content_on_gen", NULL, "is_buildable" /* 110 */ | | "activate_on_release", "is_water", "use_content_on_gen", NULL, "is_buildable", /* 110 */ |
| | | NULL |
| }; | | }; |
| | | |
| | | |