#include "types.h"
#include "ticvocab.h"
Include dependency graph for scanner.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | FUNC_CPY_BUF_SIZE 40 |
Functions | |
void | init_scanner (void) |
void | exit_scanner (void) |
void | init_scan_state (void) |
void | fcode_ender (void) |
bool | skip_until (char lim_ch) |
void | push_source (void(*res_func)(), _PTR res_parm, bool is_f_chg) |
signed long | get_word (void) |
bool | get_word_in_line (char *func_nam) |
bool | get_rest_of_line (void) |
void | warn_unterm (int severity, char *something, unsigned int saved_lineno) |
void | warn_if_multiline (char *something, unsigned int start_lineno) |
void | user_message (tic_param_t pfield) |
void | skip_user_message (tic_param_t pfield) |
bool | get_number (long *result) |
void | eval_string (char *inp_bufr) |
void | process_remark (tic_param_t pfield) |
bool | filter_comments (u8 *inword) |
bool | as_a_what (fwtoken definer, char *as_what) |
tic_hdr_t * | lookup_word (char *stat_name, char **where_pt1, char **where_pt2) |
bool | word_exists (char *stat_name, char **where_pt1, char **where_pt2) |
void | warn_if_duplicate (char *stat_name) |
void | trace_creation (fwtoken definer, char *nu_name) |
void | tokenize_one_word (signed long wlen) |
void | check_name_length (signed long wlen) |
void | tokenize (void) |
Variables | |
u8 * | statbuf |
u8 | base |
bool | pci_is_last_image |
u16 | pci_image_rev |
u16 | pci_vpd |
bool | offs16 |
bool | in_tokz_esc |
bool | incolon |
bool | haveend |
int | do_loop_depth |
int | lastcolon |
char * | last_colon_defname |
char * | last_colon_filename |
unsigned int | last_colon_lineno |
bool | report_multiline |
unsigned int | last_colon_abs_token_no |
|
Definition at line 120 of file scanner.h. Referenced by base_val(), get_token(), and get_word_in_line(). |
|
Definition at line 2538 of file scanner.c. References ALIAS, and definer_name(). Referenced by exists_in_ancestor(), lookup_word(), and trace_creation(). Here is the call graph for this function: |
|
Definition at line 2423 of file scanner.c. References FLAG_HEADERLESS, hdr_flag, in_tokz_esc, INFO, TKERROR, tokenization_error(), and WARNING. Referenced by create_constant(), and create_word(). Here is the call graph for this function: |
|
Definition at line 3943 of file scanner.c. References init_inbuf(), and push_source(). Referenced by activate_locals(), eval_builtin_mac(), eval_user_symbol(), finish_locals(), and invoke_local(). Here is the call graph for this function: |
|
Definition at line 1895 of file scanner.c. References statbuf. Referenced by main(). |
|
Definition at line 3741 of file scanner.c. References current_device_node, default_top_dev_ifile_name, fcode_end_err_check(), fcode_started, finish_fcodehdr(), haveend, device_node::ifile_name, iname, incolon, is_instance, last_colon_filename, last_colon_lineno, device_node::line_no, reset_normal_vocabs(), resume_device_scope(), scope_is_global, TKERROR, tokenization_error(), unresolved_instance(), warn_unterm(), and WARNING. Referenced by finish_fcodehdr(), and handle_internal(). Here is the call graph for this function: |
|
Definition at line 5397 of file scanner.c. References ALLOW_MULTI_LINE, tic_hdr::funct, tic_param::fw_token, handle_internal(), lookup_word(), tic_hdr::pfield, and process_remark(). Referenced by gather_locals(). Here is the call graph for this function: |
|
Definition at line 1693 of file scanner.c. References base, iname, lineno, parse_number(), and statbuf. Referenced by gather_locals(), and handle_number(). Here is the call graph for this function: |
|
Definition at line 745 of file scanner.c. References abs_token_no, get_until(), lineno, pc, and skip_ws(). Referenced by add_user_macro(), and skip_user_macro(). Here is the call graph for this function: |
|
Definition at line 595 of file scanner.c. References abs_token_no, end, FATAL, GET_BUF_MAX, iname, lineno, need_to_pop_source, pc, pop_source(), skip_ws(), statbuf, and tokenization_error(). Referenced by assign_local(), conditionally_tokenize(), create_constant(), create_word(), finish_locals(), gather_locals(), get_word_in_line(), skip_a_word(), skip_string(), tokenize(), and validate_to_target(). Here is the call graph for this function: |
|
Definition at line 681 of file scanner.c. References abs_token_no, FUNC_CPY_BUF_SIZE, get_word(), lineno, pc, TKERROR, and tokenization_error(). Referenced by add_user_macro(), base_val(), conditional_word_in_line(), create_alias(), get_token(), handle_internal(), skip_a_word_in_line(), skip_two_words_in_line(), and skip_user_macro(). Here is the call graph for this function: |
|
Definition at line 1990 of file scanner.c. References base, dev_change_instance_warning, first_fc_starter, FLAG_HEADERLESS, incolon, instance_definer_gap, instance_filename, is_instance, last_colon_filename, need_to_pop_source, pci_is_last_image, reset_fcode_ranges(), ret_stk_depth, and set_hdr_flag(). Referenced by main(). Here is the call graph for this function: |
|
Definition at line 1883 of file scanner.c. References GET_BUF_MAX, safe_malloc(), and statbuf. Referenced by main(). Here is the call graph for this function: |
|
Definition at line 2644 of file scanner.c. References as_a_what(), current_device_node, tic_hdr::fword_defr, ibm_locals, in_tkz_esc_mode, in_tokz_esc, in_what_node(), lookup_core_word(), lookup_in_dev_node(), lookup_local(), lookup_shared_word(), and lookup_tokz_esc(). Referenced by exists_in_current(), filter_comments(), ignore_one_word(), tokenize_one_word(), and word_exists(). Here is the call graph for this function: |
|
Definition at line 5336 of file scanner.c. References tic_param::deflt_elem, get_until(), iname, lineno, pc, skip_until(), statbuf, tokenization_error(), warn_if_multiline(), warn_unterm(), and WARNING. Referenced by filter_comments(). Here is the call graph for this function: |
|
Definition at line 394 of file scanner.c. References end, iname, lineno, source_state::next, source_state::old_end, source_state::old_iname, source_state::old_lineno, source_state::old_pc, source_state::old_start, source_state::pause_before_pop, pc, report_multiline, source_state::resump_func, source_state::resump_param, safe_malloc(), source_state::sav_rep_multlin, and start. Referenced by eval_mac_string(), eval_string(), and handle_internal(). Here is the call graph for this function: |
|
Definition at line 210 of file scanner.c. References end, lineno, and pc. Referenced by declare_locals(), get_until(), process_remark(), and string_remark(). |
|
Definition at line 1658 of file scanner.c. References tic_param::deflt_elem, and handle_user_message(). Here is the call graph for this function: |
|
Definition at line 5523 of file scanner.c. References get_word(), and tokenize_one_word(). Referenced by main(). Here is the call graph for this function: |
|
Definition at line 5484 of file scanner.c. References tic_hdr::funct, handle_number(), lookup_word(), tic_hdr::pfield, statbuf, tic_found, and tokenized_word_error(). Referenced by conditionally_tokenize(), finish_locals(), and tokenize(). Here is the call graph for this function: |
|
Definition at line 3107 of file scanner.c. References as_a_what(), current_device_node, in_last_colon(), in_tkz_esc_mode, in_tokz_esc, in_what_node(), INFO, is_on_trace_list(), LOCAL_VAL, scope_is_global, show_node_start(), tokenization_error(), and verbose. Referenced by add_local(), add_user_macro(), create_constant(), create_word(), and handle_internal(). Here is the call graph for this function: |
|
Definition at line 1627 of file scanner.c. References tic_param::deflt_elem, and handle_user_message(). Here is the call graph for this function: |
|
Definition at line 2800 of file scanner.c. References do_not_overload, show_node_start(), tokenization_error(), verbose_dup_warning, WARNING, and word_exists(). Referenced by add_user_macro(), create_alias(), create_constant(), and create_word(). Here is the call graph for this function: |
|
Definition at line 862 of file scanner.c. References iname, lineno, report_multiline, tokenization_error(), WARNING, and where_started(). Referenced by declare_locals(), get_string(), handle_user_message(), process_remark(), and string_err_check(). Here is the call graph for this function: |
|
Definition at line 813 of file scanner.c. References in_last_colon(), last_colon_defname, lineno, and tokenization_error(). Referenced by assign_local(), create_constant(), create_word(), declare_locals(), fcode_ender(), gather_locals(), get_string(), handle_user_message(), process_remark(), string_err_check(), string_remark(), and validate_to_target(). Here is the call graph for this function: |
|
Definition at line 2742 of file scanner.c. References lookup_word(). Referenced by gather_locals(), tokenized_word_error(), and warn_if_duplicate(). Here is the call graph for this function: |
|
Definition at line 70 of file scanner.c. Referenced by base_change(), base_val(), c_string_escape(), end_tokz_esc(), enter_tokz_esc(), get_number(), and init_scan_state(). |
|
Definition at line 83 of file scanner.c. Referenced by clear_control_structs_to_limit(), handle_internal(), mark_do(), must_be_deep_in_do(), and resolve_loop(). |
|
Definition at line 82 of file scanner.c. Referenced by fcode_ender(), finish_fcodehdr(), and init_emit(). |
|
Definition at line 80 of file scanner.c. Referenced by add_user_macro(), base_change(), check_name_length(), create_alias(), deliver_number(), end_tokz_esc(), enter_tokz_esc(), handle_internal(), lookup_word(), tokenized_word_error(), and trace_creation(). |
|
Definition at line 81 of file scanner.c. Referenced by base_change(), create_alias(), error_check_locals(), fcode_ender(), finish_or_new_device(), handle_internal(), in_last_colon(), init_scan_state(), must_be_deep_in_do(), and test_in_colon(). |
|
Definition at line 93 of file scanner.c. Referenced by error_check_locals(), and handle_internal(). |
|
Definition at line 89 of file scanner.c. Referenced by handle_internal(), in_last_colon(), and warn_unterm(). |
|
Definition at line 90 of file scanner.c. Referenced by fcode_ender(), handle_internal(), in_last_colon(), and init_scan_state(). |
|
Definition at line 91 of file scanner.c. Referenced by fcode_ender(), handle_internal(), and in_last_colon(). |
|
Definition at line 86 of file scanner.c. Referenced by error_check_locals(), and handle_internal(). |
|
Definition at line 79 of file scanner.c. Referenced by emit_fc_offset(), emit_offset(), fcode_starter(), handle_internal(), and offset_too_large(). |
|
Definition at line 74 of file scanner.c. Referenced by finish_pcihdr(), and handle_internal(). |
|
Definition at line 73 of file scanner.c. Referenced by emit_pci_data_block(), finish_pcihdr(), handle_internal(), and init_scan_state(). |
|
Definition at line 75 of file scanner.c. Referenced by finish_pcihdr(). |
|
Definition at line 92 of file scanner.c. Referenced by declare_locals(), eval_mac_string(), handle_internal(), pop_source(), push_source(), and warn_if_multiline(). |
|