Go to the source code of this file.
| #define CURRENT_MODULE "current_module" |
| #define EOF_FLAG "eof_flag" |
Definition at line 51 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define INPUT_FILE_NAME "input_file_name" |
Definition at line 44 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define LINE_COUNT "line_count" |
Definition at line 45 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define OLD_SAVED_CHAR "old_saved_char" |
Definition at line 48 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define OLD_SAVED_PSI_TERM "old_saved_psi_term" |
Definition at line 50 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define SAVED_CHAR "saved_char" |
Definition at line 47 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define SAVED_PSI_TERM "saved_psi_term" |
Definition at line 49 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define START_OF_LINE "start_of_line" |
Definition at line 46 of file token.h.
Referenced by new_state(), restore_state(), and save_state().
| #define STREAM "stream" |
Definition at line 43 of file token.h.
Referenced by c_close(), get_stream(), new_state(), restore_state(), and save_state().
| typedef struct wl_parse_block parse_block |
| typedef struct wl_parse_block* ptr_parse_block |
| void begin_terminal_io | ( | ) |
Definition at line 454 of file token.c.
References inchange, input_stream, open_input_file(), out, outchange, and output_stream.
Referenced by main(), WFInit(), and what_next_aim().
| void end_terminal_io | ( | ) |
Definition at line 475 of file token.c.
References inchange, NULL, out, outchange, output_stream, and restore_state().
Referenced by main(), and what_next_aim().
| char* expand_file_name | ( | ) |
| GENERIC get_attr | ( | ) |
| FILE* get_stream | ( | ) |
| void heap_add_int_attr | ( | ) |
| void heap_add_psi_attr | ( | ) |
| void heap_add_str_attr | ( | ) |
| void heap_mod_int_attr | ( | ) |
| void heap_mod_str_attr | ( | ) |
| void init_parse_state | ( | ) |
Definition at line 425 of file token.c.
References eof_flag, FALSE, line_count, NULL, old_saved_char, saved_char, start_of_line, stringparse, and TRUE.
Referenced by c_parse(), open_input_file(), and WFInput().
| void new_state | ( | ) |
| long open_input_file | ( | ) |
| long open_output_file | ( | ) |
| void psi_term_error | ( | ) |
Definition at line 822 of file token.c.
References FALSE, input_file_name, parse_ok, perr_i(), perr_s(), and psi_term_line_number.
Referenced by parse_list(), and push().
| void put_back_char | ( | ) |
| void put_back_token | ( | ) |
| long read_char | ( | ) |
Definition at line 746 of file token.c.
References EOLN, FALSE, Infoline, input_stream, line_count, old_saved_char, prompt, saved_char, start_of_line, stringinput, stringparse, trace_input, and TRUE.
Referenced by c_get(), handle_interrupt(), main(), parse(), read_comment(), read_name(), read_number(), read_string(), what_next_aim(), and yes_or_no().
| long read_line | ( | ) |
| void read_token | ( | ) |
| void read_token_b | ( | ) |
| void restore_parse_state | ( | ) |
| void restore_state | ( | ) |
| void save_parse_state | ( | ) |
| void save_state | ( | ) |
| void stack_add_int_attr | ( | ) |
| void stack_add_psi_attr | ( | ) |
| void stack_add_str_attr | ( | ) |
| void stdin_cleareof | ( | ) |
Definition at line 86 of file token.c.
References eof_flag, FALSE, NULL, old_saved_char, saved_char, start_of_line, stdin_terminal, and TRUE.
Referenced by abort_life(), fail_all(), handle_interrupt(), main(), WFInit(), and what_next_aim().
| long eof_flag |
Definition at line 57 of file token.c.
Referenced by c_get(), c_read(), init_parse_state(), new_state(), restore_parse_state(), restore_state(), save_parse_state(), save_state(), and stdin_cleareof().
Definition at line 60 of file token.c.
Referenced by c_load(), c_open_in(), c_set_input(), check(), handle_interrupt(), init_io(), load_aim(), main(), WFInit(), and yes_or_no().
| FILE* input_stream |
| long line_count |
| long old_saved_char |
Definition at line 54 of file token.c.
Referenced by init_parse_state(), new_state(), put_back_char(), read_char(), restore_parse_state(), restore_state(), save_parse_state(), save_state(), and stdin_cleareof().
| long saved_char |
Definition at line 53 of file token.c.
Referenced by init_parse_state(), new_state(), parse(), put_back_char(), read_char(), restore_parse_state(), restore_state(), save_parse_state(), save_state(), and stdin_cleareof().
| long start_of_line |
Definition at line 52 of file token.c.
Referenced by init_parse_state(), new_state(), read_char(), restore_parse_state(), restore_state(), save_parse_state(), save_state(), and stdin_cleareof().
| long stdin_terminal |
| char* stringinput |
| long stringparse |
Definition at line 37 of file token.c.
Referenced by c_parse(), init_parse_state(), parse(), parse_list(), read_char(), read_life_form(), read_psi_term(), read_string_error(), and WFInput().
| long var_occurred |
Definition at line 25 of file token.c.
Referenced by abort_life(), c_parse(), load_aim(), main(), read_name(), WFInit(), WFInput(), and what_next_aim().
1.5.4