![]() |
Crossfire Server, Trunk
1.75.0
|
#include <stdio.h>#include <string.h>#include <errno.h>#include <stdlib.h>#include <global.h>#include <loader.h>#include <newserver.h>#include <random_map.h>#include <unistd.h>
Include dependency graph for reader.cpp:Go to the source code of this file.
Data Structures | |
| struct | yy_buffer_state |
| struct | yy_trans_info |
Macros | |
| #define | BEGIN (yy_start) = 1 + 2 * |
| #define | ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) |
| #define | EOB_ACT_CONTINUE_SCAN 0 |
| #define | EOB_ACT_END_OF_FILE 1 |
| #define | EOB_ACT_LAST_MATCH 2 |
| #define | FLEX_BETA |
| #define | FLEX_SCANNER |
| #define | FLEXINT_H |
| #define | FVAL atof(rmap_yval()) |
| #define | INITIAL 0 |
| #define | INT16_MAX (32767) |
| #define | INT16_MIN (-32767-1) |
| #define | INT32_MAX (2147483647) |
| #define | INT32_MIN (-2147483647-1) |
| #define | INT8_MAX (127) |
| #define | INT8_MIN (-128) |
| #define | IVAL atoi(rmap_yval()) |
| #define | MESSAGE 1 |
| #define | REJECT reject_used_but_not_detected |
| #define | rm_create_buffer_ALREADY_DEFINED |
| #define | rm_delete_buffer_ALREADY_DEFINED |
| #define | rm_flex_debug_ALREADY_DEFINED |
| #define | rm_flush_buffer_ALREADY_DEFINED |
| #define | rm_init_buffer_ALREADY_DEFINED |
| #define | rm_load_buffer_state_ALREADY_DEFINED |
| #define | rm_scan_buffer_ALREADY_DEFINED |
| #define | rm_scan_bytes_ALREADY_DEFINED |
| #define | rm_scan_string_ALREADY_DEFINED |
| #define | rm_switch_to_buffer_ALREADY_DEFINED |
| #define | rmalloc_ALREADY_DEFINED |
| #define | rmensure_buffer_stack_ALREADY_DEFINED |
| #define | rmfree_ALREADY_DEFINED |
| #define | rmin_ALREADY_DEFINED |
| #define | rmleng_ALREADY_DEFINED |
| #define | rmlex_ALREADY_DEFINED |
| #define | rmlineno_ALREADY_DEFINED |
| #define | rmout_ALREADY_DEFINED |
| #define | rmpop_buffer_state_ALREADY_DEFINED |
| #define | rmpush_buffer_state_ALREADY_DEFINED |
| #define | rmrealloc_ALREADY_DEFINED |
| #define | rmrestart_ALREADY_DEFINED |
| #define | rmtext_ALREADY_DEFINED |
| #define | rmwrap() (/*CONSTCOND*/1) |
| #define | rmwrap_ALREADY_DEFINED |
| #define | SIZE_MAX (~(size_t)0) |
| #define | UINT16_MAX (65535U) |
| #define | UINT32_MAX (4294967295U) |
| #define | UINT8_MAX (255U) |
| #define | unput(c) yyunput( c, (yytext_ptr) ) |
| #define | YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
| #define | YY_BREAK /*LINTED*/break; |
| #define | YY_BUF_SIZE 16384 |
| #define | YY_BUFFER_EOF_PENDING 2 |
| #define | YY_BUFFER_NEW 0 |
| #define | YY_BUFFER_NORMAL 1 |
| #define | yy_create_buffer rm_create_buffer |
| #define | YY_CURRENT_BUFFER |
| #define | YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
| #define | YY_DECL int rmap_lex_read(RMParms *RP) |
| #define | yy_delete_buffer rm_delete_buffer |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_END_OF_BUFFER 39 |
| #define | YY_END_OF_BUFFER_CHAR 0 |
| #define | YY_EXIT_FAILURE 2 |
| #define | YY_EXTRA_TYPE void * |
| #define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| #define | yy_flex_debug rm_flex_debug |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 6 |
| #define | YY_FLEX_SUBMINOR_VERSION 4 |
| #define | yy_flush_buffer rm_flush_buffer |
| #define | YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
| #define | yy_init_buffer rm_init_buffer |
| #define | YY_INPUT(buf, result, max_size) |
| #define | YY_INT_ALIGNED short int |
| #define | YY_LESS_LINENO(n) |
| #define | YY_LINENO_REWIND_TO(ptr) |
| #define | yy_load_buffer_state rm_load_buffer_state |
| #define | YY_MORE_ADJ 0 |
| #define | yy_new_buffer yy_create_buffer |
| #define | YY_NEW_FILE yyrestart( yyin ) |
| #define | YY_NO_INPUT 1 |
| #define | YY_NULL 0 |
| #define | YY_NUM_RULES 38 |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | YY_RESTORE_YY_MORE_OFFSET |
| #define | YY_RULE_SETUP |
| #define | YY_SC_TO_UI(c) ((YY_CHAR) (c)) |
| #define | yy_scan_buffer rm_scan_buffer |
| #define | yy_scan_bytes rm_scan_bytes |
| #define | yy_scan_string rm_scan_string |
| #define | yy_set_bol(at_bol) |
| #define | yy_set_interactive(is_interactive) |
| #define | YY_SKIP_YYWRAP |
| #define | YY_START (((yy_start) - 1) / 2) |
| #define | YY_START_STACK_INCR 25 |
| #define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
| #define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| #define | YY_STRUCT_YY_BUFFER_STATE |
| #define | yy_switch_to_buffer rm_switch_to_buffer |
| #define | YY_TYPEDEF_YY_BUFFER_STATE |
| #define | YY_TYPEDEF_YY_SIZE_T |
| #define | YY_USER_ACTION |
| #define | yyalloc rmalloc |
| #define | yyconst const |
| #define | yyensure_buffer_stack rmensure_buffer_stack |
| #define | yyfree rmfree |
| #define | yyget_debug rmget_debug |
| #define | yyget_extra rmget_extra |
| #define | yyget_in(void) rmget_in |
| Get the input stream. More... | |
| #define | yyget_leng(void) rmget_leng |
| Get the length of the current token. More... | |
| #define | yyget_lineno(void) rmget_lineno |
| Get the current line number. More... | |
| #define | yyget_out(void) rmget_out |
| Get the output stream. More... | |
| #define | yyget_text(void) rmget_text |
| Get the current token. More... | |
| #define | yyin rmin |
| #define | yyleng rmleng |
| #define | yyless(n) |
| #define | yyless(n) |
| #define | yylex rmlex |
| #define | yylex_destroy rmlex_destroy |
| #define | yylex_init rmlex_init |
| #define | yylex_init_extra rmlex_init_extra |
| #define | yylineno rmlineno |
| #define | yymore() yymore_used_but_not_detected |
| #define | yynoreturn |
| #define | yyout rmout |
| #define | yypop_buffer_state(void) rmpop_buffer_state |
| Removes and deletes the top of the stack, if present. More... | |
| #define | yypush_buffer_state rmpush_buffer_state |
| #define | yyrealloc rmrealloc |
| #define | yyrestart rmrestart |
| #define | yyset_debug rmset_debug |
| #define | yyset_extra rmset_extra |
| #define | yyset_in rmset_in |
| #define | yyset_lineno rmset_lineno |
| #define | yyset_out rmset_out |
| #define | YYSTATE YY_START |
| #define | YYTABLES_NAME "yytables" |
| #define | yyterminate() return YY_NULL |
| #define | yytext rmtext |
| #define | yytext_ptr yytext |
| #define | yywrap rmwrap |
Typedefs | |
| typedef short int | flex_int16_t |
| typedef int | flex_int32_t |
| typedef signed char | flex_int8_t |
| typedef unsigned short int | flex_uint16_t |
| typedef unsigned int | flex_uint32_t |
| typedef unsigned char | flex_uint8_t |
| typedef struct yy_buffer_state * | YY_BUFFER_STATE |
| typedef flex_uint8_t | YY_CHAR |
| typedef size_t | yy_size_t |
| typedef int | yy_state_type |
Functions | |
| if (!(yy_init)) | |
| int | load_parameters (FILE *fp, int bufstate, RMParms *RP) |
| static int | rmap_lex_read (RMParms *RP) |
| static char * | rmap_yval (void) |
| int | set_random_map_variable (RMParms *rp, const char *buf) |
| while (1) | |
| YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
| Allocate and initialize an input buffer state. More... | |
| void | yy_delete_buffer (YY_BUFFER_STATE b) |
| Destroy the buffer. More... | |
| static void yynoreturn | yy_fatal_error (const char *msg) |
| void | yy_flush_buffer (YY_BUFFER_STATE b) |
| Discard all buffered characters. More... | |
| static int | yy_get_next_buffer (void) |
| static yy_state_type | yy_get_previous_state (void) |
| static void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
| static int | yy_init_globals (void) |
| YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
| Setup the input buffer state to scan directly from a user-specified character buffer. More... | |
| YY_BUFFER_STATE | yy_scan_bytes (const char *yybytes, int _yybytes_len) |
| Setup the input buffer state to scan the given bytes. More... | |
| YY_BUFFER_STATE | yy_scan_string (const char *yystr) |
| Setup the input buffer state to scan a string. More... | |
| void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
| Switch to a different input buffer. More... | |
| static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
| void * | yyalloc (yy_size_t) |
| static int | yyerror (const char *s) |
| Error handler. More... | |
| void | yyfree (void *) |
| void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
| Pushes the new state onto the stack. More... | |
| void * | yyrealloc (void *, yy_size_t) |
| void | yyrestart (FILE *input_file) |
| Immediately switch to a different input stream. More... | |
| void | yyset_debug (int debug_flag) |
| void | yyset_extra (YY_EXTRA_TYPE user_defined) |
| void | yyset_in (FILE *_in_str) |
| Set the input stream. More... | |
| void | yyset_lineno (int _line_number) |
| Set the current line number. More... | |
| void | yyset_out (FILE *_out_str) |
Variables | |
| static int | rmap_lex_error |
| static const flex_int16_t | yy_accept [407] |
| int | yy_act |
| static const flex_int16_t | yy_base [445] |
| char * | yy_bp |
| static YY_BUFFER_STATE * | yy_buffer_stack = NULL |
| Stack as an array. More... | |
| static size_t | yy_buffer_stack_max = 0 |
| capacity of stack. More... | |
| static size_t | yy_buffer_stack_top = 0 |
| index of top of stack. More... | |
| static char * | yy_c_buf_p = NULL |
| static const flex_int16_t | yy_chk [483] |
| char * | yy_cp |
| YY_DECL | |
| The main scanner function which does all the work. More... | |
| static const flex_int16_t | yy_def [445] |
| static int | yy_did_buffer_switch_on_eof |
| static const YY_CHAR | yy_ec [256] |
| int | yy_flex_debug = 0 |
| static char | yy_hold_char |
| static int | yy_init = 0 |
| static char * | yy_last_accepting_cpos |
| static yy_state_type | yy_last_accepting_state |
| static const YY_CHAR | yy_meta [33] |
| static int | yy_n_chars |
| static const flex_int16_t | yy_nxt [483] |
| static int | yy_start = 0 |
| FILE * | yyin = NULL |
| int | yyleng |
| int | yylineno = 1 |
| FILE * | yyout = NULL |
| char * | yytext |
| #define BEGIN (yy_start) = 1 + 2 * |
Definition at line 377 of file reader.cpp.
Definition at line 1107 of file reader.cpp.
| #define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 421 of file reader.cpp.
| #define EOB_ACT_END_OF_FILE 1 |
Definition at line 422 of file reader.cpp.
| #define EOB_ACT_LAST_MATCH 2 |
Definition at line 423 of file reader.cpp.
| #define FLEX_BETA |
Definition at line 39 of file reader.cpp.
| #define FLEX_SCANNER |
Definition at line 34 of file reader.cpp.
| #define FLEXINT_H |
Definition at line 289 of file reader.cpp.
| #define FVAL atof(rmap_yval()) |
Definition at line 992 of file reader.cpp.
| #define INITIAL 0 |
Definition at line 1013 of file reader.cpp.
| #define INT16_MAX (32767) |
Definition at line 331 of file reader.cpp.
| #define INT16_MIN (-32767-1) |
Definition at line 322 of file reader.cpp.
| #define INT32_MAX (2147483647) |
Definition at line 334 of file reader.cpp.
| #define INT32_MIN (-2147483647-1) |
Definition at line 325 of file reader.cpp.
| #define INT8_MAX (127) |
Definition at line 328 of file reader.cpp.
| #define INT8_MIN (-128) |
Definition at line 319 of file reader.cpp.
| #define IVAL atoi(rmap_yval()) |
Definition at line 991 of file reader.cpp.
| #define MESSAGE 1 |
Definition at line 1014 of file reader.cpp.
| #define REJECT reject_used_but_not_detected |
Definition at line 944 of file reader.cpp.
| #define rm_create_buffer_ALREADY_DEFINED |
Definition at line 43 of file reader.cpp.
| #define rm_delete_buffer_ALREADY_DEFINED |
Definition at line 49 of file reader.cpp.
| #define rm_flex_debug_ALREADY_DEFINED |
Definition at line 265 of file reader.cpp.
| #define rm_flush_buffer_ALREADY_DEFINED |
Definition at line 79 of file reader.cpp.
| #define rm_init_buffer_ALREADY_DEFINED |
Definition at line 73 of file reader.cpp.
| #define rm_load_buffer_state_ALREADY_DEFINED |
Definition at line 85 of file reader.cpp.
| #define rm_scan_buffer_ALREADY_DEFINED |
Definition at line 55 of file reader.cpp.
| #define rm_scan_bytes_ALREADY_DEFINED |
Definition at line 67 of file reader.cpp.
| #define rm_scan_string_ALREADY_DEFINED |
Definition at line 61 of file reader.cpp.
| #define rm_switch_to_buffer_ALREADY_DEFINED |
Definition at line 91 of file reader.cpp.
| #define rmalloc_ALREADY_DEFINED |
Definition at line 223 of file reader.cpp.
| #define rmensure_buffer_stack_ALREADY_DEFINED |
Definition at line 109 of file reader.cpp.
| #define rmfree_ALREADY_DEFINED |
Definition at line 235 of file reader.cpp.
| #define rmin_ALREADY_DEFINED |
Definition at line 253 of file reader.cpp.
| #define rmleng_ALREADY_DEFINED |
Definition at line 247 of file reader.cpp.
| #define rmlex_ALREADY_DEFINED |
Definition at line 115 of file reader.cpp.
| #define rmlineno_ALREADY_DEFINED |
Definition at line 271 of file reader.cpp.
| #define rmout_ALREADY_DEFINED |
Definition at line 259 of file reader.cpp.
| #define rmpop_buffer_state_ALREADY_DEFINED |
Definition at line 103 of file reader.cpp.
| #define rmpush_buffer_state_ALREADY_DEFINED |
Definition at line 97 of file reader.cpp.
| #define rmrealloc_ALREADY_DEFINED |
Definition at line 229 of file reader.cpp.
| #define rmrestart_ALREADY_DEFINED |
Definition at line 121 of file reader.cpp.
| #define rmtext_ALREADY_DEFINED |
Definition at line 241 of file reader.cpp.
| #define rmwrap | ( | ) | (/*CONSTCOND*/1) |
Definition at line 586 of file reader.cpp.
| #define rmwrap_ALREADY_DEFINED |
Definition at line 217 of file reader.cpp.
| #define SIZE_MAX (~(size_t)0) |
Definition at line 347 of file reader.cpp.
| #define UINT16_MAX (65535U) |
Definition at line 340 of file reader.cpp.
| #define UINT32_MAX (4294967295U) |
Definition at line 343 of file reader.cpp.
| #define UINT8_MAX (255U) |
Definition at line 337 of file reader.cpp.
| #define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 441 of file reader.cpp.
| #define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 582 of file reader.cpp.
| #define YY_BREAK /*LINTED*/break; |
Definition at line 1186 of file reader.cpp.
| #define YY_BUF_SIZE 16384 |
Definition at line 399 of file reader.cpp.
| #define YY_BUFFER_EOF_PENDING 2 |
Definition at line 503 of file reader.cpp.
| #define YY_BUFFER_NEW 0 |
Definition at line 491 of file reader.cpp.
| #define YY_BUFFER_NORMAL 1 |
Definition at line 492 of file reader.cpp.
| #define yy_create_buffer rm_create_buffer |
Definition at line 9 of file reader.cpp.
| #define YY_CURRENT_BUFFER |
Definition at line 519 of file reader.cpp.
| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 525 of file reader.cpp.
| #define YY_DECL int rmap_lex_read(RMParms *RP) |
Definition at line 984 of file reader.cpp.
| #define yy_delete_buffer rm_delete_buffer |
Definition at line 10 of file reader.cpp.
| #define YY_DO_BEFORE_ACTION |
Definition at line 611 of file reader.cpp.
| #define YY_END_OF_BUFFER 39 |
Definition at line 618 of file reader.cpp.
| #define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 388 of file reader.cpp.
| #define YY_EXIT_FAILURE 2 |
Definition at line 2267 of file reader.cpp.
| #define YY_EXTRA_TYPE void * |
Definition at line 1025 of file reader.cpp.
| #define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 1161 of file reader.cpp.
| int yy_flex_debug rm_flex_debug |
Definition at line 21 of file reader.cpp.
Referenced by yyset_debug().
| #define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 35 of file reader.cpp.
| #define YY_FLEX_MINOR_VERSION 6 |
Definition at line 36 of file reader.cpp.
| #define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 37 of file reader.cpp.
| #define yy_flush_buffer rm_flush_buffer |
Definition at line 15 of file reader.cpp.
| #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 553 of file reader.cpp.
| #define yy_init_buffer rm_init_buffer |
Definition at line 14 of file reader.cpp.
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size | |||
| ) |
Definition at line 1114 of file reader.cpp.
| #define YY_INT_ALIGNED short int |
Definition at line 5 of file reader.cpp.
| #define YY_LESS_LINENO | ( | n | ) |
Definition at line 425 of file reader.cpp.
| #define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 426 of file reader.cpp.
| static void yy_load_buffer_state rm_load_buffer_state |
Definition at line 16 of file reader.cpp.
Referenced by if(), yy_flush_buffer(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
| #define YY_MORE_ADJ 0 |
Definition at line 946 of file reader.cpp.
| #define yy_new_buffer yy_create_buffer |
Definition at line 563 of file reader.cpp.
Definition at line 387 of file reader.cpp.
| #define YY_NO_INPUT 1 |
Definition at line 1010 of file reader.cpp.
| #define YY_NULL 0 |
Definition at line 366 of file reader.cpp.
| #define YY_NUM_RULES 38 |
Definition at line 617 of file reader.cpp.
| #define YY_READ_BUF_SIZE 8192 |
Definition at line 1098 of file reader.cpp.
| #define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 947 of file reader.cpp.
| #define YY_RULE_SETUP |
Definition at line 1189 of file reader.cpp.
Definition at line 371 of file reader.cpp.
| #define yy_scan_buffer rm_scan_buffer |
Definition at line 11 of file reader.cpp.
| #define yy_scan_bytes rm_scan_bytes |
Definition at line 13 of file reader.cpp.
| #define yy_scan_string rm_scan_string |
Definition at line 12 of file reader.cpp.
| #define yy_set_bol | ( | at_bol | ) |
Definition at line 573 of file reader.cpp.
| #define yy_set_interactive | ( | is_interactive | ) |
Definition at line 564 of file reader.cpp.
| #define YY_SKIP_YYWRAP |
Definition at line 587 of file reader.cpp.
| #define YY_START (((yy_start) - 1) / 2) |
Definition at line 382 of file reader.cpp.
| #define YY_START_STACK_INCR 25 |
Definition at line 1156 of file reader.cpp.
| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 405 of file reader.cpp.
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 385 of file reader.cpp.
| #define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 444 of file reader.cpp.
| #define yy_switch_to_buffer rm_switch_to_buffer |
Definition at line 17 of file reader.cpp.
| #define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 408 of file reader.cpp.
| #define YY_TYPEDEF_YY_SIZE_T |
Definition at line 413 of file reader.cpp.
| #define YY_USER_ACTION |
Definition at line 1181 of file reader.cpp.
| #define yyalloc rmalloc |
Definition at line 30 of file reader.cpp.
| #define yyconst const |
Definition at line 357 of file reader.cpp.
| static void yyensure_buffer_stack rmensure_buffer_stack |
Definition at line 20 of file reader.cpp.
Referenced by if(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
| #define yyfree rmfree |
Definition at line 32 of file reader.cpp.
| int yyget_debug rmget_debug |
Definition at line 147 of file reader.cpp.
| YY_EXTRA_TYPE yyget_extra rmget_extra |
Definition at line 159 of file reader.cpp.
| FILE * yyget_in rmget_in |
Get the input stream.
Definition at line 171 of file reader.cpp.
| int yyget_leng rmget_leng |
Get the length of the current token.
Definition at line 195 of file reader.cpp.
| int yyget_lineno rmget_lineno |
Get the current line number.
Definition at line 207 of file reader.cpp.
| FILE * yyget_out rmget_out |
Get the output stream.
Definition at line 183 of file reader.cpp.
| char * yyget_text rmget_text |
Get the current token.
Definition at line 201 of file reader.cpp.
| FILE * yyin rmin |
Definition at line 22 of file reader.cpp.
Referenced by if(), while(), yy_get_next_buffer(), yy_init_globals(), yyrestart(), and yyset_in().
| int yyleng rmleng |
Definition at line 23 of file reader.cpp.
| #define yyless | ( | n | ) |
Definition at line 2279 of file reader.cpp.
| #define yyless | ( | n | ) |
Definition at line 2279 of file reader.cpp.
| #define yylex rmlex |
Definition at line 24 of file reader.cpp.
| int yylex_destroy rmlex_destroy |
Definition at line 141 of file reader.cpp.
| #define yylex_init rmlex_init |
Definition at line 129 of file reader.cpp.
| #define yylex_init_extra rmlex_init_extra |
Definition at line 135 of file reader.cpp.
| int yylineno rmlineno |
Definition at line 25 of file reader.cpp.
Referenced by yyset_lineno().
| #define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 945 of file reader.cpp.
| #define yynoreturn |
Definition at line 362 of file reader.cpp.
| FILE * yyout rmout |
Definition at line 26 of file reader.cpp.
Referenced by if(), yy_init_globals(), and yyset_out().
| void yypop_buffer_state | ( | void | ) | rmpop_buffer_state |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
Definition at line 19 of file reader.cpp.
| #define yypush_buffer_state rmpush_buffer_state |
Definition at line 18 of file reader.cpp.
| #define yyrealloc rmrealloc |
Definition at line 31 of file reader.cpp.
| #define yyrestart rmrestart |
Definition at line 27 of file reader.cpp.
| #define yyset_debug rmset_debug |
Definition at line 153 of file reader.cpp.
| #define yyset_extra rmset_extra |
Definition at line 165 of file reader.cpp.
| #define yyset_in rmset_in |
Definition at line 177 of file reader.cpp.
| #define yyset_lineno rmset_lineno |
Definition at line 213 of file reader.cpp.
| #define yyset_out rmset_out |
Definition at line 189 of file reader.cpp.
| #define YYSTATE YY_START |
Definition at line 383 of file reader.cpp.
| #define YYTABLES_NAME "yytables" |
Definition at line 2471 of file reader.cpp.
| #define yyterminate | ( | ) | return YY_NULL |
Definition at line 1151 of file reader.cpp.
| char * yytext rmtext |
Definition at line 28 of file reader.cpp.
Referenced by rmap_yval(), and yyerror().
| #define yytext_ptr yytext |
Definition at line 601 of file reader.cpp.
| #define yywrap rmwrap |
Definition at line 29 of file reader.cpp.
| typedef short int flex_int16_t |
Definition at line 311 of file reader.cpp.
| typedef int flex_int32_t |
Definition at line 312 of file reader.cpp.
| typedef signed char flex_int8_t |
Definition at line 310 of file reader.cpp.
| typedef unsigned short int flex_uint16_t |
Definition at line 314 of file reader.cpp.
| typedef unsigned int flex_uint32_t |
Definition at line 315 of file reader.cpp.
| typedef unsigned char flex_uint8_t |
Definition at line 313 of file reader.cpp.
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 409 of file reader.cpp.
| typedef flex_uint8_t YY_CHAR |
Definition at line 588 of file reader.cpp.
| typedef size_t yy_size_t |
Definition at line 414 of file reader.cpp.
| typedef int yy_state_type |
Definition at line 592 of file reader.cpp.
| if | ( | ! | yy_init | ) |
Definition at line 1203 of file reader.cpp.
References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init, yy_load_buffer_state, yy_start, yyensure_buffer_stack, yyin, and yyout.
| int load_parameters | ( | FILE * | fp, |
| int | bufstate, | ||
| RMParms * | RP | ||
| ) |
Definition at line 2492 of file reader.cpp.
References LL_EOF, LL_NORMAL, LO_LINEMODE, LO_NEWFILE, LO_NOREAD, MAX_BUF, rmap_lex_read(), YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, yy_delete_buffer, yy_scan_string, and yy_switch_to_buffer.
Referenced by generate_map().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by load_parameters(), and set_random_map_variable().
Here is the caller graph for this function:
|
static |
Definition at line 2481 of file reader.cpp.
References yytext.
Referenced by while().
Here is the caller graph for this function:| int set_random_map_variable | ( | RMParms * | rp, |
| const char * | buf | ||
| ) |
Definition at line 2526 of file reader.cpp.
References buf, rmap_lex_read(), yy_delete_buffer, and yy_scan_string.
Referenced by cfapi_set_random_map_variable(), enter_random_map(), and enter_random_template_map().
Here is the call graph for this function:
Here is the caller graph for this function:| while | ( | 1 | ) |
Definition at line 1243 of file reader.cpp.
References ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, FVAL, INITIAL, IVAL, LL_EOF, MESSAGE, RM_SIZE, rmap_lex_error, rmap_yval(), yy_accept, yy_act, YY_AT_BOL, yy_base, yy_bp, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_c_buf_p, yy_chk, yy_cp, YY_CURRENT_BUFFER_LVALUE, yy_def, yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_get_next_buffer(), yy_get_previous_state(), yy_hold_char, yy_last_accepting_cpos, yy_last_accepting_state, yy_meta, YY_MORE_ADJ, yy_n_chars, YY_NEW_FILE, yy_nxt, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, yy_start, YY_STATE_EOF, yy_try_NUL_trans(), yyerror(), yyin, yytext_ptr, and yywrap.
Here is the call graph for this function:| YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
| int | size | ||
| ) |
Allocate and initialize an input buffer state.
| file | A readable stream. |
| size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE. |
Definition at line 1984 of file reader.cpp.
References yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, YY_FATAL_ERROR, yy_init_buffer, yy_buffer_state::yy_is_our_buffer, and yyalloc.
| void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
| b | a buffer created with yy_create_buffer() |
Definition at line 2012 of file reader.cpp.
References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_is_our_buffer, and yyfree.
|
static |
Definition at line 2270 of file reader.cpp.
References YY_EXIT_FAILURE.
| void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
| b | the buffer state to be flushed, usually YY_CURRENT_BUFFER. |
Definition at line 2059 of file reader.cpp.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, yy_load_buffer_state, and yy_buffer_state::yy_n_chars.
|
static |
Definition at line 1643 of file reader.cpp.
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, yy_c_buf_p, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER_LVALUE, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, YY_INPUT, yy_buffer_state::yy_is_our_buffer, YY_MORE_ADJ, yy_n_chars, YY_READ_BUF_SIZE, yyin, yyrealloc, yyrestart, and yytext_ptr.
Referenced by while().
Here is the caller graph for this function:
|
static |
Definition at line 1781 of file reader.cpp.
References yy_accept, YY_AT_BOL, yy_base, yy_c_buf_p, yy_chk, yy_cp, yy_def, yy_ec, yy_last_accepting_cpos, yy_last_accepting_state, yy_meta, YY_MORE_ADJ, yy_nxt, YY_SC_TO_UI, yy_start, and yytext_ptr.
Referenced by while().
Here is the caller graph for this function:
|
static |
Definition at line 2031 of file reader.cpp.
References yy_buffer_state::yy_bs_column, yy_buffer_state::yy_bs_lineno, YY_CURRENT_BUFFER, yy_buffer_state::yy_fill_buffer, yy_flush_buffer, yy_buffer_state::yy_input_file, and yy_buffer_state::yy_is_interactive.
|
static |
Definition at line 2373 of file reader.cpp.
References yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yy_c_buf_p, yy_init, yy_start, yyin, and yyout.
| YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
| yy_size_t | size | ||
| ) |
Setup the input buffer state to scan directly from a user-specified character buffer.
| base | the character buffer |
| size | the size in bytes of the character buffer |
Definition at line 2186 of file reader.cpp.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, yy_buffer_state::yy_buf_size, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, yy_buffer_state::yy_n_chars, yy_switch_to_buffer, and yyalloc.
| YY_BUFFER_STATE yy_scan_bytes | ( | const char * | yybytes, |
| int | _yybytes_len | ||
| ) |
Setup the input buffer state to scan the given bytes.
The next call to yylex() will scan from a copy of bytes.
| yybytes | the byte buffer to scan |
| _yybytes_len | the number of bytes in the buffer pointed to by bytes. |
Definition at line 2236 of file reader.cpp.
References buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_is_our_buffer, yy_scan_buffer, and yyalloc.
| YY_BUFFER_STATE yy_scan_string | ( | const char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to yylex() will scan from a copy of str.
| yystr | a NUL-terminated string to scan |
Definition at line 2223 of file reader.cpp.
References yy_scan_bytes.
| void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
| new_buffer | The new input buffer. |
Definition at line 1939 of file reader.cpp.
References yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state, yy_n_chars, and yyensure_buffer_stack.
|
static |
Definition at line 1814 of file reader.cpp.
References yy_accept, yy_base, yy_c_buf_p, yy_chk, yy_cp, yy_def, yy_last_accepting_cpos, yy_last_accepting_state, yy_meta, and yy_nxt.
Referenced by while().
Here is the caller graph for this function:| void* yyalloc | ( | yy_size_t | size | ) |
Definition at line 2448 of file reader.cpp.
|
static |
| void yyfree | ( | void * | ptr | ) |
Definition at line 2466 of file reader.cpp.
| void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
| new_buffer | The new state. |
Definition at line 2088 of file reader.cpp.
References yy_buffer_stack_top, yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state, yy_n_chars, and yyensure_buffer_stack.
| void* yyrealloc | ( | void * | ptr, |
| yy_size_t | size | ||
| ) |
Definition at line 2453 of file reader.cpp.
| void yyrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
| input_file | A readable stream. |
INITIAL . Definition at line 1922 of file reader.cpp.
References YY_BUF_SIZE, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_buffer(), yy_load_buffer_state(), yyensure_buffer_stack(), and yyin.
Here is the call graph for this function:| void yyset_debug | ( | int | debug_flag | ) |
Definition at line 2368 of file reader.cpp.
References yy_flex_debug.
| void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
| void yyset_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
| _in_str | A readable stream. |
Definition at line 2353 of file reader.cpp.
References yyin.
| void yyset_lineno | ( | int | _line_number | ) |
Set the current line number.
| _line_number | line number |
Definition at line 2341 of file reader.cpp.
References yylineno.
| void yyset_out | ( | FILE * | _out_str | ) |
Definition at line 2358 of file reader.cpp.
References yyout.
|
static |
Definition at line 989 of file reader.cpp.
Referenced by while().
|
static |
Definition at line 626 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
| int yy_act |
Definition at line 1201 of file reader.cpp.
Referenced by while().
|
static |
Definition at line 715 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
| char * yy_bp |
Definition at line 1200 of file reader.cpp.
Referenced by while().
|
static |
|
static |
|
static |
index of top of stack.
Definition at line 509 of file reader.cpp.
Referenced by yy_init_globals(), and yypush_buffer_state().
|
static |
Definition at line 533 of file reader.cpp.
Referenced by while(), yy_get_next_buffer(), yy_get_previous_state(), yy_init_globals(), yy_switch_to_buffer(), yy_try_NUL_trans(), and yypush_buffer_state().
|
static |
Definition at line 878 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
| char* yy_cp |
Definition at line 1200 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
| YY_DECL |
The main scanner function which does all the work.
Definition at line 1198 of file reader.cpp.
|
static |
Definition at line 768 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 540 of file reader.cpp.
Referenced by while(), yy_switch_to_buffer(), and yypush_buffer_state().
|
static |
Definition at line 675 of file reader.cpp.
Referenced by while(), and yy_get_previous_state().
| int yy_flex_debug = 0 |
Definition at line 939 of file reader.cpp.
|
static |
Definition at line 528 of file reader.cpp.
Referenced by while(), yy_switch_to_buffer(), and yypush_buffer_state().
|
static |
Definition at line 534 of file reader.cpp.
Referenced by if(), and yy_init_globals().
|
static |
Definition at line 936 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 935 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 707 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 529 of file reader.cpp.
Referenced by while(), yy_get_next_buffer(), yy_switch_to_buffer(), and yypush_buffer_state().
|
static |
Definition at line 821 of file reader.cpp.
Referenced by while(), yy_get_previous_state(), and yy_try_NUL_trans().
|
static |
Definition at line 535 of file reader.cpp.
Referenced by if(), while(), yy_get_previous_state(), and yy_init_globals().
| FILE* yyin = NULL |
Definition at line 590 of file reader.cpp.
| int yyleng |
Definition at line 530 of file reader.cpp.
| int yylineno = 1 |
Definition at line 595 of file reader.cpp.
| FILE * yyout = NULL |
Definition at line 419 of file reader.cpp.
| char* yytext |
Definition at line 948 of file reader.cpp.