Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
typedef enum blk_cntxt_values blk_cntxt_type |
Definition at line 198 of file p_globals.h.
typedef union blk_stk_entry blk_stk_type |
Definition at line 199 of file p_globals.h.
typedef struct cc_stmt_buf_line_entry cc_stmt_buf_line_type |
Definition at line 551 of file p_globals.h.
typedef enum do_loop_values do_loop_type |
Definition at line 200 of file p_globals.h.
typedef enum expr_values expr_type |
Definition at line 201 of file p_globals.h.
typedef enum lbl_pos_values lbl_pos_type |
Definition at line 202 of file p_globals.h.
typedef enum lbl_ref_values lbl_ref_type |
Definition at line 203 of file p_globals.h.
typedef enum line_type_values line_type |
Definition at line 545 of file p_globals.h.
typedef enum search_values search_type |
Definition at line 204 of file p_globals.h.
typedef enum stmt_category_values stmt_category_type |
Definition at line 205 of file p_globals.h.
enum blk_cntxt_values |
Definition at line 49 of file p_globals.h.
Definition at line 113 of file p_globals.h.
enum do_loop_values |
Definition at line 100 of file p_globals.h.
enum expr_values |
Definition at line 105 of file p_globals.h.
enum lbl_pos_values |
Definition at line 152 of file p_globals.h.
enum lbl_ref_values |
Definition at line 162 of file p_globals.h.
enum line_type_values |
Comment_Line | |
Include_Line | |
Cond_Comp_Line | |
Dir_Line | |
Dir_Continuation_Line | |
Regular_Line | |
Continuation_Line | |
Pound_Include_Enter_Line | |
Pound_Include_Exit_Line | |
Pound_Src_Line | |
EOF_Line |
Definition at line 533 of file p_globals.h.
enum search_values |
Find_None | |
Find_EOS | |
Find_Lparen | |
Find_Rparen | |
Find_Matching_Rparen | |
Find_Comma | |
Find_Comma_Slash | |
Find_Comma_Rparen | |
Find_Expr_End | |
Find_Ref_End |
Definition at line 176 of file p_globals.h.
enum stmt_category_values |
Init_Stmt_Cat | |
Sub_Func_Stmt_Cat | |
Dir_Integer_Stmt_Cat | |
Use_Stmt_Cat | |
Implicit_None_Stmt_Cat | |
Implicit_Stmt_Cat | |
Declaration_Stmt_Cat | |
Executable_Stmt_Cat |
Definition at line 189 of file p_globals.h.
int blk_match_err | ( | blk_cntxt_type | , |
boolean | , | ||
boolean | |||
) |
Definition at line 4039 of file p_end.c.
References AT_NAME_LEN, AT_OBJ_NAME_LONG, AT_OBJ_NAME_PTR, ATP_PGM_UNIT, blk_desc_str(), BLK_NAME, blk_stk_idx, BLK_TYPE, Case_Stmt, cif_pgm_unit_error_recovery, compare_names(), CURR_BLK, CURR_BLK_NAME, curr_stmt_sh_idx, Else_If_Stmt, Else_Stmt, Else_Where_Mask_Stmt, Else_Where_Stmt, End_Blockdata_Stmt, End_Do_Stmt, End_Forall_Stmt, End_Function_Stmt, End_If_Stmt, End_Interface_Stmt, End_Module_Stmt, End_Program_Stmt, End_Select_Stmt, End_Subroutine_Stmt, End_Type_Stmt, End_Where_Stmt, Error, FALSE, Func_Entry, Func_Exit, Function, If_Else_Blk, Interface_Body_Blk, Internal, move_blk_to_end(), NULL, NULL_IDX, pop_and_err_blk_stk(), POP_BLK_STK, PRINTMSG(), PUSH_BLK_STK, Select_Blk, SH_ERR_FLG, STMT_LEGAL_IN_BLK, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Subroutine, Then_Stmt, token, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TRACE, TRUE, and Where_Else_Blk.
Referenced by end_critical_section_blk(), end_do_parallel_blk(), end_guard_blk(), end_open_mp_critical_blk(), end_open_mp_do_blk(), end_open_mp_master_blk(), end_open_mp_ordered_blk(), end_open_mp_parallel_blk(), end_open_mp_parallel_do_blk(), end_open_mp_parallel_sections_blk(), end_open_mp_parallel_workshare_blk(), end_open_mp_section_blk(), end_open_mp_sections_blk(), end_open_mp_single_blk(), end_open_mp_workshare_blk(), end_parallel_blk(), end_parallel_case_blk(), end_pdo_blk(), end_psection_blk(), end_region_blk(), end_SGI_parallel_blk(), end_single_process_blk(), parse_case_stmt(), parse_else_stmt(), and parse_end_stmt().
void build_fwd_ref_entry | ( | int | , |
lbl_ref_type | |||
) |
Definition at line 2899 of file p_utils.c.
References Assign_Ref, ATL_FWD_REF_IDX, BLK_FIRST_SH_IDX, BLK_IS_PARALLEL_REGION, blk_stk_idx, BLK_TYPE, Branch_Context, Do_Parallel_Blk, Do_Ref, Format_Ref, From_Assign_Stmt, From_Do_Stmt, Func_Entry, Func_Exit, IL_COL_NUM, IL_FLD, IL_FORWARD_REF, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_PREV_LIST_IDX, IL_Tbl_Idx, Interface_Body_Blk, Internal, NTR_IR_LIST_TBL, NULL, NULL_IDX, PRINTMSG(), SGI_Region_Blk, SH_Tbl_Idx, stmt_start_col, stmt_start_line, To_Format_Stmt, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, and Wait_Blk.
Referenced by check_label_ref(), parse_assign_stmt(), parse_decode_stmt(), parse_do_stmt(), parse_encode_stmt(), parse_io_control_list(), parse_print_stmt(), parse_read_stmt(), and parse_write_stmt().
char ch_after_paren_grp | ( | void | ) |
Definition at line 4315 of file lex.c.
References Func_Entry, Func_Exit, LA_CH_VALUE, scan_thru_close_paren(), and TRACE.
Referenced by parse_implicit_stmt().
void check_for_vestigial_task_blks | ( | void | ) |
Definition at line 3578 of file p_utils.c.
References blk_stk_idx, BLK_TYPE, CLEAR_DIRECTIVE_STATE, CURR_BLK, Do_Parallel_Blk, Do_Parallel_Region, Func_Entry, Func_Exit, NULL, Open_Mp_Do_Blk, Open_Mp_Do_Region, Open_Mp_Parallel_Do_Blk, Open_Mp_Parallel_Do_Region, Pdo_Region, POP_BLK_STK, SGI_Pdo_Blk, and TRACE.
Referenced by parse_case_stmt(), parse_else_stmt(), and parse_end_stmt().
int check_label_ref | ( | void | ) |
Definition at line 2457 of file p_utils.c.
References AT_DEFINED, AT_OBJ_CLASS, AT_REFERENCED, AT_Tbl_Idx, ATL_DEF_STMT_IDX, ATL_EXECUTABLE, BLK_FIRST_SH_IDX, BLK_IS_PARALLEL_REGION, blk_stk_idx, BLK_TYPE, Branch_Context, build_fwd_ref_entry(), check_cmic_blk_branches(), cif_flags, CIF_Label_Referenced_As_Branch_Target, cif_usage_rec(), curr_stmt_sh_idx, Do_Parallel_Blk, Func_Entry, Func_Exit, if_stmt_lbl_idx, Interface_Body_Blk, Label, label_ref_semantics(), LN_DEF_LOC, ntr_sym_tbl(), NULL, NULL_IDX, Referenced, SGI_Region_Blk, SH_ERR_FLG, srch_sym_tbl(), stmt_label_idx, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, Wait_Blk, and XREF_RECS.
Referenced by create_kwd_text(), parse_actual_arg_spec(), parse_goto_stmt(), parse_if_stmt(), parse_io_control_list(), and parse_label_list().
void complete_intrinsic_definition | ( | int | ) |
Definition at line 93 of file p_driver.c.
References _QUAD_PRECISION, AL_ATTR_IDX, AL_NEXT_IDX, AT_DEF_COLUMN, AT_DEF_LINE, AT_ELEMENTAL_INTRIN, AT_IS_DARG, AT_IS_INTRIN, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OPTIONAL, ATD_ARRAY_IDX, ATD_CLASS, ATD_FUNC_IDX, ATD_IM_A_DOPE, ATD_INTRIN_DARG, ATD_INTRIN_DARG_TYPE, ATD_TYPE_IDX, ATI_FIRST_SPECIFIC_IDX, ATI_INTRIN_TBL_IDX, ATI_NUM_SPECIFICS, ATP_ELEMENTAL, ATP_EXPL_ITRFC, ATP_EXT_NAME_IDX, ATP_EXT_NAME_LEN, ATP_EXTERNAL_INTRIN, ATP_FIRST_IDX, ATP_IN_INTERFACE_BLK, ATP_INTRIN_ENUM, ATP_NON_ANSI_INTRIN, ATP_NOSIDE_EFFECTS, ATP_NUM_DARGS, ATP_PGM_UNIT, ATP_PROC, ATP_PURE, ATP_RSLT_IDX, ATP_SCP_IDX, cmd_line_flags, Complex_16, Complex_8, COPY_COMMON_ATTR_INFO, CREATE_ID, curr_scp_idx, Data_Obj, intrin_tbl_entry::data_type, intrin_tbl_entry::dope, DOUBLE_COMPLEX_DEFAULT_TYPE, DOUBLE_DEFAULT_TYPE, Dummy_Argument, Dummy_Proc, intrin_tbl_entry::elemental, expanded_intrinsic_list, intrin_tbl_entry::external, Func_Entry, Func_Exit, Function, Function_Result, id_str(), intrin_tbl_entry::id_str, Integer_4, Integer_8, INTEGER_DEFAULT_TYPE, Internal, intrin_tbl_entry::intrin_enum, Intrin_Proc, intrin_tbl, Logical_4, Logical_8, LOGICAL_DEFAULT_TYPE, MAKE_EXTERNAL_NAME, intrin_tbl_entry::n_specifics, name, intrin_tbl_entry::name_len, intrin_tbl_entry::non_ansi, NTR_ATTR_LIST_TBL, NTR_ATTR_TBL, NTR_INTERFACE_IN_SN_TBL, NTR_NAME_POOL, NTR_SN_TBL, NULL, NULL_IDX, intrin_tbl_entry::optional, Pgm_Unit, PRINTMSG(), Real_16, Real_8, cmd_line_flags_entry::s_pointer8, SN_ATTR_IDX, SN_NAME_IDX, SN_NAME_LEN, stmt_start_col, stmt_start_line, strcpy, id_str_entry::string, Subroutine, TRACE, TRUE, and id_str_entry::words.
Referenced by generic_spec_semantics(), merge_intrinsic(), parse_call_stmt(), parse_deref(), parse_inline_always_never(), parse_sgi_dir_inline(), and update_intrinsic().
void determine_stmt_type | ( | void | ) |
Definition at line 1600 of file p_driver.c.
References Assignment_Stmt, cif_flags, CIF_Not_Exact, cif_stmt_type_rec(), curr_stmt_sh_idx, Data_Stmt, Directive_Stmt, Do_Iterative_Stmt, End_Do_Parallel_Stmt, End_Guard_Stmt, End_Parallel_Case_Stmt, End_Parallel_Stmt, FALSE, Format_Stmt, Func_Entry, Func_Exit, LA_CH_VALUE, LPAREN, MATCHED_TOKEN_CLASS, MISC_RECS, need_new_sh, NULL, Open_MP_End_Critical_Stmt, Open_MP_End_Do_Stmt, Open_MP_End_Master_Stmt, Open_MP_End_Ordered_Stmt, Open_MP_End_Parallel_Do_Stmt, Open_MP_End_Parallel_Sections_Stmt, Open_MP_End_Parallel_Stmt, Open_MP_End_Parallel_Workshare_Stmt, Open_MP_End_Section_Stmt, Open_MP_End_Sections_Stmt, Open_MP_End_Single_Stmt, Open_MP_End_Workshare_Stmt, Open_MP_Section_Stmt, Parallel_Case_Stmt, reset_lex(), set_stmt_type_known(), SGI_End_Critical_Section_Stmt, SGI_End_Parallel_Stmt, SGI_End_Pdo_Stmt, SGI_End_Psection_Stmt, SGI_End_Single_Process_Stmt, SGI_Region_End_Stmt, SGI_Section_Stmt, SH_COL_NUM, SH_GLB_LINE, SH_STMT_TYPE, statement_number, stmt_is_DATA_stmt(), stmt_is_DO_stmt(), stmt_label_idx, stmt_start_col, stmt_start_line, stmt_type, Tok_Class_DO, Tok_Class_Id, Tok_Id, Tok_Kwd_Double, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STMT_NUM, token_to_stmt_type, TRACE, and TRUE.
Referenced by parse_forall(), parse_if_stmt(), parse_prog_unit(), and parse_where_stmt().
boolean digit_is_format_label | ( | void | ) |
Definition at line 7176 of file src_input.c.
References ch_class, Ch_Class_Digit, dot, EOF, FALSE, Free_Form, Func_Entry, Func_Exit, idx, lc_b, lc_d, lc_e, lc_h, lc_l, lc_r, lines_in_buf, NULL, source_form, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, TRUE, uc_b, uc_d, uc_e, uc_h, uc_l, uc_r, and underscore.
Referenced by parse_decode_stmt(), parse_encode_stmt(), parse_io_control_list(), parse_print_stmt(), parse_read_stmt(), and parse_write_stmt().
void do_cmic_blk_checks | ( | void | ) |
Definition at line 2712 of file p_directiv.c.
References cdir_switch_entry::casedir, cdir_switches, cdir_switch_entry::do_parallel, cdir_switch_entry::doacross_sh_idx, cdir_switch_entry::doall_region, cdir_switch_entry::doall_sh_idx, cdir_switch_entry::dopar_sh_idx, Error, FALSE, Func_Entry, Func_Exit, cdir_switch_entry::guard, cdir_switch_entry::guard_has_flag, cdir_switch_entry::guard_in_par_reg, cdir_switch_entry::no_internal_calls, NULL, NULL_IDX, cdir_switch_entry::parallel_region, PRINTMSG(), SH_COL_NUM, SH_GLB_LINE, and TRACE.
Referenced by end_function(), end_internal_proc(), end_module_proc(), end_program_unit(), end_subroutine(), and parse_contains_stmt().
void end_critical_section_blk | ( | boolean | ) |
Definition at line 5065 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, Do_Parallel_Blk, Do_Parallel_Region, FALSE, Func_Entry, Func_Exit, NULL, Pdo_Region, POP_BLK_STK, SGI_Critical_Section_Blk, SGI_End_Critical_Section_Stmt, SGI_Pdo_Blk, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_par_directives().
void end_do_parallel_blk | ( | boolean | ) |
Definition at line 4703 of file p_end.c.
References BLK_ENDDO_PARALLEL_SH_IDX, blk_match_err(), blk_stk_idx, cdir_switches, CURR_BLK, Do_Parallel_Blk, cdir_switch_entry::dopar_sh_idx, End_Do_Parallel_Stmt, Error, FALSE, FREE_IR_NODE, FREE_SH_NODE, Func_Entry, Func_Exit, NULL, NULL_IDX, POP_BLK_STK, PRINTMSG(), SH_COL_NUM, SH_GLB_LINE, SH_IR_IDX, SH_NEXT_IDX, SH_PREV_IDX, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_mic_directives().
void end_doacross_blk | ( | boolean | ) |
Definition at line 5035 of file p_end.c.
References Func_Entry, Func_Exit, NULL, POP_BLK_STK, and TRACE.
void end_doall_blk | ( | boolean | ) |
Definition at line 4640 of file p_end.c.
References Func_Entry, Func_Exit, NULL, POP_BLK_STK, and TRACE.
void end_guard_blk | ( | boolean | ) |
Definition at line 4839 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, Do_Parallel_Blk, Do_Parallel_Region, End_Guard_Stmt, FALSE, Func_Entry, Func_Exit, Guard_Blk, NULL, Pdo_Region, POP_BLK_STK, SGI_Pdo_Blk, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_mic_directives().
void end_labeled_do | ( | void | ) |
Definition at line 2210 of file p_end.c.
References Arith_If_Stmt, ATL_EXECUTABLE, BLK_LABEL, BLK_LOOP_NUM, BLK_NAME, blk_stk_idx, BLK_TYPE, Br_Asg_Opr, Br_Uncond_Opr, Case_Stmt, cdir_switches, CLEAR_DIRECTIVE_STATE, cmd_line_flags, Comment, Continue_Stmt, CURR_BLK, CURR_BLK_FIRST_SH_IDX, CURR_BLK_LABEL, curr_stmt_sh_idx, Cycle_Stmt, cmd_line_flags_entry::debug_lvl, Debug_Lvl_0, Do_Infinite_Stmt, Do_Iterative_Stmt, Do_Parallel_Blk, Do_Parallel_Region, Do_While_Stmt, Doacross_Region, Doall_Blk, Doall_Region, cdir_switch_entry::doall_region, Else_If_Stmt, Else_Stmt, Else_Where_Stmt, End_Do_Stmt, End_Function_Stmt, End_If_Stmt, End_Program_Stmt, End_Select_Stmt, End_Stmt, End_Subroutine_Stmt, end_task_do_blk(), End_Where_Stmt, Error, EXIT, Exit_Stmt, FALSE, Func_Entry, Func_Exit, gen_debug_lbl_stmt(), Goto_Stmt, If_Cstrct_Stmt, IR_OPR, Ldbg_Stmt_Lbl, loop_end_processing(), Module_Proc_Blk, move_blk_to_end(), NULL, NULL_IDX, Open_Mp_Do_Blk, Open_Mp_Do_Region, Open_Mp_Parallel_Do_Blk, Open_Mp_Parallel_Do_Region, Outmoded_If_Stmt, Parallel_Do_Region, Pdo_Region, pop_and_err_blk_stk(), POP_BLK_STK, PRINTMSG(), Return_Stmt, Select_Stmt, SGI_Doacross_Blk, SGI_Parallel_Do_Blk, SGI_Pdo_Blk, SH_ERR_FLG, SH_IR_IDX, stmt_label_idx, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Stop_Stmt, TRACE, TRUE, and Where_Cstrct_Stmt.
Referenced by end_subroutine(), parse_end_stmt(), and stmt_level_semantics().
void end_open_mp_critical_blk | ( | boolean | ) |
Definition at line 5730 of file p_end.c.
References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_Mp_Critical_Blk, Open_MP_End_Critical_Stmt, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_do_blk | ( | boolean | ) |
Definition at line 5347 of file p_end.c.
References BLK_ENDPDO_SH_IDX, blk_match_err(), blk_stk_idx, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, FREE_IR_NODE, FREE_SH_NODE, Func_Entry, Func_Exit, IR_COL_NUM_R, IR_FLD_R, IR_IDX_R, IR_LINE_NUM_R, NULL, NULL_IDX, Open_Mp_Do_Blk, Open_MP_End_Do_Stmt, POP_BLK_STK, SH_IR_IDX, SH_NEXT_IDX, SH_PREV_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, stmt_start_col, stmt_start_line, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_master_blk | ( | boolean | ) |
Definition at line 5689 of file p_end.c.
References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_MP_End_Master_Stmt, Open_Mp_Master_Blk, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_ordered_blk | ( | boolean | ) |
Definition at line 5771 of file p_end.c.
References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_MP_End_Ordered_Stmt, Open_Mp_Ordered_Blk, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_parallel_blk | ( | boolean | ) |
Definition at line 5289 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Open_Mp_Do_Blk, Open_Mp_Do_Region, Open_MP_End_Parallel_Stmt, Open_Mp_Parallel_Blk, Open_Mp_Parallel_Do_Blk, Open_Mp_Parallel_Do_Region, POP_BLK_STK, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_parallel_do_blk | ( | boolean | ) |
Definition at line 5629 of file p_end.c.
References BLK_ENDPDO_SH_IDX, blk_match_err(), blk_stk_idx, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, FREE_IR_NODE, FREE_SH_NODE, Func_Entry, Func_Exit, IR_COL_NUM_R, IR_FLD_R, IR_IDX_R, IR_LINE_NUM_R, NULL, NULL_IDX, Open_MP_End_Parallel_Do_Stmt, Open_Mp_Parallel_Do_Blk, POP_BLK_STK, SH_IR_IDX, SH_NEXT_IDX, SH_PREV_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, stmt_start_col, stmt_start_line, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_parallel_sections_blk | ( | boolean | ) |
Definition at line 5408 of file p_end.c.
References blk_match_err(), CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Open_MP_End_Parallel_Sections_Stmt, Open_Mp_Parallel_Sections_Blk, POP_BLK_STK, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
Definition at line 5453 of file p_end.c.
References blk_match_err(), CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Open_MP_End_Parallel_Workshare_Stmt, Open_Mp_Parallel_Workshare_Blk, POP_BLK_STK, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_section_blk | ( | boolean | ) |
Definition at line 5543 of file p_end.c.
References blk_match_err(), CURR_BLK, FALSE, Func_Entry, Func_Exit, NULL, Open_MP_End_Section_Stmt, Open_Mp_Section_Blk, POP_BLK_STK, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_sections_blk | ( | boolean | ) |
Definition at line 5498 of file p_end.c.
References blk_match_err(), CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Open_MP_End_Sections_Stmt, Open_Mp_Sections_Blk, POP_BLK_STK, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_single_blk | ( | boolean | ) |
Definition at line 5584 of file p_end.c.
References blk_match_err(), CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Open_MP_End_Single_Stmt, Open_Mp_Single_Blk, POP_BLK_STK, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_open_mp_workshare_blk | ( | boolean | ) |
Definition at line 5812 of file p_end.c.
References blk_match_err(), CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Open_MP_End_Workshare_Stmt, Open_Mp_Workshare_Blk, POP_BLK_STK, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_open_mp_directives().
void end_parallel_blk | ( | boolean | ) |
Definition at line 4579 of file p_end.c.
References blk_match_err(), cdir_switches, CLEAR_DIRECTIVE_STATE, CURR_BLK, Do_Parallel_Blk, Do_Parallel_Region, cdir_switch_entry::dopar_sh_idx, End_Parallel_Stmt, Error, FALSE, Func_Entry, Func_Exit, NULL, NULL_IDX, Parallel_Blk, Pdo_Region, POP_BLK_STK, PRINTMSG(), SGI_Pdo_Blk, SH_COL_NUM, SH_GLB_LINE, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_mic_directives().
void end_parallel_case_blk | ( | boolean | ) |
Definition at line 4892 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, Do_Parallel_Blk, Do_Parallel_Region, FALSE, Func_Entry, Func_Exit, NULL, Parallel_Case_Blk, Pdo_Region, POP_BLK_STK, SGI_Pdo_Blk, STMT_CANT_BE_IN_BLK, stmt_type, and TRACE.
Referenced by parse_mic_directives().
void end_pdo_blk | ( | boolean | ) |
Definition at line 4769 of file p_end.c.
References BLK_ENDPDO_SH_IDX, blk_match_err(), blk_stk_idx, cdir_switches, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, Error, FALSE, FREE_IR_NODE, FREE_SH_NODE, Func_Entry, Func_Exit, IR_COL_NUM_R, IR_FLD_R, IR_IDX_R, IR_LINE_NUM_R, NULL, NULL_IDX, cdir_switch_entry::pdo_sh_idx, POP_BLK_STK, PRINTMSG(), SGI_End_Pdo_Stmt, SGI_Pdo_Blk, SH_COL_NUM, SH_GLB_LINE, SH_IR_IDX, SH_NEXT_IDX, SH_PREV_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, stmt_start_col, stmt_start_line, and TRACE.
Referenced by parse_par_directives().
void end_psection_blk | ( | boolean | ) |
Definition at line 5118 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, Do_Parallel_Blk, Do_Parallel_Region, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Pdo_Region, POP_BLK_STK, SGI_End_Psection_Stmt, SGI_Pdo_Blk, SGI_Psection_Blk, SGI_Section_Blk, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_par_directives().
void end_region_blk | ( | boolean | ) |
Definition at line 5236 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, Do_Parallel_Blk, Do_Parallel_Region, FALSE, Func_Entry, Func_Exit, NULL, Pdo_Region, POP_BLK_STK, SGI_Pdo_Blk, SGI_Region_Blk, SGI_Region_End_Stmt, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_star_directives().
void end_SGI_parallel_blk | ( | boolean | ) |
Definition at line 4945 of file p_end.c.
References blk_match_err(), blk_stk_idx, cdir_switches, CLEAR_DIRECTIVE_STATE, Critical_Section_Region, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, Do_Parallel_Blk, Do_Parallel_Region, Error, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, NULL_IDX, Parallel_Section_Region, Pdo_Region, cdir_switch_entry::pdo_sh_idx, POP_BLK_STK, PRINTMSG(), SGI_Critical_Section_Blk, SGI_End_Parallel_Stmt, SGI_Parallel_Blk, SGI_Pdo_Blk, SGI_Psection_Blk, SGI_Section_Blk, SGI_Single_Process_Blk, SH_COL_NUM, SH_GLB_LINE, SH_IR_IDX, SH_Tbl_Idx, Single_Process_Region, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_par_directives().
void end_single_process_blk | ( | boolean | ) |
Definition at line 5179 of file p_end.c.
References blk_match_err(), CLEAR_DIRECTIVE_STATE, CURR_BLK, CURR_BLK_FIRST_SH_IDX, curr_stmt_sh_idx, Do_Parallel_Blk, Do_Parallel_Region, FALSE, Func_Entry, Func_Exit, IR_FLD_R, IR_IDX_R, NULL, Pdo_Region, POP_BLK_STK, SGI_End_Single_Process_Stmt, SGI_Pdo_Blk, SGI_Single_Process_Blk, SH_IR_IDX, SH_Tbl_Idx, STMT_CANT_BE_IN_BLK, and TRACE.
Referenced by parse_par_directives().
void end_wait_blk | ( | boolean | ) |
Definition at line 4670 of file p_end.c.
References Func_Entry, Func_Exit, NULL, POP_BLK_STK, and TRACE.
void flush_LA_to_EOS | ( | void | ) |
Definition at line 181 of file lex.c.
References Func_Entry, Func_Exit, la_ch, NULL, stmt_EOS_la_ch, and TRACE.
Referenced by parse_err_flush().
void flush_LA_to_symbol | ( | void | ) |
Definition at line 213 of file lex.c.
References Ch_Class_Digit, Ch_Class_EOS, Ch_Class_Letter, Ch_Class_Symbol, DBL_QUOTE, Func_Entry, Func_Exit, get_token(), LA_CH_CLASS, LA_CH_VALUE, NEXT_LA_CH, NULL, QUOTE, Tok_Class_Opnd, TRACE, and VALID_LA_CH.
Referenced by parse_err_flush().
void format_line_n_col | ( | int * | , |
int * | , | ||
int | |||
) |
Definition at line 6290 of file src_input.c.
References format_start_idx, Format_Stmt, Func_Entry, Func_Exit, idx, Internal, lines_in_buf, NULL, NULL_IDX, PRINTMSG(), stmt_buf, stmt_buf_col, stmt_line_end_idx, stmt_line_num, stmt_line_offset, stmt_line_start_idx, stmt_type, and TRACE.
Referenced by emit_format_msg().
void gen_attr_and_IR_for_lbl | ( | boolean | ) |
Definition at line 1481 of file p_driver.c.
References AT_DEF_LINE, AT_DEFINED, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATL_CLASS, ATL_DEBUG_CLASS, ATL_DEF_STMT_IDX, ATL_FWD_REF_IDX, ATL_NOVECTOR, Before, cdir_switches, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), curr_scp_idx, curr_stmt_sh_idx, Elemental_Stmt, End_Stmt, Error, EXIT, FALSE, Func_Entry, Func_Exit, Function_Stmt, gen_sh(), IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPR, IR_TYPE_IDX, Label, Label_Def, Label_Opr, label_token, Lbl_User, Ldbg_User_Lbl, LN_DEF_LOC, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, PRINTMSG(), Pure_Stmt, Recursive_Stmt, SCP_FIRST_SH_IDX, SH_IR_IDX, SH_LABELED, SH_PREV_IDX, SH_Tbl_Idx, srch_sym_tbl(), stmt_label_idx, stmt_type, Subroutine_Stmt, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, Type_Decl_Stmt, TYPELESS_DEFAULT_TYPE, cdir_switch_entry::vector, and XREF_RECS.
Referenced by parse_end_stmt(), parse_prog_unit(), and stmt_level_semantics().
int gen_loop_lbl_name | ( | int | , |
lbl_pos_type | |||
) |
Definition at line 5308 of file p_ctl_flow.c.
References AT_OBJ_CLASS, AT_OBJ_NAME_PTR, ATL_CLASS, ATL_DEBUG_CLASS, ATL_EXECUTABLE, ATL_TOP_OF_LOOP, BLK_DEF_LINE, BLK_FIRST_SH_IDX, BLK_LABEL, BLK_LOOP_NUM, cmd_line_flags, CREATE_ID, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, Do_Iterative_Stmt, Do_While_Stmt, Func_Entry, Func_Exit, Label, Lbl_LoopInternal, Ldbg_Loop_Lbl, MAX_ID_LEN, ntr_sym_tbl(), NULL, NULL_IDX, Skip_Lbl, srch_sym_tbl(), stmt_type, strcpy, TOKEN_ID, TOKEN_LEN, TOKEN_STR, Top_Lbl, TRACE, and TRUE.
Referenced by loop_end_processing(), parse_cycle_stmt(), parse_do_stmt(), and parse_exit_stmt().
int generic_spec_semantics | ( | void | ) |
Definition at line 3245 of file p_dcl_util.c.
References And_Opr, Asg_Opr, AT_ATTR_LINK, AT_DEF_COLUMN, AT_DEF_LINE, AT_ELEMENTAL_INTRIN, AT_IS_INTRIN, AT_MODULE_IDX, AT_NAME_IDX, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, AT_TYPED, AT_USE_ASSOCIATED, ATD_SEEN_OUTSIDE_IMP_DO, ATD_TYPE_IDX, ATI_DEFINED_OPR, ATI_FIRST_SPECIFIC_IDX, ATI_INTERFACE_CLASS, ATI_PROC_IDX, ATI_USER_SPECIFIED, ATP_PROC, ATP_RSLT_IDX, Char_Rslt_Bound_Ref, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), CLEAR_VARIANT_ATTR_INFO, complete_intrinsic_definition(), Concat_Opr, COPY_COMMON_ATTR_INFO, COPY_VARIANT_ATTR_INFO, CREATE_ERR_ATTR, CURR_BLK, curr_scp_idx, Data_Obj, Defined_Assign_Interface, Defined_Binary_Interface, Defined_Unary_Interface, Defined_Unary_Or_Binary_Interface, Div_Opr, Eq_Opr, Eqv_Opr, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Ge_Opr, Generic_Unknown_Interface, Gt_Opr, Interface, Interface_Stmt, INTRINSIC_SCP_IDX, Le_Opr, Lg_Opr, LN_ATTR_IDX, LN_DEF_LOC, LN_NAME_IDX, Lt_Opr, Minus_Opr, Module_Blk, Module_Proc, Mult_Opr, Ne_Opr, Neqv_Opr, Not_Opr, NTR_ATTR_TBL, ntr_host_in_sym_tbl(), ntr_sym_tbl(), NULL, NULL_IDX, Null_Opr, Obj_Generic_Interface, Or_Opr, Pgm_Unit, Plus_Opr, Power_Opr, PRINTMSG(), SET_IMPL_TYPE, srch_host_sym_tbl(), srch_sym_tbl(), stmt_type, Tok_Id, Tok_Op_Add, Tok_Op_And, Tok_Op_Assign, Tok_Op_Concat, Tok_Op_Defined, Tok_Op_Div, Tok_Op_Eq, Tok_Op_Eqv, Tok_Op_Ge, Tok_Op_Gt, Tok_Op_Le, Tok_Op_Lg, Tok_Op_Lt, Tok_Op_Mult, Tok_Op_Ne, Tok_Op_Neqv, Tok_Op_Not, Tok_Op_Or, Tok_Op_Power, Tok_Op_Sub, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and XREF_RECS.
Referenced by parse_access_stmt(), and parse_interface_stmt().
void implicit_use_semantics | ( | void | ) |
Definition at line 2340 of file p_driver.c.
References AL_ATTR_IDX, AL_NEXT_IDX, AL_PREV_MODULE_IDX, AT_MODULE_IDX, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_ORIG_NAME_IDX, AT_ORIG_NAME_LEN, AT_USE_ASSOCIATED, ATP_IMPLICIT_USE_MODULE, ATP_PGM_UNIT, ATP_SCP_IDX, cdir_switches, CREATE_ID, curr_scp_idx, Error, FP_NAME_LEN, FP_NAME_PTR, FP_NEXT_FILE_IDX, Func_Entry, Func_Exit, cdir_switch_entry::implicit_use_idx, LN_DEF_LOC, MAKE_EXTERNAL_NAME, Module, NTR_ATTR_LIST_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Pgm_Unit, PRINTMSG(), SCP_USED_MODULE_LIST, srch_sym_tbl(), stmt_start_line, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, and TRUE.
Referenced by parse_prog_unit(), start_new_prog_unit(), and start_new_subpgm().
boolean is_implied_do | ( | void | ) |
Definition at line 6732 of file src_input.c.
References equal, FALSE, Fixed_Form, Func_Entry, Func_Exit, greater, idx, less, lines_in_buf, lparen, NULL, rparen, slash, source_form, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, and TRUE.
Referenced by parse_imp_do(), and parse_io_list().
boolean is_substring_ref | ( | void | ) |
Definition at line 6825 of file src_input.c.
References colon, comma, FALSE, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, NULL, rparen, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, and TRUE.
Referenced by parse_assignment_stmt(), parse_deref(), parse_equivalence_stmt(), parse_lhs(), and parse_operand().
boolean iss_blk_stk_err | ( | void | ) |
Definition at line 1743 of file p_driver.c.
References ATP_PGM_UNIT, BASIC_RECS, BLK_ERR, blk_err_msgs, BLK_HEAD_IDX, blk_stk_idx, BLK_TYPE, Blockdata, Blockdata_Stmt, cif_flags, cif_send_sytb(), Contains_Blk, CURR_BLK, curr_scp_idx, Error, EXIT, FALSE, Func_Entry, Func_Exit, Function, Function_Stmt, if_stmt_lbl_idx, init_parse_prog_unit(), Interface_Blk, Internal, Module, Module_Stmt, NULL, NULL_IDX, pop_and_err_blk_stk(), PRINTMSG(), Private_Stmt, Program, Program_Stmt, Public_Stmt, Return_Stmt, SCP_ATTR_IDX, SCP_IN_ERR, STMT_CANT_BE_IN_BLK, STMT_LEGAL_IN_BLK, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Subroutine, Subroutine_Stmt, TRACE, and TRUE.
Referenced by parse_access_stmt(), parse_allocate_stmt(), parse_assign_stmt(), parse_assignment_stmt(), parse_attrs(), parse_backspace_stmt(), parse_buffer_stmt(), parse_call_stmt(), parse_close_stmt(), parse_common_stmt(), parse_contains_stmt(), parse_continue_stmt(), parse_cycle_stmt(), parse_data_stmt(), parse_deallocate_stmt(), parse_decode_stmt(), parse_derived_type_stmt(), parse_do_stmt(), parse_encode_stmt(), parse_endfile_stmt(), parse_entry_stmt(), parse_equivalence_stmt(), parse_exit_stmt(), parse_forall(), parse_format_stmt(), parse_function_stmt(), parse_goto_stmt(), parse_if_stmt(), parse_implicit_stmt(), parse_inquire_stmt(), parse_interface_stmt(), parse_module_stmt(), parse_namelist_stmt(), parse_nullify_stmt(), parse_open_stmt(), parse_parameter_stmt(), parse_pointer_stmt(), parse_prefix_spec(), parse_print_stmt(), parse_read_stmt(), parse_return_stmt(), parse_rewind_stmt(), parse_save_stmt(), parse_select_stmt(), parse_sequence_stmt(), parse_stmt_func_stmt(), parse_stop_pause_stmt(), parse_subroutine_stmt(), parse_type_dcl_stmt(), parse_use_stmt(), parse_where_stmt(), parse_write_stmt(), and start_new_prog_unit().
void label_ref_semantics | ( | int | , |
lbl_ref_type | , | ||
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2568 of file p_utils.c.
References Ansi, AT_DCL_ERR, AT_DEF_LINE, AT_DEFINED, AT_OBJ_NAME_PTR, ATL_BLK_STMT_IDX, ATL_DEF_STMT_IDX, ATL_EXECUTABLE, Branch_Context, Case_Stmt, Directive_Stmt, Do_Infinite_Stmt, Do_Iterative_Stmt, Do_While_Stmt, Else_If_Stmt, Else_Stmt, Else_Where_Stmt, End_Do_Stmt, End_Forall_Stmt, End_If_Stmt, End_Select_Stmt, End_Where_Stmt, Error, EXIT, FALSE, Forall_Cstrct_Stmt, Format_Stmt, Func_Entry, NULL, NULL_IDX, Parallel_Case_Stmt, PRINTMSG(), SH_GLB_LINE, SH_PARENT_BLK_IDX, SH_STMT_TYPE, stmt_type, strcpy, Then_Stmt, TRACE, TRUE, Warning, and Where_Cstrct_Stmt.
Referenced by check_label_ref(), parse_assign_stmt(), and resolve_fwd_lbl_refs().
Definition at line 86 of file p_utils.c.
References Ch_Class_EOS, FALSE, Func_Entry, Func_Exit, get_token(), la_ch, LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_STMT_NUM, NULL, reset_src_input(), Tok_EOS, token, TOKEN_STR, TRACE, and TRUE.
Referenced by parse_access_stmt(), parse_allocate_stmt(), parse_and_opnd(), parse_assign_stmt(), parse_attr_spec(), parse_attrs(), parse_backspace_stmt(), parse_block_stmt(), parse_call_stmt(), parse_case_stmt(), parse_close_stmt(), parse_common_stmt(), parse_cpnt_dcl_stmt(), parse_deallocate_stmt(), parse_decode_stmt(), parse_deref(), parse_derived_type_stmt(), parse_do_stmt(), parse_else_stmt(), parse_encode_stmt(), parse_end_stmt(), parse_endfile_stmt(), parse_entry_stmt(), parse_equivalence_stmt(), parse_err_flush(), parse_format_stmt(), parse_goto_stmt(), parse_implicit_stmt(), parse_inquire_stmt(), parse_intent_spec(), parse_kind_selector(), parse_length_selector(), parse_level_1(), parse_lhs(), parse_module_stmt(), parse_nullify_stmt(), parse_only_spec(), parse_open_stmt(), parse_operand(), parse_print_stmt(), parse_read_stmt(), parse_rewind_stmt(), parse_select_stmt(), parse_stmt_func_stmt(), parse_stop_pause_stmt(), parse_type_dcl_stmt(), parse_type_spec(), parse_use_stmt(), parse_write_stmt(), and set_function_rslt().
boolean merge_access | ( | int | , |
int | , | ||
int | , | ||
access_type | |||
) |
Definition at line 1609 of file p_dcl_util.c.
References access, Ansi, AT_ACCESS_SET, AT_ATTR_LINK, AT_IS_INTRIN, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_PRIVATE, ATD_SYMBOLIC_CONSTANT, ATI_FIRST_SPECIFIC_IDX, ATI_PROC_IDX, ATP_PGM_UNIT, ATP_PROC, Blockdata, Data_Obj, fnd_semantic_err(), Func_Entry, Func_Exit, Interface, Internal, Intrin_Proc, Label, Module, NULL, NULL_IDX, Obj_Private, Obj_Public, Pgm_Unit, PRINTMSG(), Program, Public, SN_ATTR_IDX, SN_SIBLING_LINK, Stmt_Func, TRACE, and TRUE.
Referenced by parse_access_stmt(), and parse_type_dcl_stmt().
boolean merge_allocatable | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 1743 of file p_dcl_util.c.
References Ansi, AT_OBJ_NAME_PTR, ATD_ALLOCATABLE, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Allocatable, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_allocatable_stmt(), and parse_type_dcl_stmt().
boolean merge_automatic | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 1806 of file p_dcl_util.c.
References Ansi, AT_DCL_ERR, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, ATD_ARRAY_IDX, ATD_CLASS, ATD_POINTER, ATD_STACK, ATD_TYPE_IDX, ATP_PGM_UNIT, ATP_RSLT_IDX, Character, CREATE_FUNC_RSLT, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Function, Function_Result, NULL, NULL_IDX, Obj_Automatic, Pgm_Unit, PRINTMSG(), SET_IMPL_TYPE, Structure, TRACE, TRUE, and TYP_TYPE.
Referenced by parse_automatic_stmt(), and parse_type_dcl_stmt().
boolean merge_co_array | ( | boolean | , |
int | , | ||
int | , | ||
int | , | ||
int | |||
) |
Definition at line 3922 of file p_dcl_util.c.
References ATD_PE_ARRAY_IDX, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Co_Array, TRACE, and TRUE.
Referenced by parse_attrs(), and parse_type_dcl_stmt().
boolean merge_data | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2153 of file p_dcl_util.c.
References AT_DEFINED, ATD_CLASS, ATD_DATA_INIT, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Data_Init, TRACE, TRUE, and Variable.
Referenced by parse_data_imp_do(), parse_data_stmt(), and parse_type_dcl_stmt().
boolean merge_dimension | ( | int | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 1894 of file p_dcl_util.c.
References Ansi, Assumed_Shape, Assumed_Size, AT_DCL_ERR, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, ATD_ARRAY_IDX, ATI_PROC_IDX, ATP_PGM_UNIT, ATP_RECURSIVE, ATP_RSLT_IDX, ATP_RSLT_NAME, BD_ARRAY_CLASS, BD_ARRAY_SIZE, BD_DCL_ERR, BD_LB_FLD, BD_LB_IDX, BD_RANK, BD_UB_FLD, BD_UB_IDX, Caution, CN_Tbl_Idx, CREATE_FUNC_RSLT, Deferred_Shape, Error, EXIT, Explicit_Shape, FALSE, fnd_semantic_err(), fold_relationals(), Func_Entry, Func_Exit, Function, Interface, is_attr_referenced_in_bound(), Module, Ne_Opr, Not_Referenced, NULL, NULL_IDX, Obj_Assum_Shp_Arr, Obj_Assum_Size_Arr, Obj_Defrd_Shp_Arr, Obj_Expl_Shp_Arr, on_off_flags, Pgm_Unit, PRINTMSG(), on_off_flags_entry::recursive, SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_attrs(), parse_common_stmt(), parse_pointer_stmt(), and parse_type_dcl_stmt().
boolean merge_external | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2206 of file p_dcl_util.c.
References Ansi, AT_IS_INTRIN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, ATI_PROC_IDX, ATP_DCL_EXTERNAL, ATP_PROC, ATP_SCP_IDX, chg_data_obj_to_pgm_unit(), curr_scp_idx, Data_Obj, Extern_Proc, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Interface, NULL, NULL_IDX, Obj_Dcl_Extern, Pgm_Unknown, PRINTMSG(), SCP_ATTR_IDX, TRACE, TRUE, and Unknown_Proc.
Referenced by parse_external_stmt(), and parse_type_dcl_stmt().
boolean merge_intent | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2294 of file p_dcl_util.c.
References Ansi, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, ATD_CLASS, ATD_INTENT, ATI_PROC_IDX, Dummy_Argument, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Intent_Unseen, Interface, new_intent, NULL, NULL_IDX, Obj_Intent, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_intent_stmt(), and parse_type_dcl_stmt().
boolean merge_intrinsic | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2368 of file p_dcl_util.c.
References Ansi, AT_ELEMENTAL_INTRIN, AT_IS_INTRIN, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_TYPED, ATD_TYPE_IDX, ATI_DCL_INTRINSIC, ATI_FIRST_SPECIFIC_IDX, ATI_GENERIC_INTRINSIC, ATI_INTERFACE_CLASS, ATI_NUM_SPECIFICS, ATI_PROC_IDX, ATP_PGM_UNIT, ATP_RSLT_IDX, complete_intrinsic_definition(), COPY_VARIANT_ATTR_INFO, curr_scp_idx, Data_Obj, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Function, Generic_Subroutine_Interface, Interface, INTRINSIC_SCP_IDX, NULL, NULL_IDX, Obj_Dcl_Intrin, Pgm_Unit, PRINTMSG(), SET_IMPL_TYPE, SN_SIBLING_LINK, srch_host_sym_tbl(), srch_sym_tbl(), TRACE, and TRUE.
Referenced by parse_intrinsic_stmt(), and parse_type_dcl_stmt().
boolean merge_optional | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2563 of file p_dcl_util.c.
References Ansi, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_OPTIONAL, ATD_CLASS, ATP_PROC, Data_Obj, Dummy_Argument, Dummy_Proc, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Optional, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_optional_stmt(), and parse_type_dcl_stmt().
boolean merge_pointer | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2627 of file p_dcl_util.c.
References Ansi, AT_DCL_ERR, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, ATD_POINTER, ATI_PROC_IDX, ATP_PGM_UNIT, ATP_RSLT_IDX, ATP_RSLT_NAME, CREATE_FUNC_RSLT, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Function, Interface, NULL, NULL_IDX, Obj_Pointer, Pgm_Unit, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_pointer_stmt(), and parse_type_dcl_stmt().
boolean merge_save | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2719 of file p_dcl_util.c.
References Ansi, AT_OBJ_NAME_PTR, ATD_CLASS, ATD_SAVED, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Saved, PRINTMSG(), SET_IMPL_TYPE, TRACE, TRUE, and Variable.
Referenced by parse_save_stmt(), and parse_type_dcl_stmt().
boolean merge_target | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 2773 of file p_dcl_util.c.
References Ansi, AT_DCL_ERR, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, ATD_TARGET, ATI_PROC_IDX, ATP_PGM_UNIT, ATP_RSLT_IDX, ATP_RSLT_NAME, CREATE_FUNC_RSLT, Error, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, Function, Interface, NULL, NULL_IDX, Obj_Target, Pgm_Unit, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_target_stmt(), and parse_type_dcl_stmt().
boolean merge_volatile | ( | boolean | , |
int | , | ||
int | , | ||
int | |||
) |
Definition at line 3971 of file p_dcl_util.c.
References Ansi, AT_OBJ_NAME_PTR, ATD_VOLATILE, FALSE, fnd_semantic_err(), Func_Entry, Func_Exit, NULL, Obj_Volatile, PRINTMSG(), SET_IMPL_TYPE, TRACE, and TRUE.
Referenced by parse_type_dcl_stmt(), and parse_volatile_stmt().
int move_blk_to_end | ( | int | ) |
Definition at line 4525 of file p_end.c.
References blk_stk, blk_stk_idx, BLK_TYPE, cdir_switches, Do_Blk, Doall_Blk, cdir_switch_entry::doall_region, FALSE, Func_Entry, Func_Exit, NULL, POP_BLK_STK, PUSH_BLK_STK, and TRACE.
Referenced by blk_match_err(), check_do_open_mp_nesting(), end_do_blk(), end_if_blk(), end_labeled_do(), end_select_blk(), parse_end_stmt(), pop_and_err_blk_stk(), remove_do_parallel_blk(), and remove_pdo_blk().
boolean next_arg_is_kwd_equal | ( | void | ) |
Definition at line 5900 of file src_input.c.
References at_sign, bang, blank, ch_class, Ch_Class_Digit, Ch_Class_Letter, dollar, EOF, equal, EXIT, FALSE, Fixed_Form, Func_Entry, Func_Exit, idx, kwd, lines_in_buf, newline, NULL, source_form, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, tab, TRACE, and underscore.
Referenced by parse_actual_arg_spec(), parse_deref(), and parse_io_control_list().
boolean next_id_is_imp_control | ( | void | ) |
Definition at line 6899 of file src_input.c.
References at_sign, blank, ch_class, Ch_Class_Digit, Ch_Class_Letter, dollar, EOF, equal, FALSE, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, NULL, percent, rparen, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, tab, TRACE, TRUE, and underscore.
boolean next_tok_is_paren_slash | ( | void | ) |
Definition at line 7276 of file src_input.c.
References FALSE, Fixed_Form, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, NULL, slash, source_form, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, and TRUE.
Referenced by parse_imp_do(), and parse_io_list().
int ntr_io_string_constant | ( | void | ) |
Definition at line 7919 of file src_input.c.
References blank, C_INT_TO_CN, CG_INTEGER_DEFAULT_TYPE, Character, CHARACTER_DEFAULT_TYPE, CLEAR_TBL_NTRY, CN_CONST, CN_Tbl_Idx, Const_Len_Char, Default_Typed, Func_Entry, Func_Exit, idx, lines_in_buf, newline, ntr_const_tbl(), ntr_type_tbl(), NULL, NULL_IDX, stmt_buf, stmt_line_end_idx, stmt_line_offset, stmt_line_start_idx, tab, TRACE, TRUE, TYP_CHAR_CLASS, TYP_DESC, TYP_FLD, TYP_IDX, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, and type_tbl.
boolean paren_grp_is_cplx_const | ( | void | ) |
Definition at line 3439 of file p_utils.c.
References AT_OBJ_CLASS, AT_Tbl_Idx, ATD_CLASS, ATD_CONST_IDX, ATD_FLD, CIF_No_Usage_Rec, CN_Tbl_Idx, CN_TYPE_IDX, COMMA, comp_gen_expr, Constant, Data_Obj, EXIT, expr_semantics(), FALSE, Func_Entry, Func_Exit, Integer, IR_FLD_L, IR_IDX_L, IR_OPR, IR_Tbl_Idx, LA_CH_VALUE, NEXT_LA_CH, NULL, NULL_IDX, OPND_FLD, OPND_IDX, parse_expr(), expr_semantics_args::rank, Real, RPAREN, SLASH, TRACE, TRUE, TYP_TYPE, Uminus_Opr, Uplus_Opr, and xref_state.
Referenced by parse_imp_do(), and parse_io_list().
void parse_access_stmt | ( | void | ) |
Definition at line 330 of file p_dcl_attr.c.
References access, AT_ACCESS_SET, AT_OBJ_NAME_PTR, AT_PRIVATE, ATP_PGM_UNIT, ATT_FIRST_CPNT_IDX, ATT_PRIVATE_CPNT, COLON, COMMA, CURR_BLK, CURR_BLK_NAME, curr_scp_idx, curr_stmt_category, Declaration_Stmt_Cat, Derived_Type_Blk, EOS, EOS_STR, Error, FALSE, Find_Comma, Find_EOS, Func_Entry, Func_Exit, generic_spec_semantics(), iss_blk_stk_err(), LA_CH_VALUE, matched_specific_token(), merge_access(), Module, Module_Blk, NEXT_LA_CH, NULL, NULL_IDX, parse_err_flush(), parse_generic_spec(), PRINTMSG(), Private, Public, SCP_ATTR_IDX, STMT_OUT_OF_ORDER, stmt_type, Tok_Class_Punct, Tok_Kwd_Private, Tok_Punct_Colon_Colon, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, and TRUE.
boolean parse_actual_arg_spec | ( | opnd_type * | , |
boolean | , | ||
int | |||
) |
Definition at line 486 of file p_utils.c.
References AT_OBJ_CLASS, AT_Tbl_Idx, ATP_HAS_ALT_RETURN, Ch_Class_Digit, check_label_ref(), la_entry::column, COMMA, COPY_OPND, create_kwd_text(), Error, FALSE, Find_Comma_Rparen, Find_EOS, Func_Entry, Func_Exit, IL_ARG_DESC_VARIANT, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_OPND, IL_Tbl_Idx, Internal, IR_COL_NUM, IR_LINE_NUM, IR_OPND_L, IR_OPR, IR_Tbl_Idx, la_ch, LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, la_entry::line, LPAREN, MATCHED_TOKEN_CLASS, max_call_list_size, next_arg_is_kwd_equal(), NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, OPND_FLD, OPND_IDX, OPND_LIST_CNT, parse_err_flush(), parse_expr(), PERCENT, Percent_Val_Opr, Pgm_Unit, PRINTMSG(), reset_lex(), RPAREN, STAR, la_entry::stmt_buf_idx, la_entry::stmt_num, Tok_Class_Id, Tok_Class_Label, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, and TRUE.
Referenced by parse_call_stmt(), and parse_deref().
void parse_allocatable_stmt | ( | void | ) |
Definition at line 461 of file p_dcl_attr.c.
References Func_Entry, Func_Exit, merge_allocatable(), NULL, parse_attrs(), and TRACE.
void parse_allocate_stmt | ( | void | ) |
Definition at line 100 of file p_ctl_flow.c.
References Allocate_Opr, Allocate_Stmt, change_subscript(), COMMA, COPY_OPND, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, EQUAL, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_Comma_Rparen, Find_EOS, Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, mark_attr_defined(), matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_deref(), parse_err_flush(), PRINTMSG(), RPAREN, SH_IR_IDX, SH_STMT_TYPE, star_expected, Tok_Class_Id, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
int parse_array_spec | ( | int | ) |
Definition at line 95 of file p_dcl_util.c.
References Assumed_Shape, Assumed_Size, AT_REFERENCED, BD_ARRAY_CLASS, BD_ARRAY_SIZE, BD_COLUMN_NUM, BD_DCL_ERR, BD_LB_FLD, BD_LB_IDX, BD_LINE_NUM, BD_RANK, BD_UB_FLD, BD_UB_IDX, CN_INTEGER_ONE_IDX, CN_Tbl_Idx, COLON, COMMA, Constant_Size, CURR_BLK, Deferred_Shape, Derived_Type_Blk, Error, EXIT, Explicit_Shape, FALSE, Find_None, Find_Rparen, Func_Entry, Func_Exit, Internal, is_attr_referenced_in_bound(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LPAREN, NEXT_LA_CH, NO_Tbl_Idx, Not_Referenced, ntr_array_in_bd_tbl(), NULL, NULL_IDX, parse_err_flush(), parse_int_spec_expr(), PRINTMSG(), reserve_array_ntry(), RPAREN, STAR, TRACE, TRUE, and Unknown_Array.
Referenced by parse_attr_spec(), parse_attrs(), parse_common_stmt(), parse_cpnt_dcl_stmt(), parse_pointer_stmt(), and parse_type_dcl_stmt().
void parse_assign_stmt | ( | void | ) |
Definition at line 254 of file p_ctl_flow.c.
References Ansi, Asg_Opr, Assign_Ref, AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_REFERENCED, AT_Tbl_Idx, ATD_IN_ASSIGN, ATL_DEF_STMT_IDX, ATL_EXECUTABLE, ATL_IN_ASSIGN, build_fwd_ref_entry(), cif_flags, CIF_Label_Referenced_In_ASSIGN, cif_usage_rec(), COPY_OPND, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, Find_EOS, Func_Entry, Func_Exit, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, Label, label_ref_semantics(), LN_DEF_LOC, mark_attr_defined(), matched_specific_token(), MATCHED_TOKEN_CLASS, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, OPND_FLD, OPND_IDX, parse_deref(), parse_err_flush(), PRINTMSG(), Referenced, SH_ERR_FLG, SH_IR_IDX, srch_sym_tbl(), stmt_label_idx, stmt_start_col, stmt_start_line, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Label, Tok_Class_Punct, Tok_EOS, Tok_Kwd_To, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
void parse_assignment_stmt | ( | void | ) |
Definition at line 91 of file p_asg_expr.c.
References Asg_Opr, AT_ATTR_LINK, AT_OBJ_CLASS, ATD_ARRAY_IDX, ATD_SEEN_OUTSIDE_IMP_DO, ATD_TYPE_IDX, Character, COPY_OPND, CURR_BLK, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Forall_Blk, Func_Entry, Func_Exit, INIT_OPND_TYPE, IR_COL_NUM, IR_LINE_NUM, IR_OPND_L, IR_OPND_R, IR_OPR, IS_STMT_ENTITY, is_substring_ref(), iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_COLUMN, LA_CH_LINE, LA_CH_STMT_NUM, LA_CH_VALUE, LPAREN, MATCHED_TOKEN_CLASS, NEXT_LA_CH, ntr_host_in_sym_tbl(), NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, parse_err_flush(), parse_expr(), parse_lhs(), parse_stmt_func_stmt(), PRINTMSG(), Ptr_Asg_Opr, reset_lex(), SET_IMPL_TYPE, SH_IR_IDX, srch_host_sym_tbl(), srch_sym_tbl(), Tok_Class_Punct, Tok_Punct_Eq, Tok_Punct_Rename, token, TOKEN_LEN, TOKEN_STR, TRACE, TRUE, TYP_TYPE, Where_Else_Blk, Where_Else_Mask_Blk, and Where_Then_Blk.
void parse_automatic_stmt | ( | void | ) |
Definition at line 490 of file p_dcl_attr.c.
References Ansi, Func_Entry, Func_Exit, merge_automatic(), NULL, parse_attrs(), PRINTMSG(), stmt_start_col, stmt_start_line, and TRACE.
void parse_backspace_stmt | ( | void | ) |
Definition at line 85 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATP_ELEMENTAL, ATP_PURE, Backspace, Backspace_Attr_Idx, BACKSPACE_LIB_ENTRY, BACKSPACE_NAME_LEN, Call_Opr, COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Func_Entry, Func_Exit, glb_tbl_idx, IL_ARG_DESC_VARIANT, IL_NEXT_LIST_IDX, IL_OPND, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, matched_specific_token(), NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_expr(), parse_io_control_list(), PRINTMSG(), SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, stmt_type, stmt_type_str, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_bad_stmt | ( | void | ) |
Definition at line 1899 of file p_driver.c.
References Func_Entry, Func_Exit, Internal, NULL, PRINTMSG(), token, TOKEN_COLUMN, TOKEN_LINE, and TRACE.
void parse_block_stmt | ( | void | ) |
Definition at line 86 of file p_dcl_pu.c.
References Ansi, Blockdata, Blockdata_Blk, CURR_BLK_NAME, CURR_BLK_NO_EXEC, EOS, EOS_STR, Error, FALSE, Find_EOS, Func_Entry, Func_Exit, LA_CH_VALUE, main_token, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NULL, NULL_IDX, parse_err_flush(), PRINTMSG(), start_new_prog_unit(), stmt_start_col, stmt_start_line, Tok_Class_Id, Tok_Class_Keyword, Tok_Id, Tok_Kwd_Data, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, and TRUE.
void parse_buffer_stmt | ( | void | ) |
Definition at line 194 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_Tbl_Idx, Buffer_In_Attr_Idx, BUFFER_IN_LIB_ENTRY, BUFFER_IN_NAME_LEN, Buffer_Out_Attr_Idx, BUFFER_OUT_LIB_ENTRY, BUFFER_OUT_NAME_LEN, Call_Opr, CIF_Buffer_In_Stmt, CIF_Buffer_Out_Stmt, cif_flags, cif_stmt_type_rec(), COMMA, COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Func_Entry, Func_Exit, glb_tbl_idx, IL_ARG_DESC_VARIANT, IL_NEXT_LIST_IDX, IL_OPND, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, mark_attr_defined(), MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_deref(), parse_err_flush(), parse_expr(), PRINTMSG(), RPAREN, SH_IR_IDX, statement_number, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_call_stmt | ( | void | ) |
Definition at line 406 of file p_ctl_flow.c.
References AT_ATTR_LINK, AT_CIF_SYMBOL_ID, AT_DEF_COLUMN, AT_DEF_LINE, AT_IS_INTRIN, AT_NAME_IDX, AT_NAME_LEN, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, ATI_FIRST_SPECIFIC_IDX, ATI_INTERFACE_CLASS, ATP_PGM_UNIT, ATP_PROC, ATP_SCP_IDX, Call_Opr, chg_data_obj_to_pgm_unit(), cmd_line_flags, complete_intrinsic_definition(), COPY_ATTR_NTRY, COPY_OPND, CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, EOS, EOS_STR, Executable_Stmt_Cat, EXIT, Extern_Proc, FALSE, Find_EOS, fnd_semantic_err(), Func_Entry, Func_Exit, gen_debug_lbl_stmt(), Generic_Function_Interface, IL_Tbl_Idx, Interface, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, Ldbg_Stmt_Lbl, LN_DEF_LOC, LPAREN, MAKE_EXTERNAL_NAME, matched_specific_token(), MATCHED_TOKEN_CLASS, Not_Referenced, ntr_host_in_sym_tbl(), NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Obj_Use_Extern_Subr, parse_actual_arg_spec(), parse_err_flush(), Pgm_Unit, Pgm_Unknown, Referenced, SH_ERR_FLG, SH_IR_IDX, srch_host_sym_tbl(), srch_sym_tbl(), Subroutine, Tok_Class_Id, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, and Unknown_Proc.
void parse_case_stmt | ( | void | ) |
Definition at line 634 of file p_ctl_flow.c.
References After, AT_DEF_LINE, AT_DEFINED, AT_NAME_LEN, AT_OBJ_NAME_LONG, AT_REFERENCED, AT_Tbl_Idx, ATL_CASE_LABEL, ATL_DEF_STMT_IDX, Before, BLK_CASE_DEFAULT_LBL_COL_NUM, BLK_CASE_DEFAULT_LBL_FLD, BLK_CASE_DEFAULT_LBL_IDX, BLK_CASE_DEFAULT_LBL_LINE_NUM, BLK_DEF_LINE, BLK_ERR, BLK_FIRST_SH_IDX, BLK_FND_DEFAULT, BLK_LABEL, blk_match_err(), BLK_NAME, BLK_NUM_CASES, blk_stk_idx, BLK_TYPE, Br_Uncond_Opr, Case_Blk, Case_Opr, Case_Range_Opr, Case_Stmt, check_for_vestigial_task_blks(), CIF_Case_Default_Stmt, CIF_Case_Stmt, CIF_Construct_Name_Reference, cif_flags, cif_stmt_type_rec(), cif_usage_rec(), cmd_line_flags, CN_INTEGER_ONE_IDX, CN_INTEGER_ZERO_IDX, CN_Tbl_Idx, COLON, COMMA, compare_names(), Continue_Stmt, COPY_OPND, CURR_BLK, CURR_BLK_DEF_COLUMN, CURR_BLK_DEF_LINE, CURR_BLK_ERR, CURR_BLK_FIRST_SH_IDX, CURR_BLK_NAME, curr_stmt_category, curr_stmt_sh_idx, cmd_line_flags_entry::debug_lvl, Debug_Lvl_0, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Find_Rparen, Func_Entry, Func_Exit, gen_internal_lbl(), gen_sh(), Goto_Stmt, IR_COL_NUM, IR_COL_NUM_L, IR_COL_NUM_R, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LINE_NUM_R, IR_OPND_L, IR_OPND_R, IR_OPR, IR_Tbl_Idx, IR_TYPE_IDX, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Label_Opr, LINK_TO_PARENT_BLK, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, NO_Tbl_Idx, NTR_IR_TBL, NULL, NULL_IDX, null_opnd, OPND_FLD, parse_err_flush(), parse_expr(), parse_operand_insert, PRINTMSG(), PUSH_BLK_STK, Referenced, RPAREN, Select_Blk, SH_COL_NUM, SH_GLB_LINE, SH_IR_IDX, SH_LABELED, SH_PARENT_BLK_IDX, SH_PREV_IDX, statement_number, STMT_LEGAL_IN_BLK, stmt_start_col, stmt_start_line, strcpy, Tok_Class_Id, Tok_Class_Keyword, Tok_Kwd_Default, token, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
void parse_close_stmt | ( | void | ) |
Definition at line 414 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATP_ELEMENTAL, ATP_PURE, Call_Opr, Close, Close_Attr_Idx, CLOSE_LIB_ENTRY, CLOSE_NAME_LEN, COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Func_Entry, Func_Exit, glb_tbl_idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, matched_specific_token(), NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_io_control_list(), PRINTMSG(), SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, stmt_type, stmt_type_str, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_common_stmt | ( | void | ) |
Definition at line 95 of file p_dcls.c.
References Ansi, AT_ATTR_LINK, AT_DCL_ERR, AT_HOST_ASSOCIATED, AT_OBJ_CLASS, AT_REFERENCED, AT_Tbl_Idx, ATD_AUXILIARY, ATD_CLASS, ATD_IN_COMMON, ATD_NEXT_MEMBER_IDX, ATD_PE_ARRAY_IDX, ATD_SEEN_OUTSIDE_IMP_DO, ATD_STOR_BLK_IDX, BD_ARRAY_CLASS, BD_COLUMN_NUM, BD_LINE_NUM, BLANK_COMMON_NAME, BLANK_COMMON_NAME_LEN, Ch_Class_Letter, Char_Rslt_Bound_Ref, cif_flags, cif_sb_usage_rec(), CIF_Symbol_Declaration, cif_usage_rec(), cmd_line_flags, cmd_line_flags_entry::co_array_fortran, COMMA, Common, CREATE_ID, CURR_BLK, curr_scp_idx, curr_stmt_category, Data_Obj, Declaration_Stmt_Cat, Deferred_Shape, EOS, EOS_STR, Error, FALSE, Find_Comma_Slash, Find_None, fnd_semantic_err(), Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LBRKT, LN_DEF_LOC, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, merge_dimension(), NEXT_LA_CH, ntr_stor_blk_tbl(), ntr_sym_tbl(), NULL, NULL_IDX, Obj_Common_Obj, parse_array_spec(), parse_err_flush(), parse_pe_array_spec(), PRINTMSG(), SB_AUXILIARY, SB_BLANK_COMMON, SB_BLK_TYPE, SB_COMMON_NEEDS_OFFSET, SB_DCL_ERR, SB_DEF_MULT_SCPS, SB_FIRST_ATTR_IDX, SB_HIDDEN, SB_HOST_ASSOCIATED, SB_IS_COMMON, SB_MERGED_BLK_IDX, SB_NAME_PTR, SB_RUNTIME_INIT, SB_USE_ASSOCIATED, SET_IMPL_TYPE, SLASH, srch_stor_blk_tbl(), srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, stmt_type, Task_Common, Task_Common_Stmt, Threadprivate, Tok_Class_Id, Tok_Class_Keyword, Tok_Id, Tok_Kwd_Common, token, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, Variable, and XREF_RECS.
void parse_contains_stmt | ( | void | ) |
Definition at line 477 of file p_dcls.c.
References BLK_CIF_SCOPE_ID, blk_stk_idx, cif_flags, cif_internal_proc_start_line, cif_module_proc_start_line, Contains_Blk, Contains_Stmt, CURR_BLK, CURR_BLK_ERR, CURR_BLK_NO_EXEC, curr_stmt_category, do_cmic_blk_checks(), EOS, EOS_STR, FALSE, Find_EOS, Func_Entry, Func_Exit, Interface_Blk, iss_blk_stk_err(), LA_CH_LINE, LA_CH_VALUE, NEXT_LA_CH, NULL, parse_err_flush(), PUSH_BLK_STK, STMT_CANT_BE_IN_BLK, Sub_Func_Stmt_Cat, TRACE, and TRUE.
void parse_continue_stmt | ( | void | ) |
Definition at line 1004 of file p_ctl_flow.c.
References CURR_BLK_NO_EXEC, curr_stmt_category, EOS, EOS_STR, Executable_Stmt_Cat, Find_EOS, Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_VALUE, NEXT_LA_CH, NULL, parse_err_flush(), and TRACE.
void parse_cycle_stmt | ( | void | ) |
Definition at line 1044 of file p_ctl_flow.c.
References AT_Tbl_Idx, BLK_CYCLE_STMT, BLK_NAME, Br_Uncond_Opr, CIF_Construct_Name_Reference, cif_flags, cif_usage_rec(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Cycle_Lbl, Do_Blk, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Func_Entry, Func_Exit, gen_loop_lbl_name(), IR_COL_NUM, IR_COL_NUM_R, IR_FLD_R, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, match_blk(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), PRINTMSG(), SH_IR_IDX, SH_P2_SKIP_ME, stmt_start_col, stmt_start_line, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
void parse_data_stmt | ( | void | ) |
Definition at line 1138 of file p_dcls.c.
References After, AT_ATTR_LINK, AT_OBJ_CLASS, AT_REFERENCED, AT_Tbl_Idx, ATD_SEEN_OUTSIDE_IMP_DO, Call_Opr, Char_Rslt_Bound_Ref, COMMA, Comment, COPY_OPND, CURR_BLK, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, Data_Stmt, Declaration_Stmt_Cat, EOS, Error, EXIT, FALSE, Find_EOS, Func_Entry, Func_Exit, gen_sh(), IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, Init_Opr, Internal, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPR, IR_Tbl_Idx, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LN_DEF_LOC, LPAREN, MATCHED_TOKEN_CLASS, merge_data(), NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, OPND_COL_NUM, OPND_FLD, OPND_IDX, OPND_LINE_NUM, parse_data_imp_do(), parse_deref(), parse_err_flush(), parse_initializer(), parse_operand_insert, PERCENT, PRINTMSG(), SET_IMPL_TYPE, SH_COMPILER_GEN, SH_IR_IDX, SLASH, srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, strcpy, Tok_Class_Id, Tok_Const_False, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_deallocate_stmt | ( | void | ) |
Definition at line 1131 of file p_ctl_flow.c.
References change_subscript(), COMMA, COPY_OPND, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Deallocate_Opr, Deallocate_Stmt, EOS, EOS_STR, EQUAL, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_Comma_Rparen, Find_EOS, Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, mark_attr_defined(), matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_deref(), parse_err_flush(), PRINTMSG(), RPAREN, SH_IR_IDX, SH_STMT_TYPE, Tok_Class_Id, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_decode_stmt | ( | void | ) |
Definition at line 498 of file p_io.c.
References AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATL_CLASS, build_fwd_ref_entry(), Ch_Class_Digit, Character, cif_flags, CIF_Label_Referenced_As_Format, cif_usage_rec(), CN_Tbl_Idx, CN_TYPE_IDX, COMMA, COPY_OPND, create_format_tmp(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, digit_is_format_label(), EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_Comma, Find_EOS, Find_Rparen, format_cn_idx, Format_Ref, Func_Entry, Func_Exit, idx, ignore_trailing_chars, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_VALUE, Label, Lbl_Format, cc_stmt_buf_line_entry::line, LN_DEF_LOC, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, parse_deref(), parse_err_flush(), parse_expr(), parse_io_list(), pre_parse_format(), PRINTMSG(), Read_Formatted_Opr, RPAREN, set_format_start_idx(), SH_IR_IDX, srch_sym_tbl(), Tok_Class_Id, Tok_Class_Label, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_TYPE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
boolean parse_deref | ( | opnd_type * | , |
int | |||
) |
Definition at line 670 of file p_utils.c.
References Ansi, Assumed_Size_Char, AT_ATTR_LINK, AT_CIF_SYMBOL_ID, AT_DCL_ERR, AT_DEF_COLUMN, AT_DEF_LINE, AT_ELEMENTAL_INTRIN, AT_IS_INTRIN, AT_LOCKED_IN, AT_MODULE_IDX, AT_NAME_IDX, AT_NAME_LEN, AT_NAMELIST_OBJ, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, AT_TYPED, AT_USE_ASSOCIATED, ATD_ALLOCATABLE, ATD_ARRAY_IDX, ATD_CLASS, ATD_FIRST_SEEN_IL_IDX, ATD_PE_ARRAY_IDX, ATD_POINTER, ATD_SEEN_IN_IMP_DO, ATD_SEEN_OUTSIDE_IMP_DO, ATD_SF_DARG, ATD_SYMBOLIC_CONSTANT, ATD_TARGET, ATD_TYPE_IDX, Atd_Unknown, ATI_FIRST_SPECIFIC_IDX, ATI_INTRIN_PASSABLE, ATI_INTRIN_TBL_IDX, ATP_DCL_EXTERNAL, ATP_INTERFACE_IDX, ATP_NON_ANSI_INTRIN, ATP_PGM_UNIT, ATP_PROC, ATP_RSLT_IDX, ATP_RSLT_NAME, ATP_SCP_ALIVE, ATP_SCP_IDX, ATT_FIRST_CPNT_IDX, ATT_PRIVATE_CPNT, BD_RANK, Call_Opr, Character, chg_data_obj_to_pgm_unit(), cmd_line_flags, cmd_line_flags_entry::co_array_fortran, COLON, COMMA, complete_intrinsic_definition(), Complex_16, Complex_4, Complex_8, COMPLEX_DEFAULT_TYPE, COPY_ATTR_NTRY, COPY_OPND, COPY_VARIANT_ATTR_INFO, CREATE_FUNC_RSLT, create_kwd_text(), curr_scp_idx, curr_stmt_sh_idx, Data_Obj, Data_Stmt, intrin_tbl_entry::data_type, Dcl_Bound_Ref, Derived_Type, DOUBLE_COMPLEX_DEFAULT_TYPE, DOUBLE_DEFAULT_TYPE, Dummy_Argument, on_off_flags_entry::enable_double_precision, Error, EXIT, expr_mode, Extern_Proc, FALSE, Find_Comma_Rparen, Find_EOS, find_opnd_line_and_column(), Find_Ref_End, Find_Rparen, fnd_semantic_err(), Func_Entry, Func_Exit, Function, get_basic_type_str(), id_str(), intrin_map_entry::id_str, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_OPND, IL_PE_SUBSCRIPT, IL_PREV_LIST_IDX, IL_Tbl_Idx, in_implied_do, initial_token, Initialization_Expr, Integer_1, Integer_2, Integer_4, Integer_8, INTEGER_DEFAULT_TYPE, Interface, Internal, intrin_map, Intrin_Proc, intrin_tbl, INTRINSIC_SCP_IDX, IR_COL_NUM, IR_COL_NUM_L, IR_COL_NUM_R, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LINE_NUM_R, IR_LIST_CNT_L, IR_LIST_CNT_R, IR_OPND_L, IR_OPND_R, IR_OPR, IR_Tbl_Idx, IS_STMT_ENTITY, is_substring_ref(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Label, LBRKT, LN_DEF_LOC, LPAREN, MAKE_EXTERNAL_NAME, matched_specific_token(), MATCHED_TOKEN_CLASS, MAX_INTRIN_MAP_SIZE, Module, Namelist_Grp, next_arg_is_kwd_equal(), NEXT_LA_CH, NO_Tbl_Idx, Not_Referenced, ntr_host_in_sym_tbl(), NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Obj_Use_Extern_Func, on_off_flags, OPND_COL_NUM, OPND_FLD, OPND_IDX, OPND_LINE_NUM, parse_actual_arg_spec(), parse_deref(), parse_err_flush(), parse_expr(), PERCENT, Pgm_Unit, Pgm_Unknown, PRINTMSG(), RBRKT, Real_16, Real_4, Real_8, REAL_DEFAULT_TYPE, Referenced, RPAREN, cmd_line_flags_entry::s_default64, cmd_line_flags_entry::s_float64, SCP_IMPL_NONE, SET_IMPL_TYPE, SH_ERR_FLG, SN_ATTR_IDX, Specification_Expr, srch_host_sym_tbl(), srch_linked_sn(), srch_sym_tbl(), STAR, star_expected, Stmt_Func, Stmt_Func_Call_Opr, Stmt_Func_Expr, stmt_type, strcpy, id_str_entry::string, Struct_Construct_Opr, Struct_Opr, Structure, Subscript_Opr, Substring_Opr, Tok_Class_Id, Tok_Class_Punct, Tok_Id, Tok_Punct_Rparen, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, Triplet_Opr, TRUE, TYP_CHAR_CLASS, TYP_IDX, TYP_TYPE, and Unknown_Proc.
Referenced by parse_allocate_stmt(), parse_assert_directive(), parse_assign_stmt(), parse_buffer_stmt(), parse_cache_align_name_list(), parse_cache_bypass_dir(), parse_data_imp_do(), parse_data_stmt(), parse_deallocate_stmt(), parse_decode_stmt(), parse_deref(), parse_dir_var_list(), parse_do_stmt(), parse_dollar_directives(), parse_encode_stmt(), parse_forall(), parse_inquire_stmt(), parse_io_control_list(), parse_lhs(), parse_mp_directive(), parse_nullify_stmt(), parse_open_mp_directives(), parse_operand(), parse_par_directives(), parse_prefetch_ref(), parse_reference_list(), parse_star_directives(), parse_var_common_list(), and parse_var_name_list().
void parse_dimension_stmt | ( | void | ) |
Definition at line 523 of file p_dcl_attr.c.
References Func_Entry, Func_Exit, NULL, parse_attrs(), and TRACE.
void parse_directive_stmt | ( | void | ) |
Definition at line 334 of file p_directiv.c.
References c_i_f, cdir_switches, cif_actual_file, cif_first_pgm_unit, cif_need_unit_rec, cif_tmp_file, cmd_line_flags, cmd_line_flags_entry::disregard_all_dirs, cmd_line_flags_entry::disregard_all_mics, cmd_line_flags_entry::disregard_all_omps, cmd_line_flags_entry::disregard_all_openads, EXIT, FALSE, Find_EOS, Func_Entry, Func_Exit, MATCHED_TOKEN_CLASS, need_new_sh, NEXT_LA_CH, NULL, parse_dir_directives(), parse_dollar_directives(), parse_err_flush(), parse_mic_directives(), parse_open_mp_directives(), parse_openad_directives(), parse_par_directives(), parse_star_directives(), PRINTMSG(), cdir_switch_entry::task, Tok_Class_Dbg_Kwd, Tok_Class_Dir_Kwd, Tok_Class_Mic_Kwd, Tok_Class_Open_Mp_Dir_Kwd, Tok_Class_OpenAD_Dir_Kwd, Tok_Class_SGI_Dir_Kwd, Tok_Mic_Cncall, Tok_Mic_Permutation, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, and Warning.
void parse_do_stmt | ( | void | ) |
Definition at line 1300 of file p_ctl_flow.c.
References AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_REFERENCED, AT_SIGN, AT_Tbl_Idx, ATD_CLASS, ATD_FUNC_IDX, ATL_CLASS, ATL_DEBUG_CLASS, ATL_DEF_STMT_IDX, BLK_DO_TYPE, BLK_DO_VAR_COL_NUM, BLK_DO_VAR_FLD, BLK_DO_VAR_IDX, BLK_DO_VAR_LINE_NUM, BLK_DO_VAR_OPND, BLK_ERR, BLK_IS_PARALLEL_REGION, BLK_LABEL, BLK_LOOP_NUM, BLK_SKIP_LBL_IDX, blk_stk_idx, BLK_TOP_LBL_IDX, BLK_TYPE, build_fwd_ref_entry(), cdir_switches, Ch_Class_Digit, Ch_Class_Letter, check_mp_dir_nesting(), CIF_Do_Labeled_Infinite_Stmt, CIF_Do_Labeled_Iterative_Stmt, CIF_Do_Labeled_While_Stmt, CIF_Do_Loop_Label, CIF_Do_Unlabeled_Infinite_Stmt, CIF_Do_Unlabeled_Iterative_Stmt, CIF_Do_Unlabeled_While_Stmt, cif_flags, cif_stmt_type_rec(), cif_usage_rec(), cmd_line_flags, CN_INTEGER_ONE_IDX, CN_Tbl_Idx, COMMA, COPY_OPND, CURR_BLK_ERR, CURR_BLK_FIRST_SH_IDX, CURR_BLK_LABEL, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, cdir_switch_entry::dir_nest_check_sh_idx, Do_Blk, Do_Infinite_Stmt, Do_Iterative_Stmt, cdir_switch_entry::do_omp_sh_idx, Do_Parallel_Blk, Do_Ref, Do_While_Stmt, cdir_switch_entry::doacross_sh_idx, Doall_Blk, cdir_switch_entry::doall_region, cdir_switch_entry::doall_sh_idx, DOLLAR, cdir_switch_entry::dopar_sh_idx, EOS, EOS_STR, EQUAL, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, FREE_IR_LIST_NODE, Func_Entry, Func_Exit, Function_Result, gen_loop_lbl_name(), idx, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, Infinite_Loop, Internal, IR_COL_NUM, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LIST_CNT_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), Iterative_Loop, LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Label, last_unlbld_loop_line, last_unlbld_loop_num, Lbl_Construct, Ldbg_User_Lbl, LINK_TO_PARENT_BLK, LN_DEF_LOC, Loop_Info_Opr, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, MAX_BLK_LOOP_NUM, MISC_RECS, Module_Proc_Blk, MP_DIR_NEST_IDX, NEXT_LA_CH, NO_Tbl_Idx, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, null_opnd, Open_Mp_Do_Blk, OPEN_MP_NEST_IDX, Open_Mp_Parallel_Do_Blk, Open_Mp_Section_Blk, OPND_IDX, cdir_switch_entry::paralleldo_omp_sh_idx, cdir_switch_entry::paralleldo_sh_idx, parse_deref(), parse_err_flush(), parse_expr(), cdir_switch_entry::pdo_sh_idx, PRINTMSG(), process_blockable_dir(), process_interchange_dir(), PUSH_BLK_STK, Referenced, reset_lex(), RPAREN, SGI_Doacross_Blk, SGI_Parallel_Do_Blk, SGI_Pdo_Blk, SGI_Region_Blk, SH_ERR_FLG, SH_IR_IDX, SH_STMT_TYPE, cdir_switch_entry::shortloop, cdir_switch_entry::shortloop128, Skip_Lbl, srch_sym_tbl(), statement_number, stmt_construct_idx, stmt_start_col, stmt_start_line, stmt_type, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Label, Tok_Kwd_While, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STMT_NUM, TOKEN_STR, Top_Lbl, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, USCORE, Wait_Blk, While_Loop, and XREF_RECS.
void parse_elemental_stmt | ( | void | ) |
Definition at line 1237 of file p_dcl_pu.c.
References AT_OBJ_CLASS, AT_WORK_IDX, ATP_ELEMENTAL, CLEAR_ATTR_NTRY, Func_Entry, Func_Exit, NULL, parse_prefix_spec(), Pgm_Unit, TRACE, and TRUE.
void parse_else_stmt | ( | void | ) |
Definition at line 2222 of file p_ctl_flow.c.
References AT_DEF_COLUMN, AT_DEF_LINE, AT_DEFINED, AT_NAME_LEN, AT_OBJ_NAME_LONG, AT_REFERENCED, AT_Tbl_Idx, ATL_DEF_STMT_IDX, Before, BLK_FIRST_SH_IDX, BLK_LABEL, blk_match_err(), BLK_NAME, blk_stk_idx, BLK_TYPE, Br_True_Opr, Br_Uncond_Opr, check_for_vestigial_task_blks(), CIF_Construct_Name_Reference, CIF_Else_If_Stmt, CIF_Else_Stmt, CIF_Elsewhere_Stmt, cif_flags, cif_stmt_type_rec(), cif_usage_rec(), compare_names(), Continue_Stmt, COPY_OPND, CURR_BLK, CURR_BLK_FIRST_SH_IDX, CURR_BLK_LABEL, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Else_If_Stmt, Else_Opr, Else_Stmt, Else_Where_Mask_Opr, Else_Where_Mask_Stmt, Else_Where_Opr, Else_Where_Stmt, EOS, EOS_STR, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Func_Entry, Func_Exit, gen_internal_lbl(), gen_sh(), Goto_Stmt, If_Blk, If_Else_Blk, If_Else_If_Blk, If_Then_Blk, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_PREV_LIST_IDX, IL_Tbl_Idx, Internal, IR_COL_NUM, IR_COL_NUM_L, IR_COL_NUM_R, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LINE_NUM_R, IR_LIST_CNT_R, IR_OPND_L, IR_OPR, IR_TYPE_IDX, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Label_Opr, LINK_TO_PARENT_BLK, LOGICAL_DEFAULT_TYPE, LPAREN, match_blk(), matched_specific_token(), MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_expr(), POP_BLK_STK, PRINTMSG(), PUSH_BLK_STK, Referenced, reset_lex(), RPAREN, SH_COL_NUM, SH_ERR_FLG, SH_GLB_LINE, SH_IR_IDX, SH_PARENT_BLK_IDX, SH_PREV_IDX, SH_STMT_TYPE, SH_Tbl_Idx, statement_number, STMT_LEGAL_IN_BLK, stmt_start_col, stmt_start_line, stmt_type, Tok_Class_Id, Tok_Class_Keyword, Tok_Id, Tok_Kwd_If, Tok_Kwd_Then, Tok_Kwd_Where, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TOKEN_STMT_NUM, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, Where_Else_Blk, Where_Else_Mask_Blk, Where_Then_Blk, and XREF_RECS.
void parse_encode_stmt | ( | void | ) |
Definition at line 741 of file p_io.c.
References AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATL_CLASS, build_fwd_ref_entry(), Ch_Class_Digit, Character, cif_flags, CIF_Label_Referenced_As_Format, cif_usage_rec(), CN_Tbl_Idx, CN_TYPE_IDX, COMMA, COPY_OPND, create_format_tmp(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, digit_is_format_label(), EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_Comma, Find_EOS, Find_Rparen, format_cn_idx, Format_Ref, Func_Entry, Func_Exit, idx, ignore_trailing_chars, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_VALUE, Label, Lbl_Format, cc_stmt_buf_line_entry::line, LN_DEF_LOC, LPAREN, mark_attr_defined(), matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, parse_deref(), parse_err_flush(), parse_expr(), parse_io_list(), pre_parse_format(), PRINTMSG(), RPAREN, set_format_start_idx(), SH_IR_IDX, srch_sym_tbl(), Tok_Class_Id, Tok_Class_Label, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_TYPE, TYPELESS_DEFAULT_TYPE, Write_Formatted_Opr, and XREF_RECS.
void parse_end_stmt | ( | void | ) |
Definition at line 294 of file p_end.c.
References Ansi, AT_NAME_LEN, AT_OBJ_NAME_LONG, AT_Tbl_Idx, ATP_PGM_UNIT, blk_desc_str(), BLK_LABEL, blk_match_err(), blk_stk_idx, BLK_TYPE, Blockdata_Blk, Ch_Class_EOF, check_for_vestigial_task_blks(), CIF_Construct_Name_Reference, cif_end_unit_column, cif_end_unit_line, cif_flags, cif_pgm_unit_start_line, cif_usage_rec(), compare_names(), Contains_Blk, CURR_BLK, CURR_BLK_ERR, CURR_BLK_NAME, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, Declaration_Stmt_Cat, Derived_Type_Blk, Do_Blk, End_Blockdata_Stmt, end_blocks, end_contains(), End_Do_Stmt, End_Forall_Stmt, End_Function_Stmt, End_If_Stmt, End_Interface_Stmt, end_labeled_do(), End_Module_Stmt, end_of_contains, End_Program_Stmt, End_Select_Stmt, End_Subroutine_Stmt, End_Type_Stmt, End_Where_Stmt, Endfile_Stmt, EOPU_encountered, EOS, EOS_STR, Error, EXIT, FALSE, Find_EOS, finish_cdir_id(), Forall_Blk, Func_Entry, Func_Exit, Function, Function_Blk, gen_attr_and_IR_for_lbl(), If_Blk, if_stmt_lbl_idx, Interface_Blk, Interface_Body_Blk, Internal, issue_deferred_msgs(), LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, matched_specific_token(), MATCHED_TOKEN_CLASS, Module_Blk, Module_Proc_Blk, move_blk_to_end(), NEXT_LA_CH, NULL, NULL_IDX, parse_endfile_stmt(), parse_err_flush(), pop_and_err_blk_stk(), POP_BLK_STK, PRINTMSG(), Program_Blk, reset_lex(), SCP_IN_ERR, Select_Blk, SH_ERR_FLG, SH_P2_SKIP_ME, SH_STMT_TYPE, STMT_CANT_BE_IN_BLK, stmt_label_idx, stmt_line_idx, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Subroutine, Subroutine_Blk, Tok_Class_Id, Tok_Class_Keyword, Tok_Id, Tok_Kwd_Block, Tok_Kwd_CoFunction, Tok_Kwd_CoSubroutine, Tok_Kwd_Data, Tok_Kwd_Do, Tok_Kwd_File, Tok_Kwd_Forall, Tok_Kwd_Function, Tok_Kwd_If, Tok_Kwd_Interface, Tok_Kwd_Module, Tok_Kwd_Program, Tok_Kwd_Select, Tok_Kwd_Subroutine, Tok_Kwd_Type, Tok_Kwd_Where, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_ID, TOKEN_LEN, TOKEN_LINE, TOKEN_STMT_NUM, TOKEN_STR, TRACE, TRUE, Where_Then_Blk, and XREF_RECS.
void parse_endfile_stmt | ( | void | ) |
Definition at line 979 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATP_ELEMENTAL, ATP_PURE, Call_Opr, CIF_Endfile_Stmt, cif_flags, cif_stmt_type_rec(), COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, Endfile, Endfile_Attr_Idx, ENDFILE_LIB_ENTRY, ENDFILE_NAME_LEN, EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Func_Entry, Func_Exit, glb_tbl_idx, IL_ARG_DESC_VARIANT, IL_NEXT_LIST_IDX, IL_OPND, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, matched_specific_token(), MISC_RECS, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_expr(), parse_io_control_list(), PRINTMSG(), SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, statement_number, stmt_type, stmt_type_str, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
Referenced by parse_end_stmt().
void parse_entry_stmt | ( | void | ) |
Definition at line 189 of file p_dcl_pu.c.
References After, AL_ATTR_IDX, AL_NEXT_IDX, AT_DCL_ERR, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATD_CLASS, ATD_FUNC_IDX, ATI_PROC_IDX, ATP_ALT_ENTRY, ATP_ARGCHCK_ENTRY, ATP_ELEMENTAL, ATP_ENTRY_LABEL_SH_IDX, ATP_EXPL_ITRFC, ATP_EXT_NAME_IDX, ATP_EXT_NAME_LEN, ATP_FIRST_SH_IDX, ATP_MAY_INLINE, ATP_PGM_UNIT, ATP_PROC, ATP_PURE, ATP_RECURSIVE, ATP_RSLT_IDX, ATP_SCP_ALIVE, ATP_SCP_IDX, attr_aux_tbl_idx, attr_tbl_idx, Br_Uncond_Opr, chg_data_obj_to_pgm_unit(), cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), cmd_line_flags, Continue_Stmt, CREATE_ERR_ATTR, CURR_BLK, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, Entry_Opr, Entry_Stmt, EOS, EOS_STR, Error, FALSE, Find_EOS, Find_Lparen, fnd_semantic_err(), Func_Entry, Func_Exit, Function, Function_Result, gen_end_prologue_debug_label(), gen_internal_lbl(), gen_sh(), Goto_Stmt, Implicit_None_Stmt_Cat, Interface, Interface_Body_Blk, IR_COL_NUM, IR_COL_NUM_L, IR_COL_NUM_R, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LINE_NUM_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, Label_Opr, Limit, LN_ATTR_IDX, LN_DEF_LOC, LN_NAME_IDX, LPAREN, MAKE_EXTERNAL_NAME, matched_specific_token(), MATCHED_TOKEN_CLASS, MAX_ALTERNATE_ENTRIES, Module_Proc, NEXT_LA_CH, NTR_ATTR_LIST_TBL, ntr_host_in_sym_tbl(), NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Obj_Entry_Func, Obj_Entry_Subr, Obj_Module_Func, Obj_Module_Subr, parse_dummy_args(), parse_err_flush(), Pgm_Unit, PRINTMSG(), cmd_line_flags_entry::runtime_arg_entry, cmd_line_flags_entry::runtime_argument, SCP_ALT_ENTRY_CNT, SCP_ATTR_IDX, SCP_ENTRY_IDX, SCP_PARENT_IDX, set_function_rslt(), SH_COMPILER_GEN, SH_IR_IDX, SH_STMT_TYPE, srch_host_sym_tbl(), srch_sym_tbl(), STMT_CANT_BE_IN_BLK, stmt_type, Subroutine, Tok_Class_Id, Tok_Class_Keyword, Tok_Kwd_Result, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
void parse_equivalence_stmt | ( | void | ) |
Definition at line 1622 of file p_dcls.c.
References AL_EQ_IDX, AL_IDX_IS_EQ, AL_NEXT_IDX, AT_ATTR_LINK, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, ATD_ARRAY_IDX, ATD_CLASS, ATD_DCL_EQUIV, ATD_EQUIV, ATD_EQUIV_LIST, ATD_SEEN_OUTSIDE_IMP_DO, Char_Rslt_Bound_Ref, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), cmd_line_flags, cmd_line_flags_entry::co_array_fortran, COLON, COMMA, COPY_OPND, CURR_BLK, curr_scp_idx, curr_stmt_category, Data_Obj, Declaration_Stmt_Cat, EOS, EOS_STR, EQ_ATTR_IDX, EQ_COLUMN_NUM, EQ_GRP_END_IDX, EQ_GRP_IDX, EQ_LINE_NUM, EQ_NEXT_EQUIV_GRP, EQ_NEXT_EQUIV_OBJ, EQ_OPND_FLD, EQ_OPND_IDX, EQ_SUBSTRINGED, Equivalence_Stmt, Error, EXIT, expr_mode, FALSE, Find_Comma_Rparen, Find_EOS, fnd_semantic_err(), Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, Initialization_Expr, IR_COL_NUM, IR_FLD_R, IR_IDX_R, IR_LINE_NUM, IR_LIST_CNT_R, IR_OPND_L, IR_OPR, IR_Tbl_Idx, is_substring_ref(), iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LBRKT, LN_DEF_LOC, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_ATTR_LIST_TBL, NTR_EQ_TBL, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Obj_Equiv, OPND_COL_NUM, OPND_FLD, OPND_IDX, OPND_LINE_NUM, parse_err_flush(), parse_expr(), parse_pe_array_spec(), PRINTMSG(), Regular_Expr, RPAREN, SCP_FIRST_EQUIV_GRP, SET_IMPL_TYPE, srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, Subscript_Opr, Substring_Opr, Tok_Class_Id, Tok_Class_Punct, Tok_Punct_Rparen, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, Variable, and XREF_RECS.
boolean parse_err_flush | ( | search_type | , |
char * | |||
) |
Definition at line 174 of file p_utils.c.
References AT_SIGN, Ch_Class_Symbol, COLON, colon_recovery, COMMA, DOLLAR, EOS, Error, FALSE, Find_Comma, Find_Comma_Rparen, Find_Comma_Slash, Find_EOS, Find_Expr_End, Find_Lparen, Find_Matching_Rparen, Find_None, Find_Ref_End, Find_Rparen, flush_LA_to_EOS(), flush_LA_to_symbol(), Func_Entry, Func_Exit, la_ch, LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_TO_ERR_STR, LA_CH_VALUE, LPAREN, matched_specific_token(), NULL, PERCENT, PRINTMSG(), reset_lex(), RPAREN, search_str, SLASH, Tok_Class_Punct, Tok_Punct_Colon, Tok_Punct_Colon_Colon, Tok_Punct_Rbrkt, token, TOKEN_BUF_IDX, TOKEN_STMT_NUM, TRACE, TRUE, and USCORE.
Referenced by create_kwd_text(), parse_access_stmt(), parse_actual_arg_spec(), parse_allocate_stmt(), parse_array_spec(), parse_assert_directive(), parse_assign_stmt(), parse_assignment_stmt(), parse_attr_spec(), parse_attrs(), parse_auxiliary_dir(), parse_backspace_stmt(), parse_block_stmt(), parse_buffer_stmt(), parse_cache_align_name_list(), parse_cache_bypass_dir(), parse_cache_noalloc(), parse_call_stmt(), parse_case_stmt(), parse_close_stmt(), parse_common_dirs(), parse_common_stmt(), parse_contains_stmt(), parse_continue_stmt(), parse_copy_assumed_shape_dir(), parse_cpnt_dcl_stmt(), parse_cycle_stmt(), parse_data_imp_do(), parse_data_stmt(), parse_deallocate_stmt(), parse_decode_stmt(), parse_deref(), parse_derived_type_stmt(), parse_dir_directives(), parse_dir_var_list(), parse_directive_stmt(), parse_distribution_dir(), parse_do_stmt(), parse_doall_cmic(), parse_dollar_directives(), parse_doparallel_cmic(), parse_dummy_args(), parse_else_stmt(), parse_encode_stmt(), parse_end_stmt(), parse_endfile_stmt(), parse_entry_stmt(), parse_equivalence_stmt(), parse_exit_stmt(), parse_fill_align_symbol(), parse_forall(), parse_format_stmt(), parse_function_stmt(), parse_generic_spec(), parse_goto_stmt(), parse_id_directive(), parse_if_stmt(), parse_ignore_tkr(), parse_imp_do(), parse_implicit_stmt(), parse_initializer(), parse_inline_always_never(), parse_inquire_stmt(), parse_intent_spec(), parse_intent_stmt(), parse_interface_stmt(), parse_io_control_list(), parse_io_list(), parse_label_list(), parse_length_selector(), parse_lhs(), parse_mic_directives(), parse_module_stmt(), parse_mp_directive(), parse_mult_opnd(), parse_name_dir(), parse_namelist_stmt(), parse_nosideeffects_dir(), parse_nullify_stmt(), parse_only_spec(), parse_open_mp_clauses(), parse_open_mp_directives(), parse_open_stmt(), parse_openad_directives(), parse_openad_varlist(), parse_operand(), parse_par_directives(), parse_parallel_cmic(), parse_parameter_stmt(), parse_pe_array_spec(), parse_permutation_mic(), parse_pointer_stmt(), parse_prefetch_ref(), parse_prefix_spec(), parse_print_stmt(), parse_prog_unit(), parse_program_stmt(), parse_read_stmt(), parse_redistribute_dir(), parse_reference_list(), parse_return_stmt(), parse_rewind_stmt(), parse_select_stmt(), parse_sequence_stmt(), parse_sgi_dir_inline(), parse_slash_common_dirs(), parse_star_dir_directives(), parse_star_directives(), parse_stmt_func_stmt(), parse_stop_pause_stmt(), parse_subroutine_stmt(), parse_symmetric_dir(), parse_type_dcl_stmt(), parse_type_spec(), parse_typed_function_stmt(), parse_use_stmt(), parse_var_common_list(), parse_var_name_list(), parse_vfunction_dir(), parse_where_stmt(), parse_write_stmt(), and set_function_rslt().
void parse_exit_stmt | ( | void | ) |
Definition at line 2787 of file p_ctl_flow.c.
References AT_Tbl_Idx, BLK_EXIT_STMT, BLK_NAME, Br_Uncond_Opr, CIF_Construct_Name_Reference, cif_flags, cif_usage_rec(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Do_Blk, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, Exit_Lbl, FALSE, Find_EOS, Func_Entry, Func_Exit, gen_loop_lbl_name(), IR_COL_NUM, IR_COL_NUM_R, IR_FLD_R, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, match_blk(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), PRINTMSG(), SH_IR_IDX, SH_P2_SKIP_ME, stmt_start_col, stmt_start_line, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
boolean parse_expr | ( | opnd_type * | ) |
Definition at line 251 of file p_asg_expr.c.
References AT_ATTR_LINK, AT_MODULE_IDX, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, COPY_OPND, Defined_Bin_Opr, Error, FALSE, Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, INIT_OPND_TYPE, Interface, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPR, IR_Tbl_Idx, ntr_host_in_sym_tbl(), NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, OPND_FLD, OPND_IDX, parse_level_5(), PRINTMSG(), srch_host_sym_tbl(), srch_sym_tbl(), Tok_Op_Defined, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, and TRUE.
Referenced by create_kwd_text(), paren_grp_is_cplx_const(), parse_actual_arg_spec(), parse_assignment_stmt(), parse_backspace_stmt(), parse_buffer_stmt(), parse_case_stmt(), parse_cpnt_dcl_stmt(), parse_data_imp_do(), parse_decode_stmt(), parse_deref(), parse_dir_directives(), parse_distribution_dir(), parse_do_stmt(), parse_doall_cmic(), parse_dollar_directives(), parse_doparallel_cmic(), parse_else_stmt(), parse_encode_stmt(), parse_endfile_stmt(), parse_equivalence_stmt(), parse_fill_align_symbol(), parse_forall(), parse_goto_stmt(), parse_id_directive(), parse_if_stmt(), parse_imp_do(), parse_int_or_star_list(), parse_int_spec_expr(), parse_io_control_list(), parse_io_list(), parse_lhs(), parse_mic_directives(), parse_mp_directive(), parse_open_mp_clauses(), parse_open_mp_directives(), parse_operand(), parse_parallel_cmic(), parse_parameter_stmt(), parse_prefetch_ref(), parse_print_stmt(), parse_read_stmt(), parse_redistribute_dir(), parse_return_stmt(), parse_rewind_stmt(), parse_select_stmt(), parse_star_dir_directives(), parse_star_directives(), parse_stmt_func_stmt(), parse_stop_pause_stmt(), parse_type_dcl_stmt(), parse_where_stmt(), and parse_write_stmt().
void parse_external_stmt | ( | void | ) |
Definition at line 553 of file p_dcl_attr.c.
References Func_Entry, Func_Exit, merge_external(), NULL, parse_attrs(), and TRACE.
void parse_forall | ( | void | ) |
Definition at line 2874 of file p_ctl_flow.c.
References After, Assignment_Stmt, AT_DCL_ERR, AT_Tbl_Idx, ATL_CLASS, ATL_DEF_STMT_IDX, BLK_FIRST_SH_IDX, blk_stk_idx, BLK_TYPE, CN_INTEGER_ONE_IDX, CN_Tbl_Idx, COLON, COMMA, COPY_OPND, CURR_BLK, CURR_BLK_ERR, CURR_BLK_FIRST_SH_IDX, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, determine_stmt_type(), End_Forall_Stmt, EOS, EQUAL, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Forall_Blk, Forall_Opr, Forall_Stmt, Func_Entry, Func_Exit, gen_sh(), IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, in_action_stmt_of_if_where_or_forall, INCREMENT_STATEMENT_NUMBER, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Lbl_Construct, LPAREN, MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, Null_Stmt, OPND_FLD, parse_deref(), parse_err_flush(), parse_expr(), PRINTMSG(), PUSH_BLK_STK, reset_lex(), RPAREN, SH_COL_NUM, SH_ERR_FLG, SH_GLB_LINE, SH_IR_IDX, SH_PARENT_BLK_IDX, SH_STMT_TYPE, SH_Tbl_Idx, stmt_construct_idx, stmt_parsers, stmt_start_col, stmt_start_line, stmt_type, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Op, Tok_Class_Opnd, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STMT_NUM, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_format_stmt | ( | void | ) |
Definition at line 1091 of file p_io.c.
References AT_NAME_LEN, ATL_CLASS, ATL_FORMAT_TMP, ATL_PP_FORMAT_TMP, create_format_tmp(), CURR_BLK_NO_EXEC, curr_stmt_category, EOS, Error, EXIT, Find_EOS, format_cn_idx, Func_Entry, Func_Exit, Implicit_None_Stmt_Cat, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Lbl_Format, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NULL, NULL_IDX, parse_err_flush(), pre_parse_format(), PRINTMSG(), set_format_start_idx(), stmt_label_idx, Tok_Class_Format_Str, Tok_Class_Punct, Tok_EOS, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_CONST_TBL_IDX, TOKEN_LINE, and TRACE.
void parse_function_stmt | ( | void | ) |
Definition at line 614 of file p_dcl_pu.c.
References AT_DCL_ERR, ATP_ARGCHCK_ENTRY, ATP_COARRAY_CONCURRENT, ATP_PROC, cmd_line_flags, CURR_BLK, curr_scp_idx, curr_stmt_category, EOS, EOS_STR, Extern_Proc, FALSE, Find_EOS, Find_Lparen, Func_Entry, Func_Exit, Function, Function_Blk, Init_Stmt_Cat, Interface_Body_Blk, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, main_token, MATCHED_TOKEN_CLASS, NEXT_LA_CH, NULL, parse_dummy_args(), parse_err_flush(), cmd_line_flags_entry::runtime_arg_entry, cmd_line_flags_entry::runtime_argument, SCP_IN_ERR, SCP_PARENT_IDX, set_function_rslt(), start_new_prog_unit(), start_new_scp(), start_new_subpgm(), stmt_start_col, stmt_start_line, id_str_entry::string, Sub_Func_Stmt_Cat, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LINE, token_entry::token_str, TRACE, and TRUE.
Referenced by parse_prefix_spec().
boolean parse_generic_spec | ( | void | ) |
Definition at line 404 of file p_dcl_util.c.
References EQUAL, Error, FALSE, Find_Comma, Find_Rparen, Func_Entry, Func_Exit, LA_CH_VALUE, LPAREN, MATCHED_TOKEN_CLASS, NEXT_LA_CH, NULL, parse_err_flush(), PRINTMSG(), reset_lex(), RPAREN, SLASH, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Op, Tok_Const_False, Tok_Const_True, Tok_Id, Tok_Kwd_Assignment, Tok_Kwd_Operator, Tok_Op_Assign, Tok_Op_Deref, Tok_Op_Div, Tok_Op_Eq, Tok_Op_Ge, Tok_Op_Gt, Tok_Op_Le, Tok_Op_Lg, Tok_Op_Lt, Tok_Op_Ne, Tok_Op_Ptr_Assign, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STMT_NUM, TOKEN_STR, TRACE, and TRUE.
Referenced by parse_access_stmt(), parse_interface_stmt(), and parse_only_spec().
void parse_goto_stmt | ( | void | ) |
Definition at line 3357 of file p_ctl_flow.c.
References Ansi, AT_DCL_ERR, AT_REFERENCED, AT_Tbl_Idx, Br_Asg_Opr, Br_Index_Opr, Br_Uncond_Opr, Ch_Class_Digit, Ch_Class_EOS, check_label_ref(), cif_flags, CIF_Go_To_Assigned_Stmt, CIF_Go_To_Computed_Stmt, CIF_Go_To_Unconditional_Stmt, cif_stmt_type_rec(), COMMA, COPY_OPND, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Func_Entry, Func_Exit, INTEGER_DEFAULT_TYPE, IR_COL_NUM, IR_COL_NUM_L, IR_COL_NUM_R, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LINE_NUM_R, IR_OPND_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, ntr_host_in_sym_tbl(), NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, parse_err_flush(), parse_expr(), parse_label_list(), PRINTMSG(), Referenced, SET_IMPL_TYPE, SH_ERR_FLG, SH_IR_IDX, srch_host_sym_tbl(), srch_sym_tbl(), statement_number, stmt_start_col, stmt_start_line, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Label, Tok_Kwd_To, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_if_stmt | ( | void | ) |
Definition at line 3645 of file p_ctl_flow.c.
References After, Allocatable_Stmt, Allocate_Stmt, Ansi, Arith_If_Stmt, Assign_Stmt, Assignment_Stmt, AT_DCL_ERR, AT_REFERENCED, AT_Tbl_Idx, ATL_CLASS, ATL_DEF_STMT_IDX, Automatic_Base_Calc_Stmt, Automatic_Base_Size_Stmt, Automatic_Stmt, Backspace_Stmt, Before, blk_stk, blk_stk_idx, Blockdata_Stmt, Br_Aif_Opr, Br_True_Opr, Buffer_Stmt, Call_Stmt, Case_Stmt, Ch_Class_Digit, Ch_Class_Letter, check_label_ref(), cif_flags, CIF_If_Arithmetic_Stmt, CIF_If_Construct, CIF_If_Logical_Stmt, cif_stmt_type_rec(), Close_Stmt, COMMA, Comment, Common_Stmt, Construct_Def, Contains_Stmt, Continue_Stmt, COPY_OPND, Cpnt_Decl_Stmt, CURR_BLK, CURR_BLK_ERR, CURR_BLK_FIRST_SH_IDX, CURR_BLK_LABEL, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, Cycle_Stmt, Data_Stmt, Deallocate_Stmt, Decode_Stmt, Derived_Type_Stmt, determine_stmt_type(), Dimension_Stmt, Directive_Stmt, Do_Infinite_Stmt, Do_Iterative_Stmt, Do_While_Stmt, Elemental_Stmt, Else_If_Stmt, Else_Stmt, Else_Where_Stmt, Encode_Stmt, End_Blockdata_Stmt, End_Do_Parallel_Stmt, End_Do_Stmt, End_Forall_Stmt, End_Function_Stmt, End_Guard_Stmt, End_If_Stmt, End_Interface_Stmt, End_Module_Stmt, End_Parallel_Case_Stmt, End_Parallel_Stmt, End_Program_Stmt, End_Select_Stmt, End_Stmt, End_Subroutine_Stmt, End_Type_Stmt, End_Where_Stmt, Endfile_Stmt, Entry_Stmt, EOS, EOS_STR, EQUAL, Equivalence_Stmt, Error, Executable_Stmt_Cat, EXIT, Exit_Stmt, External_Stmt, FALSE, Find_EOS, Find_Rparen, Forall_Cstrct_Stmt, Forall_Stmt, Format_Stmt, Func_Entry, Func_Exit, Function_Stmt, gen_if_ir(), gen_internal_lbl(), gen_sh(), Goto_Stmt, If_Blk, If_Cstrct_Stmt, If_Stmt, if_stmt_lbl_idx, If_Then_Blk, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_PREV_LIST_IDX, IL_Tbl_Idx, Implicit_None_Stmt, Implicit_Stmt, in_action_stmt_of_if_where_or_forall, INCREMENT_STATEMENT_NUMBER, Inquire_Stmt, INTEGER_DEFAULT_TYPE, Intent_Stmt, Interface_Stmt, Internal, Intrinsic_Stmt, IR_COL_NUM, IR_COL_NUM_R, IR_FLD_R, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_R, IR_LIST_CNT_R, IR_OPND_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Label_Def, Lbl_Construct, LINK_TO_PARENT_BLK, LOGICAL_DEFAULT_TYPE, LPAREN, MATCHED_TOKEN_CLASS, MISC_RECS, Module_Proc_Stmt, Module_Stmt, Namelist_Stmt, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, Null_Stmt, Nullify_Stmt, Open_MP_End_Critical_Stmt, Open_MP_End_Do_Stmt, Open_MP_End_Master_Stmt, Open_MP_End_Ordered_Stmt, Open_MP_End_Parallel_Do_Stmt, Open_MP_End_Parallel_Sections_Stmt, Open_MP_End_Parallel_Stmt, Open_MP_End_Section_Stmt, Open_MP_End_Sections_Stmt, Open_MP_End_Single_Stmt, Open_MP_Section_Stmt, Open_Stmt, Optional_Stmt, Outmoded_If_Stmt, Parallel_Case_Stmt, Parameter_Stmt, parse_err_flush(), parse_expr(), Pause_Stmt, PERCENT, Pointer_Stmt, POP_BLK_STK, Print_Stmt, PRINTMSG(), Private_Stmt, Program_Stmt, Public_Stmt, Pure_Stmt, PUSH_BLK_STK, Read_Stmt, Recursive_Stmt, Referenced, reset_lex(), Return_Stmt, Rewind_Stmt, RPAREN, Save_Stmt, Select_Stmt, Sequence_Stmt, SGI_End_Critical_Section_Stmt, SGI_End_Parallel_Stmt, SGI_End_Pdo_Stmt, SGI_End_Psection_Stmt, SGI_End_Single_Process_Stmt, SGI_Region_End_Stmt, SGI_Section_Stmt, SH_ACTION_STMT, SH_ERR_FLG, SH_IR_IDX, SH_PREV_IDX, SH_STMT_TYPE, Statement_Num_Stmt, statement_number, stmt_construct_idx, Stmt_Func_Stmt, stmt_label_idx, stmt_parsers, stmt_start_col, stmt_start_line, stmt_type, Stop_Stmt, Subroutine_Stmt, Target_Stmt, Task_Common_Stmt, Then_Stmt, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Label, Tok_Kwd_Then, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LINE, TOKEN_STMT_NUM, TRACE, TRUE, Type_Decl_Stmt, Type_Init_Stmt, USCORE, Use_Stmt, Volatile_Stmt, Where_Cstrct_Stmt, Where_Stmt, Where_Then_Blk, and Write_Stmt.
boolean parse_imp_do | ( | opnd_type * | ) |
Definition at line 2092 of file p_utils.c.
References AT_DEF_COLUMN, AT_DEF_LINE, AT_OBJ_CLASS, AT_Tbl_Idx, ATD_FIRST_SEEN_IL_IDX, ATD_SEEN_AS_LCV, ATD_SEEN_IN_IMP_DO, COMMA, COPY_OPND, Data_Obj, Data_Stmt, Decode_Stmt, EOS, EQUAL, Error, EXIT, FALSE, Find_EOS, find_opnd_line_and_column(), Find_Rparen, FREE_IR_LIST_NODE, Func_Entry, Func_Exit, IL_COL_NUM, IL_FLD, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, Implied_Do_Opr, in_implied_do, Internal, IR_COL_NUM, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LIST_CNT_L, IR_LIST_CNT_R, IR_OPR, IR_Tbl_Idx, IR_TYPE_IDX, is_implied_do(), LA_CH_BUF_IDX, LA_CH_COLUMN, LA_CH_LINE, LA_CH_STMT_NUM, LA_CH_VALUE, LPAREN, mark_attr_defined(), next_char, NEXT_LA_CH, next_tok_is_paren_slash(), NO_Tbl_Idx, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, OPND_FLD, OPND_IDX, paren_grp_is_cplx_const(), parse_err_flush(), parse_expr(), parse_imp_do(), parse_operand_insert, PRINTMSG(), Read_Stmt, reset_lex(), RPAREN, scan_thru_close_paren(), stmt_type, strcpy, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
Referenced by parse_imp_do(), and parse_io_list().
void parse_implicit_stmt | ( | void | ) |
Definition at line 1958 of file p_dcls.c.
References AL_ATTR_IDX, AL_NEXT_IDX, Ansi, Assumed_Size_Char, AT_ATTR_LINK, AT_USE_ASSOCIATED, AT_WORK_IDX, ATD_TYPE_IDX, ch_after_paren_grp(), Character, cif_flags, CIF_Implicit_None_Stmt, CIF_Implicit_Stmt, cif_stmt_type_rec(), COMMA, CURR_BLK, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, DASH, EOS, EOS_STR, Error, EXIT, FALSE, Find_Comma, Find_Comma_Rparen, Find_EOS, Func_Entry, Func_Exit, idx, IM_SET, IM_STORAGE, IM_TYPE_IDX, Impl_Automatic_Storage, Impl_Default_Storage, IMPL_IDX, Impl_Static_Storage, Implicit_None_Stmt, Implicit_None_Stmt_Cat, Implicit_Stmt, Implicit_Stmt_Cat, iss_blk_stk_err(), LA_CH_VALUE, LN_ATTR_IDX, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, NULL, NULL_IDX, parse_err_flush(), parse_type_spec(), PRINTMSG(), retype_attr(), RPAREN, SCP_ATTR_LIST, SCP_IMPL_NONE, SCP_LN_FW_IDX, SCP_LN_LW_IDX, SH_STMT_TYPE, statement_number, STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, stmt_type, Tok_Class_Id, Tok_Class_Keyword, Tok_Kwd_Automatic, Tok_Kwd_None, Tok_Kwd_Static, Tok_Kwd_Type, Tok_Kwd_Undefined, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_CHAR_CLASS, and TYP_TYPE.
void parse_inquire_stmt | ( | void | ) |
Definition at line 1324 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATP_ELEMENTAL, ATP_PURE, Call_Opr, COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, EQUAL, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Find_Rparen, Func_Entry, Func_Exit, glb_tbl_idx, IL_OPND, IL_Tbl_Idx, Inquire, Inquire_Attr_Idx, Inquire_Iolength_Opr, INQUIRE_LIB_ENTRY, INQUIRE_NAME_LEN, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_STMT_NUM, LA_CH_VALUE, LPAREN, mark_attr_defined(), matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_deref(), parse_err_flush(), parse_io_control_list(), parse_io_list(), PRINTMSG(), reset_lex(), RPAREN, SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, stmt_type, stmt_type_str, Tok_Class_Id, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
intent_type parse_intent_spec | ( | void | ) |
Definition at line 562 of file p_dcl_util.c.
References Find_Rparen, Func_Entry, Func_Exit, Intent_In, Intent_Inout, Intent_Out, Intent_Unseen, LA_CH_VALUE, LPAREN, matched_specific_token(), NEXT_LA_CH, NULL, parse_err_flush(), RPAREN, Tok_Class_Keyword, Tok_Class_Punct, Tok_Kwd_In, Tok_Kwd_Out, Tok_Punct_Rparen, and TRACE.
Referenced by parse_attr_spec(), and parse_intent_stmt().
void parse_intent_stmt | ( | void | ) |
Definition at line 582 of file p_dcl_attr.c.
References cif_flags, CIF_Intent_In_Stmt, CIF_Intent_Inout_Stmt, CIF_Intent_Out_Stmt, cif_stmt_type_rec(), colon_recovery, FALSE, Find_EOS, Func_Entry, Func_Exit, Intent_In, Intent_Out, Intent_Unseen, LA_CH_VALUE, LPAREN, merge_intent(), MISC_RECS, new_intent, NEXT_LA_CH, NULL, parse_attrs(), parse_err_flush(), parse_intent_spec(), statement_number, TRACE, and TRUE.
void parse_interface_stmt | ( | void | ) |
Definition at line 2372 of file p_dcls.c.
References AT_DCL_ERR, AT_MODULE_IDX, AT_OBJ_CLASS, ATI_CIF_SCOPE_ID, ATI_UNNAMED_INTERFACE, BASIC_RECS, BLK_CIF_SCOPE_ID, blk_stk_idx, BLK_UNNAMED_INTERFACE, cif_begin_scope_rec(), cif_flags, CIF_Interface_Assignment_Stmt, CIF_Interface_Explicit_Stmt, CIF_Interface_Generic_Stmt, CIF_Interface_Operator_Stmt, cif_stmt_type_rec(), CREATE_ID, CURR_BLK, CURR_BLK_ERR, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, EOS, EOS_STR, Find_EOS, Func_Entry, Func_Exit, generic_spec_semantics(), Interface, Interface_Blk, Interface_Stmt, iss_blk_stk_err(), LA_CH_VALUE, MISC_RECS, name, NEXT_LA_CH, ntr_local_attr_list(), NULL, NULL_IDX, parse_err_flush(), parse_generic_spec(), PUSH_BLK_STK, statement_number, STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, id_str_entry::string, Sub_Func_Stmt_Cat, Tok_Id, Tok_Op_Assign, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, and TRUE.
void parse_intrinsic_stmt | ( | void | ) |
Definition at line 646 of file p_dcl_attr.c.
References Func_Entry, Func_Exit, merge_intrinsic(), NULL, parse_attrs(), and TRACE.
boolean parse_io_list | ( | opnd_type * | ) |
Definition at line 2318 of file p_io.c.
References COMMA, COPY_OPND, Decode_Stmt, EOS, Find_EOS, Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, is_implied_do(), LA_CH_BUF_IDX, LA_CH_STMT_NUM, LA_CH_VALUE, LPAREN, mark_attr_defined(), next_char, NEXT_LA_CH, next_tok_is_paren_slash(), NTR_IR_LIST_TBL, NULL, NULL_IDX, OPND_FLD, OPND_IDX, OPND_LIST_CNT, paren_grp_is_cplx_const(), parse_err_flush(), parse_expr(), parse_imp_do(), Read_Stmt, reset_lex(), RPAREN, scan_thru_close_paren(), stmt_type, TRACE, and TRUE.
Referenced by parse_decode_stmt(), parse_encode_stmt(), parse_inquire_stmt(), parse_operand(), parse_print_stmt(), parse_read_stmt(), and parse_write_stmt().
void parse_length_selector | ( | int | , |
boolean | , | ||
boolean | |||
) |
Definition at line 741 of file p_dcl_util.c.
References Assumed_Size_Char, AT_DCL_ERR, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, ATD_FLD, ATD_TMP_IDX, Character, CHARACTER_DEFAULT_TYPE, CLEAR_TBL_NTRY, CN_INTEGER_ONE_IDX, CN_Tbl_Idx, Comment, Const_Len_Char, CURR_BLK, Derived_Type_Blk, Error, field_type(), find_attr_in_ir(), Find_None, Find_Rparen, Func_Entry, Func_Exit, IR_Tbl_Idx, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NO_Tbl_Idx, Not_Referenced, NULL, OPND_COL_NUM, OPND_LINE_NUM, parse_err_flush(), parse_int_spec_expr(), PRINTMSG(), reset_lex(), RPAREN, STAR, Tok_Class_Int_Spec, Tok_Class_Keyword, Tok_Class_Punct, Tok_Kwd_Len, Tok_Punct_Eq, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_CONST_TBL_IDX, TOKEN_LINE, TOKEN_STMT_NUM, TRACE, TRUE, TYP_CHAR_CLASS, TYP_FLD, TYP_IDX, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, type_tbl, and Unknown_Char.
Referenced by parse_cpnt_dcl_stmt(), parse_type_dcl_stmt(), and parse_type_spec().
void parse_module_stmt | ( | void | ) |
Definition at line 719 of file p_dcl_pu.c.
References AT_DCL_ERR, AT_DEF_COLUMN, AT_DEF_LINE, AT_ELEMENTAL_INTRIN, AT_IS_INTRIN, AT_MODULE_IDX, AT_NAME_IDX, AT_NAME_LEN, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_PRIVATE, AT_Tbl_Idx, AT_USE_ASSOCIATED, ATI_FIRST_SPECIFIC_IDX, ATI_INTERFACE_CLASS, ATI_PROC_IDX, ATP_MODULE_STR_IDX, ATP_PGM_UNIT, ATP_PROC, ATP_RECURSIVE, ATP_SCP_ALIVE, ATP_SCP_IDX, cmd_line_flags_entry::binary_output, check_global_pgm_unit(), cif_flags, CIF_Module_Procedure_Stmt, CIF_Module_Stmt, cif_stmt_type_rec(), CIF_Symbol_Declaration, cif_usage_rec(), CLEAR_VARIANT_ATTR_INFO, cmd_line_flags, COMMA, COPY_COMMON_ATTR_INFO, CREATE_ERR_ATTR, CREATE_ID, CURR_BLK, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, Data_Init_Blk, EOS, EOS_STR, Error, FALSE, Find_Comma, Find_EOS, fnd_semantic_err(), Func_Entry, Func_Exit, Function, Generic_Function_Interface, Generic_Subroutine_Interface, Generic_Unknown_Interface, GN_NAME_IDX, Init_Stmt_Cat, Interface, Interface_Blk, iss_blk_stk_err(), LA_CH_VALUE, LN_DEF_LOC, main_token, MAKE_EXTERNAL_NAME, matched_specific_token(), MATCHED_TOKEN_CLASS, MISC_RECS, Module, Module_Blk, Module_Proc, Module_Proc_Stmt, name, NEXT_LA_CH, NTR_ATTR_TBL, ntr_host_in_sym_tbl(), NTR_INTERFACE_IN_SN_TBL, ntr_stor_blk_tbl(), ntr_sym_tbl(), NULL, NULL_IDX, Obj_Module_Proc, on_off_flags, cmd_line_flags_entry::pad, cmd_line_flags_entry::pad_amount, parse_err_flush(), Pgm_Unit, Pgm_Unknown, PRINTMSG(), on_off_flags_entry::recursive, SB_BLK_TYPE, sb_len, SB_MODULE, sb_name, SB_PAD_AMOUNT, SB_PAD_AMOUNT_SET, SB_PAD_BLK, SB_RUNTIME_INIT, SCP_SB_STATIC_IDX, SCP_SB_STATIC_INIT_IDX, SCP_SB_STATIC_UNINIT_IDX, SH_STMT_TYPE, srch_host_sym_tbl(), srch_linked_sn(), srch_sym_tbl(), start_new_prog_unit(), statement_number, Static, stmt_start_col, stmt_start_line, stmt_type, id_str_entry::string, Sub_Func_Stmt_Cat, Tok_Class_Id, Tok_Class_Keyword, Tok_Kwd_Procedure, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, Warning, and XREF_RECS.
void parse_namelist_stmt | ( | void | ) |
Definition at line 2515 of file p_dcls.c.
References Ansi, AT_DCL_ERR, AT_NAME_IDX, AT_NAME_LEN, AT_NAMELIST_OBJ, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, ATD_SEEN_OUTSIDE_IMP_DO, ATN_FIRST_NAMELIST_IDX, ATN_LAST_NAMELIST_IDX, ATN_NUM_NAMELIST, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), COMMA, CURR_BLK, curr_stmt_category, Data_Obj, Declaration_Stmt_Cat, EOS, EOS_STR, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, fnd_semantic_err(), Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_VALUE, LN_DEF_LOC, MATCHED_TOKEN_CLASS, Namelist_Grp, Namelist_Stmt, NEXT_LA_CH, ntr_host_in_sym_tbl(), NTR_SN_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Obj_Namelist_Grp, parse_err_flush(), PRINTMSG(), Referenced, SET_IMPL_TYPE, SLASH, SN_ATTR_IDX, SN_COLUMN_NUM, SN_LINE_NUM, SN_NAME_IDX, SN_NAME_LEN, SN_SIBLING_LINK, srch_host_sym_tbl(), srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and XREF_RECS.
void parse_nullify_stmt | ( | void | ) |
Definition at line 4333 of file p_ctl_flow.c.
References COMMA, COPY_OPND, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Executable_Stmt_Cat, EXIT, FALSE, Find_Comma_Rparen, Find_EOS, Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, mark_attr_defined(), matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, Nullify_Opr, parse_deref(), parse_err_flush(), RPAREN, SH_IR_IDX, Tok_Class_Id, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_open_stmt | ( | void | ) |
Definition at line 1466 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATP_ELEMENTAL, ATP_PURE, Call_Opr, COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Func_Entry, Func_Exit, glb_tbl_idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, matched_specific_token(), NTR_IR_TBL, NULL, NULL_IDX, Open, Open_Attr_Idx, OPEN_LIB_ENTRY, OPEN_NAME_LEN, parse_err_flush(), parse_io_control_list(), PRINTMSG(), SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, stmt_type, stmt_type_str, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
boolean parse_operand | ( | opnd_type * | ) |
Definition at line 1045 of file p_asg_expr.c.
References Array_Construct_Opr, AT_OBJ_CLASS, AT_Tbl_Idx, ATD_CLASS, ATD_CONST_IDX, ATD_FLD, Ch_Class_Digit, Ch_Class_Letter, CIF_No_Usage_Rec, CLEAR_TBL_NTRY, CN_CONST, CN_Tbl_Idx, CN_TYPE_IDX, COLON, COMMA, comp_gen_expr, Complex, Complex_16, Complex_4, Complex_8, Constant, COPY_OPND, Cvrt_Opr, Data_Obj, DBL_QUOTE, DOT, EOS, EXIT, expr_semantics(), FALSE, Find_EOS, Find_Expr_End, Find_Rparen, folder_driver(), Func_Entry, Func_Exit, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, in_constructor, INIT_OPND_TYPE, Integer, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPND_L, IR_OPND_R, IR_OPR, IR_Tbl_Idx, is_substring_ref(), LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, ntr_const_tbl(), NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_type_tbl(), NULL, NULL_IDX, num_host_wds, OPND_COL_NUM, OPND_FLD, OPND_IDX, OPND_LINE_NUM, Paren_Opr, parse_deref(), parse_err_flush(), parse_expr(), parse_io_list(), parse_operand_insert, QUOTE, expr_semantics_args::rank, Real, Real_16, Real_4, Real_8, REAL_DEFAULT_TYPE, RPAREN, SLASH, Substring_Opr, Tok_Class_Opnd, Tok_Class_Punct, Tok_Const_Boolean, Tok_Const_Boz, Tok_Const_Char, Tok_Const_Dbl, Tok_Const_False, Tok_Const_Hollerith, Tok_Const_Int, Tok_Const_Quad, Tok_Const_Real, Tok_Const_True, Tok_EOS, Tok_Id, Tok_Punct_Lbrkt, Tok_Punct_Lparen, Tok_Punct_Rbrkt, Tok_Unknown, token, TOKEN_COLUMN, TOKEN_CONST_TBL_IDX, TOKEN_KIND_LEN, TOKEN_KIND_STR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR_WD, TRACE, TRUE, TYP_DCL_VALUE, TYP_DESC, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, type_tbl, Uminus_Opr, Uplus_Opr, and xref_state.
Referenced by parse_initializer(), parse_level_1(), and parse_name_dir().
void parse_optional_stmt | ( | void | ) |
Definition at line 674 of file p_dcl_attr.c.
References Func_Entry, Func_Exit, merge_optional(), NULL, parse_attrs(), and TRACE.
void parse_parameter_stmt | ( | void | ) |
Definition at line 2717 of file p_dcls.c.
References array_bounds_resolution(), AT_ATTR_LINK, AT_DCL_ERR, AT_OBJ_CLASS, AT_REFERENCED, AT_Tbl_Idx, ATD_ARRAY_IDX, ATD_SEEN_OUTSIDE_IMP_DO, ATD_TYPE_IDX, char_bounds_resolution(), Char_Rslt_Bound_Ref, Character, Character_1, check_type_conversion, cif_flags, CIF_Symbol_Declaration, CIF_Symbol_Reference, cif_usage_rec(), COMMA, comp_gen_expr, Complex, Const_Len_Char, CURR_BLK, curr_stmt_category, Data_Obj, Declaration_Stmt_Cat, EQUAL, EXIT, expr_mode, expr_semantics(), FALSE, Find_Comma_Rparen, Find_EOS, Func_Entry, Func_Exit, Implicit_Stmt_Cat, Initialization_Expr, Integer, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LN_DEF_LOC, LPAREN, MATCHED_TOKEN_CLASS, merge_parameter(), NEXT_LA_CH, ntr_sym_tbl(), NULL, NULL_IDX, Parameter_Stmt, parse_err_flush(), parse_expr(), expr_semantics_args::rank, Real, Regular_Expr, RPAREN, SET_IMPL_TYPE, srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, target_array_idx, target_char_len_idx, target_type_idx, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_CHAR_CLASS, TYP_IDX, TYP_TYPE, Unknown_Char, XREF_RECS, and xref_state.
int parse_pe_array_spec | ( | int | ) |
Definition at line 3655 of file p_dcl_util.c.
References Assumed_Size, AT_REFERENCED, BD_ARRAY_CLASS, BD_ARRAY_SIZE, BD_COLUMN_NUM, BD_DCL_ERR, BD_LB_FLD, BD_LB_IDX, BD_LINE_NUM, BD_RANK, BD_UB_FLD, BD_UB_IDX, CN_INTEGER_ONE_IDX, CN_Tbl_Idx, COLON, COMMA, Constant_Size, CURR_BLK, Deferred_Shape, Derived_Type_Blk, Error, EXIT, Explicit_Shape, FALSE, Find_EOS, Find_None, Find_Rparen, Func_Entry, Func_Exit, Internal, is_attr_referenced_in_bound(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LBRKT, NEXT_LA_CH, NO_Tbl_Idx, Not_Referenced, ntr_array_in_bd_tbl(), NULL, NULL_IDX, parse_err_flush(), parse_int_spec_expr(), PRINTMSG(), RBRKT, reserve_array_ntry(), STAR, TRACE, TRUE, and Unknown_Array.
Referenced by parse_attr_spec(), parse_attrs(), parse_common_stmt(), parse_cpnt_dcl_stmt(), parse_equivalence_stmt(), and parse_type_dcl_stmt().
void parse_pointer_stmt | ( | void | ) |
Definition at line 704 of file p_dcl_attr.c.
References Ansi, Assumed_Size_Char, AT_ATTR_LINK, AT_DCL_ERR, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, AT_TYPED, AT_WORK_IDX, ATD_CLASS, ATD_PTR_IDX, ATD_SEEN_OUTSIDE_IMP_DO, ATD_TYPE_IDX, Char_Rslt_Bound_Ref, Character, Character_1, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), CLEAR_TBL_NTRY, COMMA, CREATE_ERR_ATTR, CRI__Pointee, CRI_Ch_Ptr_8, CRI_Ptr_8, CURR_BLK, curr_stmt_category, Data_Obj, Declaration_Stmt_Cat, Default_Typed, EOS, EOS_STR, Error, EXIT, FALSE, Find_Comma, Find_Lparen, Find_Rparen, fnd_semantic_err(), Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, LN_DEF_LOC, LPAREN, MATCHED_TOKEN_CLASS, merge_dimension(), merge_pointer(), NEXT_LA_CH, ntr_sym_tbl(), ntr_type_tbl(), NULL, NULL_IDX, Obj_Cri_Ch_Pointee, Obj_Cri_Pointee, Obj_Cri_Ptr, parse_array_spec(), parse_attrs(), parse_err_flush(), Pointer_Stmt, PRINTMSG(), RPAREN, SET_IMPL_TYPE, srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, Structure, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_CHAR_CLASS, TYP_DCL_VALUE, TYP_DESC, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, type_tbl, Warning, and XREF_RECS.
void parse_print_stmt | ( | void | ) |
Definition at line 1550 of file p_io.c.
References AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATL_CLASS, ATP_ELEMENTAL, ATP_PURE, build_fwd_ref_entry(), Ch_Class_Digit, Character, cif_flags, CIF_Label_Referenced_As_Format, cif_usage_rec(), ciitem_tbl, CN_Tbl_Idx, CN_TYPE_IDX, COMMA, COPY_OPND, create_format_tmp(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, digit_is_format_label(), EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_Comma, Find_EOS, format_cn_idx, Format_Ref, Func_Entry, Func_Exit, idx, ignore_trailing_chars, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_VALUE, Label, Lbl_Format, cc_stmt_buf_line_entry::line, LN_DEF_LOC, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, ciitem_tbl_entry::num_ciitems, parse_err_flush(), parse_expr(), parse_io_list(), pre_parse_format(), PRINTMSG(), SCP_ATTR_IDX, set_format_start_idx(), SH_IR_IDX, srch_sym_tbl(), STAR, stmt_type, stmt_type_str, Tok_Class_Label, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_TYPE, TYPELESS_DEFAULT_TYPE, Write, Write_Formatted_Opr, and XREF_RECS.
void parse_program_stmt | ( | void | ) |
Definition at line 1168 of file p_dcl_pu.c.
References Ansi, EOS, EOS_STR, FALSE, Find_EOS, Func_Entry, Func_Exit, LA_CH_VALUE, LPAREN, main_token, MATCHED_TOKEN_CLASS, NEXT_LA_CH, NULL, parse_err_flush(), PRINTMSG(), Program, Program_Blk, start_new_prog_unit(), stmt_start_col, stmt_start_line, Tok_Class_Id, Tok_Class_Program_Str, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, and TRUE.
void parse_pure_stmt | ( | void | ) |
Definition at line 1268 of file p_dcl_pu.c.
References AT_OBJ_CLASS, AT_WORK_IDX, ATP_PURE, CLEAR_ATTR_NTRY, Func_Entry, Func_Exit, NULL, parse_prefix_spec(), Pgm_Unit, TRACE, and TRUE.
void parse_read_stmt | ( | void | ) |
Definition at line 1769 of file p_io.c.
References AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATL_CLASS, build_fwd_ref_entry(), Ch_Class_Digit, Character, cif_flags, CIF_Label_Referenced_As_Format, cif_usage_rec(), ciitem_tbl, CN_Tbl_Idx, CN_TYPE_IDX, COMMA, COPY_OPND, create_format_tmp(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, digit_is_format_label(), EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_Comma, Find_EOS, format_cn_idx, Format_Ref, Func_Entry, Func_Exit, idx, ignore_trailing_chars, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_VALUE, Label, Lbl_Format, cc_stmt_buf_line_entry::line, LN_DEF_LOC, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, ciitem_tbl_entry::num_ciitems, parse_err_flush(), parse_expr(), parse_io_control_list(), parse_io_list(), pre_parse_format(), PRINTMSG(), Read, Read_Formatted_Opr, set_format_start_idx(), SH_IR_IDX, srch_sym_tbl(), STAR, Tok_Class_Label, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_TYPE, TYPELESS_DEFAULT_TYPE, and XREF_RECS.
void parse_recursive_stmt | ( | void | ) |
Definition at line 1300 of file p_dcl_pu.c.
References AT_OBJ_CLASS, AT_WORK_IDX, ATP_RECURSIVE, CLEAR_ATTR_NTRY, Func_Entry, Func_Exit, NULL, parse_prefix_spec(), Pgm_Unit, TRACE, and TRUE.
void parse_return_stmt | ( | void | ) |
Definition at line 4433 of file p_ctl_flow.c.
References ATP_PGM_UNIT, cmd_line_flags, Comment, COPY_OPND, CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, EOS, EOS_STR, Error, Executable_Stmt_Cat, Find_EOS, Func_Entry, Func_Exit, Function, gen_debug_lbl_stmt(), IR_COL_NUM, IR_LINE_NUM, IR_OPND_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Ldbg_Start_Epilogue, NEXT_LA_CH, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_expr(), PRINTMSG(), Return_Opr, SCP_ATTR_IDX, SH_IR_IDX, Subroutine, TRACE, and TYPELESS_DEFAULT_TYPE.
void parse_rewind_stmt | ( | void | ) |
Definition at line 1990 of file p_io.c.
References ADD_ATTR_TO_LOCAL_LIST, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATP_ELEMENTAL, ATP_PURE, Call_Opr, COPY_OPND, create_lib_entry_attr(), CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Func_Entry, Func_Exit, glb_tbl_idx, IL_ARG_DESC_VARIANT, IL_NEXT_LIST_IDX, IL_OPND, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_FLD_R, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_R, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, matched_specific_token(), NTR_IR_LIST_TBL, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_expr(), parse_io_control_list(), PRINTMSG(), Rewind, Rewind_Attr_Idx, REWIND_LIB_ENTRY, REWIND_NAME_LEN, SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, stmt_type, stmt_type_str, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_save_stmt | ( | void | ) |
Definition at line 995 of file p_dcl_attr.c.
References Ansi, ATP_SAVE_ALL, ATP_STACK_DIR, CURR_BLK, curr_scp_idx, curr_stmt_category, Declaration_Stmt_Cat, EOS, FALSE, Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_VALUE, merge_save(), NEXT_LA_CH, NULL, parse_attrs(), PRINTMSG(), Save_Stmt, SCP_ATTR_IDX, STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, and Warning.
void parse_select_stmt | ( | void | ) |
Definition at line 4517 of file p_ctl_flow.c.
References AT_DCL_ERR, AT_REFERENCED, ATL_CLASS, ATL_DEF_STMT_IDX, BLK_CASE_DEFAULT_LBL_FLD, blk_stk_idx, COPY_OPND, CURR_BLK_ERR, CURR_BLK_FIRST_SH_IDX, CURR_BLK_LABEL, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Executable_Stmt_Cat, EXIT, Find_EOS, Func_Entry, Func_Exit, gen_internal_lbl(), IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_OPND_L, IR_OPR, IR_Tbl_Idx, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, Lbl_Construct, LINK_TO_PARENT_BLK, LPAREN, matched_specific_token(), NEXT_LA_CH, NO_Tbl_Idx, NTR_IR_TBL, NULL, NULL_IDX, parse_err_flush(), parse_expr(), PUSH_BLK_STK, Referenced, RPAREN, Select_Blk, Select_Opr, SH_ERR_FLG, SH_IR_IDX, stmt_construct_idx, stmt_start_col, stmt_start_line, Tok_Class_Keyword, Tok_Kwd_Case, token, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_sequence_stmt | ( | void | ) |
Definition at line 2911 of file p_dcls.c.
References AT_OBJ_NAME_PTR, ATT_FIRST_CPNT_IDX, ATT_SEQUENCE_SET, CURR_BLK, CURR_BLK_NAME, Derived_Type_Blk, EOS, EOS_STR, Error, Find_EOS, Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_VALUE, NEXT_LA_CH, NULL, NULL_IDX, parse_err_flush(), PRINTMSG(), token, TOKEN_COLUMN, TOKEN_LINE, TRACE, and TRUE.
void parse_stmt_func_stmt | ( | int | , |
int | |||
) |
Definition at line 2969 of file p_dcls.c.
References AT_ATTR_LINK, AT_DCL_ERR, AT_ELEMENTAL_INTRIN, AT_IS_DARG, AT_IS_INTRIN, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, AT_TYPED, ATD_CLASS, ATD_SEEN_OUTSIDE_IMP_DO, ATD_SF_DARG, ATD_SF_LINK, ATD_TYPE_IDX, ATP_FIRST_IDX, ATP_NUM_DARGS, ATS_SF_FLD, ATS_SF_IDX, Char_Rslt_Bound_Ref, cif_flags, CIF_Statement_Function_Stmt, cif_stmt_type_rec(), CIF_Symbol_Declaration, CIF_Symbol_Is_Dummy_Arg, cif_usage_rec(), COMMA, COPY_COMMON_ATTR_INFO, CREATE_ERR_ATTR, CURR_BLK, curr_stmt_category, Data_Obj, Declaration_Stmt_Cat, Dummy_Argument, EOS, EOS_STR, Error, EXIT, expr_mode, FALSE, Find_Comma_Rparen, Find_EOS, fnd_semantic_err(), Func_Entry, Func_Exit, iss_blk_stk_err(), LA_CH_VALUE, LN_ATTR_IDX, LN_DEF_LOC, matched_specific_token(), MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, NTR_ATTR_TBL, NTR_SN_TBL, ntr_sym_tbl(), NULL, NULL_IDX, Obj_Sf_Darg, Obj_Stmt_Func, OPND_FLD, OPND_IDX, parse_err_flush(), parse_expr(), PRINTMSG(), Regular_Expr, remove_ln_ntry(), RPAREN, SET_IMPL_TYPE, SN_ATTR_IDX, SN_COLUMN_NUM, SN_LINE_NUM, SN_NAME_IDX, SN_NAME_LEN, srch_kwd_name(), srch_sym_tbl(), statement_number, STMT_CANT_BE_IN_BLK, Stmt_Func, Stmt_Func_Expr, Stmt_Func_Stmt, STMT_OUT_OF_ORDER, stmt_type, Tok_Class_Id, Tok_Class_Punct, Tok_Punct_Eq, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, and XREF_RECS.
Referenced by parse_assignment_stmt().
void parse_stop_pause_stmt | ( | void | ) |
Definition at line 4650 of file p_ctl_flow.c.
References After, Ansi, AT_OBJ_NAME_PTR, ATP_ELEMENTAL, ATP_PURE, cdir_switches, Ch_Class_Digit, cmd_line_flags, CN_Tbl_Idx, COPY_OPND, CURR_BLK_NO_EXEC, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, cdir_switch_entry::doall_region, EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_EOS, Func_Entry, Func_Exit, gen_debug_lbl_stmt(), gen_sh(), cdir_switch_entry::guard, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPND_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Ldbg_Exit_Point, matched_specific_token(), NEXT_LA_CH, NTR_IR_TBL, NULL, NULL_IDX, cdir_switch_entry::parallel_region, parse_err_flush(), parse_expr(), Pause_Opr, PRINTMSG(), Return_Opr, Return_Stmt, SCP_ATTR_IDX, SH_ERR_FLG, SH_IR_IDX, SH_P2_SKIP_ME, stmt_start_col, stmt_start_line, stmt_type, stmt_type_str, Stop_Opr, Stop_Stmt, Tok_Class_Int_Spec, Tok_Const_Int, token, TOKEN_COLUMN, TOKEN_CONST_TBL_IDX, TOKEN_LINE, TRACE, TRUE, and TYPELESS_DEFAULT_TYPE.
void parse_subroutine_stmt | ( | void | ) |
Definition at line 1539 of file p_dcl_pu.c.
References AT_DCL_ERR, ATP_ARGCHCK_ENTRY, ATP_COARRAY_CONCURRENT, ATP_PROC, cmd_line_flags, CURR_BLK, curr_scp_idx, curr_stmt_category, EOS, EOS_STR, Extern_Proc, FALSE, Find_EOS, Find_Lparen, Func_Entry, Func_Exit, Init_Stmt_Cat, Interface_Body_Blk, iss_blk_stk_err(), LA_CH_VALUE, LPAREN, main_token, MATCHED_TOKEN_CLASS, NEXT_LA_CH, NULL, parse_dummy_args(), parse_err_flush(), cmd_line_flags_entry::runtime_arg_entry, cmd_line_flags_entry::runtime_argument, SCP_IN_ERR, SCP_PARENT_IDX, start_new_prog_unit(), start_new_scp(), start_new_subpgm(), stmt_start_col, stmt_start_line, id_str_entry::string, Sub_Func_Stmt_Cat, Subroutine, Subroutine_Blk, Tok_Class_Id, token, TOKEN_COLUMN, TOKEN_LINE, token_entry::token_str, TRACE, and TRUE.
Referenced by parse_prefix_spec().
void parse_target_stmt | ( | void | ) |
Definition at line 1060 of file p_dcl_attr.c.
References Func_Entry, Func_Exit, merge_target(), NULL, parse_attrs(), and TRACE.
void parse_task_common_stmt | ( | void | ) |
void parse_type_dcl_stmt | ( | void | ) |
Definition at line 3225 of file p_dcls.c.
References After, Allocatable_Attr, Ansi, array_bounds_resolution(), Assumed_Size_Char, AT_ATTR_LINK, AT_CIF_SYMBOL_ID, AT_DCL_ERR, AT_DEF_COLUMN, AT_DEF_LINE, AT_DEFINED, AT_IS_INTRIN, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_Tbl_Idx, AT_TYPED, AT_WORK_IDX, ATD_ARRAY_IDX, ATD_PE_ARRAY_IDX, ATD_SEEN_OUTSIDE_IMP_DO, ATD_TYPE_IDX, ATP_RSLT_IDX, Automatic_Attr, BD_ARRAY_CLASS, BD_RANK, Call_Opr, Ch_Class_Letter, char_bounds_resolution(), Char_Rslt_Bound_Ref, Character, Character_1, check_type_conversion, cif_flags, cif_stmt_type_rec(), CIF_Symbol_Declaration, CIF_Symbol_Modification, CIF_Symbol_Reference, CIF_Type_Declaration_Stmt, CIF_Type_Stmt, cif_usage_rec(), CLEAR_ATTR_NTRY, cmd_line_flags, Co_Array_Attr, cmd_line_flags_entry::co_array_fortran, colon_recovery, COMMA, comp_gen_expr, Complex, Const_Len_Char, COPY_ATTR_NTRY, COPY_BD_NTRY, COPY_OPND, Cpnt_Decl_Stmt, CURR_BLK, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, Data_Stmt, Declaration_Stmt_Cat, Deferred_Shape, Derived_Type_Blk, EOS, EOS_STR, EQUAL, Error, EXIT, expr_mode, expr_semantics(), External_Attr, FALSE, Find_Comma, Find_EOS, Func_Entry, Func_Exit, gen_sh(), GT, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_Tbl_Idx, Init_Opr, Init_Stmt_Cat, Initialization_Expr, Integer, Intent_Attr, Intent_Unseen, Interface, Intrinsic_Attr, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_IDX_R, IR_LINE_NUM, IR_LINE_NUM_L, IR_LIST_CNT_L, IR_OPND_R, IR_OPR, IR_Tbl_Idx, IR_TYPE_IDX, iss_blk_stk_err(), issue_undefined_type_msg(), LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_STMT_NUM, LA_CH_VALUE, LBRKT, LN_DEF_LOC, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, merge_access(), merge_allocatable(), merge_automatic(), merge_co_array(), merge_data(), merge_dimension(), merge_external(), merge_intent(), merge_intrinsic(), merge_optional(), merge_parameter(), merge_pointer(), merge_save(), merge_target(), merge_type(), merge_volatile(), MISC_RECS, new_intent, NEXT_LA_CH, ntr_array_in_bd_tbl(), NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), ntr_type_tbl(), NULL, NULL_IDX, Null_Opr, OPND_FLD, OPND_IDX, Optional_Attr, Parameter_Attr, parse_array_spec(), parse_attr_spec(), parse_cpnt_dcl_stmt(), parse_derived_type_stmt(), parse_err_flush(), parse_expr(), parse_initializer(), parse_length_selector(), parse_pe_array_spec(), parse_type_spec(), parse_typed_function_stmt(), Pgm_Unit, Pointer_Attr, PRINTMSG(), Private, Private_Attr, Public, Public_Attr, expr_semantics_args::rank, Real, Regular_Expr, reserve_array_ntry(), reset_lex(), RPAREN, Save_Attr, SET_IMPL_TYPE, SH_COL_NUM, SH_COMPILER_GEN, SH_ERR_FLG, SH_GLB_LINE, SH_IR_IDX, SH_STMT_TYPE, SLASH, srch_sym_tbl(), STAR, statement_number, STMT_CANT_BE_IN_BLK, stmt_has_double_colon(), STMT_OUT_OF_ORDER, stmt_type, Structure, Sub_Func_Stmt_Cat, target_array_idx, Target_Attr, target_char_len_idx, target_type_idx, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Punct, Tok_Kwd_Character, Tok_Kwd_Elemental, Tok_Kwd_Function, Tok_Kwd_Pure, Tok_Kwd_Recursive, Tok_Kwd_Type, Tok_Punct_Colon_Colon, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_CHAR_CLASS, TYP_DCL_VALUE, TYP_DESC, TYP_IDX, TYP_TYPE, TYP_WORK_IDX, Type_Decl_Stmt, Type_Init_Stmt, TYPELESS_DEFAULT_TYPE, Unknown_Char, Volatile_Attr, XREF_RECS, and xref_state.
Definition at line 927 of file p_dcl_util.c.
References AL_ATTR_IDX, AL_NEXT_IDX, Ansi, AT_ATTR_LINK, AT_CIF_SYMBOL_ID, AT_DCL_ERR, AT_DEF_COLUMN, AT_DEF_LINE, AT_LOCKED_IN, AT_NAME_IDX, AT_NOT_VISIBLE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, AT_TYPED, AT_WORK_IDX, ATD_TYPE_IDX, ATT_STRUCT_BIT_LEN_FLD, ATT_STRUCT_BIT_LEN_IDX, ATT_TY_IDX, basic_type_str, CHARACTER_DEFAULT_TYPE, CIF_Derived_Type_Name_Reference, cif_flags, cif_usage_rec(), CLEAR_ATTR_NTRY, CLEAR_TBL_NTRY, CLEAR_VARIANT_ATTR_INFO, cmd_line_flags, CN_INT_TO_C, CN_INTEGER_ZERO_IDX, CN_Tbl_Idx, COMMA, Complex, Complex_16, Complex_4, Complex_8, COMPLEX_DEFAULT_TYPE, COPY_ATTR_NTRY, CREATE_ERR_ATTR, curr_scp_idx, curr_stmt_sh_idx, Derived_Type, DOUBLE_COMPLEX_TYPE_IDX, DOUBLE_PRECISION_TYPE_IDX, on_off_flags_entry::enable_double_precision, EQUAL, Err_Res, Error, FALSE, Find_None, Find_Rparen, fnd_semantic_err(), Func_Entry, Func_Exit, Function_Stmt, Implicit_Stmt, Integer, Integer_1, Integer_2, Integer_4, Integer_8, INTEGER_DEFAULT_TYPE, LA_CH_VALUE, LN_ATTR_IDX, LN_NAME_IDX, Logical, Logical_1, Logical_2, Logical_4, Logical_8, LOGICAL_DEFAULT_TYPE, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_ATTR_LIST_TBL, ntr_host_in_sym_tbl(), ntr_sym_tbl(), ntr_type_tbl(), NULL, NULL_IDX, Obj_Use_Derived_Type, on_off_flags, parse_err_flush(), parse_kind_selector(), parse_length_selector(), PRINTMSG(), Real, Real_16, Real_4, Real_8, REAL_DEFAULT_TYPE, reset_lex(), RPAREN, cmd_line_flags_entry::s_cf77types, cmd_line_flags_entry::s_default32, SCP_CIF_ERR_LIST, SH_ERR_FLG, srch_host_sym_tbl(), srch_sym_tbl(), STAR, Star_Typed, stmt_type, Structure, Structure_Type, target_ieee, target_triton, Tok_Class_Id, Tok_Class_Int_Spec, Tok_Class_Keyword, Tok_Kwd_Byte, Tok_Kwd_Character, Tok_Kwd_Complex, Tok_Kwd_Double, Tok_Kwd_Integer, Tok_Kwd_Kind, Tok_Kwd_Logical, Tok_Kwd_Precision, Tok_Kwd_Real, Tok_Kwd_Type, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_CONST_TBL_IDX, TOKEN_LEN, TOKEN_LINE, TOKEN_STMT_NUM, TOKEN_STR, TRACE, TRUE, TYP_DCL_VALUE, TYP_DESC, TYP_IDX, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, type_tbl, TYPELESS_DEFAULT_TYPE, Warning, and XREF_RECS.
Referenced by parse_cpnt_dcl_stmt(), parse_implicit_stmt(), parse_type_dcl_stmt(), and parse_typed_function_stmt().
void parse_typed_function_stmt | ( | void | ) |
Definition at line 2980 of file p_dcl_pu.c.
References Assumed_Size_Char, AT_DCL_ERR, AT_DEF_COLUMN, AT_DEF_LINE, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_REFERENCED, AT_TYPED, AT_WORK_IDX, ATD_TYPE_IDX, ATI_HAS_NON_MOD_PROC, ATP_ARGCHCK_ENTRY, ATP_ELEMENTAL, ATP_PROC, ATP_PURE, ATP_RECURSIVE, ATP_RSLT_IDX, attr_tbl_idx, BLK_AT_IDX, BLK_BD_IDX, BLK_CN_IDX, BLK_CP_IDX, BLK_NP_IDX, BLK_SB_IDX, BLK_SN_IDX, blk_stk_idx, BLK_TYP_IDX, BLK_UNNAMED_INTERFACE, bounds_tbl_idx, Char_Rslt_Bound_Ref, Character, CHARACTER_DEFAULT_TYPE, cif_flags, CIF_Function_Stmt, cif_stmt_type_rec(), cmd_line_flags, Comment, const_pool_idx, const_tbl_idx, CURR_BLK, CURR_BLK_ERR, CURR_BLK_NAME, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, Extern_Proc, FALSE, Find_EOS, Find_Lparen, Func_Entry, Func_Exit, Function, Function_Blk, Function_Stmt, idx, Interface_Blk, Interface_Body_Blk, Intern_Proc, LA_CH_VALUE, LN_ATTR_IDX, LPAREN, main_token, MATCHED_TOKEN_CLASS, MISC_RECS, Module_Proc, name_pool_idx, NEXT_LA_CH, NULL, NULL_IDX, parse_dummy_args(), parse_err_flush(), parse_type_spec(), Pgm_Unit, PRINTMSG(), reset_lex(), cmd_line_flags_entry::runtime_arg_entry, cmd_line_flags_entry::runtime_argument, SCP_ATTR_IDX, SCP_IN_ERR, SCP_LAST_CHILD_IDX, SCP_LN_FW_IDX, SCP_LN_LW_IDX, SCP_PARENT_IDX, sec_name_tbl_idx, set_function_rslt(), SH_STMT_TYPE, start_new_prog_unit(), start_new_scp(), start_new_subpgm(), statement_number, stmt_start_col, stmt_start_line, stmt_type, stor_blk_tbl_idx, Sub_Func_Stmt_Cat, Tok_Class_Id, Tok_Class_Keyword, Tok_Kwd_Elemental, Tok_Kwd_Function, Tok_Kwd_Pure, Tok_Kwd_Recursive, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_LINE, TOKEN_STMT_NUM, TRACE, TRUE, TYP_CHAR_CLASS, TYP_TYPE, type_tbl_idx, Unknown_Char, Var_Len_Char, and Warning.
Referenced by parse_prefix_spec(), and parse_type_dcl_stmt().
void parse_use_stmt | ( | void | ) |
Definition at line 3980 of file p_dcls.c.
References AL_ATTR_IDX, AL_NEXT_IDX, AL_PREV_MODULE_IDX, AT_MODULE_IDX, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_ORIG_NAME_IDX, AT_ORIG_NAME_LEN, AT_REFERENCED, AT_Tbl_Idx, AT_USE_ASSOCIATED, ATP_GLOBAL_ATTR_IDX, ATP_MODULE_STR_IDX, ATP_PGM_UNIT, ATP_SCP_IDX, ATP_USE_LIST, ATP_USE_TYPE, check_for_duplicate_renames(), check_global_pgm_unit(), cif_flags, CIF_Symbol_Reference, cif_usage_rec(), COLON, COMMA, CREATE_ERR_ATTR, CURR_BLK, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, EOS, EOS_STR, Error, EXIT, FALSE, Find_Comma, Find_EOS, Func_Entry, Func_Exit, GN_NAME_IDX, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_VALUE, LN_DEF_LOC, MAKE_EXTERNAL_NAME, make_ro_entry(), matched_specific_token(), MATCHED_TOKEN_CLASS, Module, NEXT_LA_CH, NTR_ATTR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, parse_err_flush(), parse_only_spec(), Pgm_Unit, PRINTMSG(), Referenced, reset_lex(), RO_RENAME_IDX, SCP_USED_MODULE_LIST, SH_IR_IDX, SH_P2_SKIP_ME, srch_sym_tbl(), STMT_CANT_BE_IN_BLK, STMT_OUT_OF_ORDER, stmt_start_col, stmt_start_line, Tok_Class_Id, Tok_Class_Keyword, Tok_Class_Punct, Tok_Kwd_Only, Tok_Punct_Rename, token, TOKEN_BUF_IDX, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STMT_NUM, TOKEN_STR, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, Use_All, Use_Not, Use_Only, Use_Opr, Use_Renamed, Use_Stmt, Use_Stmt_Cat, and XREF_RECS.
void parse_volatile_stmt | ( | void | ) |
Definition at line 1089 of file p_dcl_attr.c.
References Ansi, Func_Entry, Func_Exit, merge_volatile(), NULL, parse_attrs(), PRINTMSG(), stmt_start_col, stmt_start_line, and TRACE.
void parse_where_stmt | ( | void | ) |
Definition at line 4768 of file p_ctl_flow.c.
References After, Assignment_Stmt, AT_DCL_ERR, ATL_CLASS, ATL_DEF_STMT_IDX, cif_flags, cif_stmt_type_rec(), CIF_Where_Construct, CIF_Where_Stmt, COPY_OPND, CURR_BLK, CURR_BLK_ERR, CURR_BLK_FIRST_SH_IDX, CURR_BLK_NAME, CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, determine_stmt_type(), EOS, Error, Executable_Stmt_Cat, EXIT, FALSE, Find_EOS, Find_Rparen, Forall_Blk, FREE_SH_NODE, Func_Entry, Func_Exit, gen_sh(), in_action_stmt_of_if_where_or_forall, INCREMENT_STATEMENT_NUMBER, IR_COL_NUM, IR_FLD_R, IR_IDX_R, IR_LINE_NUM, IR_OPND_L, IR_OPR, IR_Tbl_Idx, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Lbl_Construct, LPAREN, MATCHED_TOKEN_CLASS, MISC_RECS, NEXT_LA_CH, NTR_IR_TBL, ntr_sh_tbl(), NULL, NULL_IDX, parse_err_flush(), parse_expr(), PRINTMSG(), PUSH_BLK_STK, RPAREN, SH_ERR_FLG, SH_IR_IDX, SH_PARENT_BLK_IDX, SH_STMT_TYPE, Statement_Num_Stmt, statement_number, stmt_construct_idx, stmt_parsers, stmt_start_col, stmt_start_line, stmt_type, Tok_Class_Keyword, token, TOKEN_COLUMN, TOKEN_LINE, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, Where_Cnstrct_Opr, Where_Else_Blk, Where_Else_Mask_Blk, Where_Opr, Where_Stmt, and Where_Then_Blk.
void parse_write_stmt | ( | void | ) |
Definition at line 2097 of file p_io.c.
References Ansi, AT_DCL_ERR, AT_DEFINED, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATL_CLASS, build_fwd_ref_entry(), Ch_Class_Digit, Character, ciitem_tbl, CN_Tbl_Idx, CN_TYPE_IDX, COMMA, COPY_OPND, create_format_tmp(), CURR_BLK_NO_EXEC, curr_stmt_category, curr_stmt_sh_idx, digit_is_format_label(), EOS, EOS_STR, Error, Executable_Stmt_Cat, FALSE, Find_Comma, Find_EOS, format_cn_idx, Format_Ref, Func_Entry, Func_Exit, idx, ignore_trailing_chars, IL_COL_NUM, IL_FLD, IL_IDX, IL_LINE_NUM, IL_LIST_CNT, IL_NEXT_LIST_IDX, IL_OPND, IL_PREV_LIST_IDX, IL_Tbl_Idx, INSERT_IO_END, INSERT_IO_START, IR_COL_NUM, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LIST_CNT_L, IR_OPND_L, IR_OPND_R, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LA_CH_BUF_IDX, LA_CH_CLASS, LA_CH_COLUMN, LA_CH_LINE, LA_CH_VALUE, Label, Lbl_Format, cc_stmt_buf_line_entry::line, LN_DEF_LOC, LPAREN, matched_specific_token(), MATCHED_TOKEN_CLASS, NEXT_LA_CH, NTR_IR_LIST_TBL, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, ciitem_tbl_entry::num_ciitems, parse_err_flush(), parse_expr(), parse_io_control_list(), parse_io_list(), pre_parse_format(), PRINTMSG(), set_format_start_idx(), SH_IR_IDX, srch_sym_tbl(), STAR, Tok_Class_Label, Tok_Class_Punct, Tok_EOS, token, TOKEN_COLUMN, TOKEN_ERR, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYP_TYPE, TYPELESS_DEFAULT_TYPE, Write, and Write_Formatted_Opr.
boolean pop_and_err_blk_stk | ( | int | , |
boolean | |||
) |
Definition at line 4306 of file p_end.c.
References AT_DCL_ERR, AT_OBJ_NAME_PTR, BLK_DEF_COLUMN, BLK_DEF_LINE, blk_desc_str(), BLK_ERR, BLK_FIRST_SH_IDX, BLK_LABEL, blk_stk_idx, BLK_TYPE, Case_Blk, CLEAR_DIRECTIVE_STATE, Contains_Blk, CURR_BLK_NAME, curr_scp_idx, curr_stmt_sh_idx, Do_Blk, Do_Parallel_Blk, Do_Parallel_Region, Else_If_Stmt, Else_Stmt, Else_Where_Mask_Stmt, Else_Where_Stmt, end_blocks, End_Stmt, Error, FALSE, Func_Entry, Func_Exit, glb_tbl_idx, Guard_Blk, If_Blk, If_Else_Blk, If_Else_If_Blk, If_Then_Blk, Main_Attr_Idx, move_blk_to_end(), need_new_sh, ntr_sh_tbl(), NULL, NULL_IDX, Open_Mp_Do_Blk, Open_Mp_Do_Region, Open_Mp_Parallel_Do_Blk, Open_Mp_Parallel_Do_Region, Parallel_Blk, Parallel_Case_Blk, Pdo_Region, POP_BLK_STK, PRINTMSG(), Program_Blk, SCP_ATTR_IDX, SCP_IN_ERR, Select_Blk, SGI_Pdo_Blk, SH_COL_NUM, SH_ERR_FLG, SH_GLB_LINE, SH_NEXT_IDX, SH_PREV_IDX, SH_STMT_TYPE, stmt_label_idx, stmt_start_col, stmt_start_line, stmt_type, TRACE, TRUE, Wait_Blk, and Where_Else_Blk.
Referenced by blk_match_err(), end_do_blk(), end_labeled_do(), iss_blk_stk_err(), parse_end_stmt(), and parse_prog_unit().
void prev_char_line_and_col | ( | int * | , |
int * | |||
) |
Definition at line 7348 of file src_input.c.
References blank, Func_Entry, Func_Exit, idx, NULL, stmt_buf, stmt_buf_col, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_num, stmt_line_offset, stmt_line_start_idx, tab, and TRACE.
Referenced by cif_named_constant_rec().
int put_char_const_in_tbl | ( | char | , |
int * | |||
) |
Definition at line 6429 of file src_input.c.
References C_INT_TO_CN, CG_INTEGER_DEFAULT_TYPE, Character, CHARACTER_DEFAULT_TYPE, CLEAR_TBL_NTRY, CN_CONST, CN_Tbl_Idx, Const_Len_Char, Default_Typed, Func_Entry, Func_Exit, idx, lines_in_buf, Long_Typeless, NEXT_LA_CH, ntr_const_tbl(), ntr_type_tbl(), NULL, NULL_IDX, Short_Typeless_Const, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, TRUE, TYP_BIT_LEN, TYP_CHAR_CLASS, TYP_DESC, TYP_FLD, TYP_IDX, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, type_tbl, and Typeless.
Referenced by get_operand_digit(), get_operand_letter(), and get_operand_quote().
int put_format_in_tbl | ( | void | ) |
Definition at line 6570 of file src_input.c.
References AT_OBJ_NAME_PTR, C_INT_TO_CN, CG_INTEGER_DEFAULT_TYPE, Character, CHARACTER_DEFAULT_TYPE, CLEAR_TBL_NTRY, CN_CONST, CN_INT_TO_C, CN_Tbl_Idx, CN_TYPE_IDX, Const_Len_Char, Default_Typed, EXIT, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, MASK_CHAR_CONST_IDX, NEXT_LA_CH, ntr_const_tbl(), ntr_type_tbl(), NULL, NULL_IDX, rparen, stmt_buf, stmt_buf_idx, stmt_label_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, TRUE, TYP_CHAR_CLASS, TYP_DESC, TYP_FLD, TYP_IDX, TYP_LINEAR, TYP_TYPE, TYP_WORK_IDX, and type_tbl.
Referenced by get_format_str().
boolean remove_do_parallel_blk | ( | boolean | , |
char * | , | ||
int | , | ||
int | |||
) |
Definition at line 5859 of file p_end.c.
References BLK_DEF_LINE, blk_stk_idx, BLK_TYPE, CLEAR_DIRECTIVE_STATE, Do_Blk, Do_Parallel_Blk, Do_Parallel_Region, Error, FALSE, Func_Entry, Func_Exit, Module_Proc_Blk, move_blk_to_end(), NULL, POP_BLK_STK, PRINTMSG(), TRACE, and TRUE.
Referenced by parse_mic_directives().
boolean remove_pdo_blk | ( | boolean | , |
char * | , | ||
int | , | ||
int | |||
) |
Definition at line 5926 of file p_end.c.
References BLK_DEF_LINE, blk_stk_idx, BLK_TYPE, CLEAR_DIRECTIVE_STATE, Do_Blk, Error, FALSE, Func_Entry, Func_Exit, Module_Proc_Blk, move_blk_to_end(), NULL, Pdo_Region, POP_BLK_STK, PRINTMSG(), SGI_Pdo_Blk, TRACE, and TRUE.
Referenced by parse_par_directives().
void resolve_fwd_lbl_refs | ( | void | ) |
Definition at line 3031 of file p_utils.c.
References Assign_Ref, AT_DCL_ERR, AT_DEFINED, AT_OBJ_NAME_PTR, ATL_DEF_STMT_IDX, ATL_FWD_REF_IDX, Branch_Context, check_cmic_blk_branches(), curr_stmt_sh_idx, Error, Format_Stmt, FREE_IR_LIST_NODE, From_Assign_Stmt, Func_Entry, Func_Exit, IL_COL_NUM, IL_FLD, IL_FORWARD_REF, IL_IDX, IL_LINE_NUM, IL_NEXT_LIST_IDX, IL_Tbl_Idx, label_ref_semantics(), NO_Tbl_Idx, NULL, NULL_IDX, PRINTMSG(), SH_PARENT_BLK_IDX, SH_STMT_TYPE, SH_Tbl_Idx, stmt_label_idx, stmt_start_line, stmt_type, Then_Stmt, To_Format_Stmt, TRACE, and TRUE.
Referenced by end_blockdata(), end_function(), end_internal_proc(), end_module(), end_module_proc(), end_program_unit(), end_subroutine(), parse_prog_unit(), and stmt_level_semantics().
void set_format_start_idx | ( | int | ) |
Definition at line 6395 of file src_input.c.
References format_start_idx, Func_Entry, Func_Exit, NULL, and TRACE.
Referenced by parse_decode_stmt(), parse_encode_stmt(), parse_format_stmt(), parse_io_control_list(), parse_print_stmt(), parse_read_stmt(), and parse_write_stmt().
int start_new_prog_unit | ( | pgm_unit_type | , |
blk_cntxt_type | , | ||
boolean | , | ||
boolean | , | ||
int * | |||
) |
Definition at line 2716 of file p_dcl_pu.c.
References _ERROR_DUPLICATE_GLOBALS, AT_CIF_SYMBOL_ID, AT_DCL_ERR, AT_DEF_COLUMN, AT_DEF_LINE, AT_DEFINED, AT_NAME_IDX, AT_NAME_LEN, AT_OBJ_CLASS, AT_OBJ_NAME_PTR, AT_Tbl_Idx, ATD_CLASS, ATD_SYMBOLIC_CONSTANT, ATP_EXPL_ITRFC, ATP_HAS_TASK_DIRS, ATP_MAY_INLINE, ATP_PGM_UNIT, ATP_SCP_ALIVE, ATP_SCP_IDX, attr_aux_tbl_idx, attr_tbl_idx, Before, cif_flags, CIF_Symbol_Declaration, cif_usage_rec(), cmd_line_flags, CREATE_ERR_ATTR, CURR_BLK, CURR_BLK_DEF_COLUMN, CURR_BLK_DEF_LINE, CURR_BLK_NAME, curr_scp_idx, curr_stmt_category, curr_stmt_sh_idx, Data_Obj, cmd_line_flags_entry::debug_lvl, Debug_Lvl_1, Dir_Integer_Stmt_Cat, dump_flags, Entry_Opr, Error, FALSE, Func_Entry, Func_Exit, Function, gen_end_prologue_debug_label(), gen_sh(), glb_tbl_idx, implicit_use_semantics(), Init_Stmt_Cat, Internal, IR_COL_NUM, IR_COL_NUM_L, IR_FLD_L, IR_IDX_L, IR_LINE_NUM, IR_LINE_NUM_L, IR_OPR, IR_TYPE_IDX, iss_blk_stk_err(), LN_ATTR_IDX, LN_DEF_LOC, LN_NAME_IDX, Main_Attr_Idx, MAKE_EXTERNAL_NAME, make_in_parent_string(), opt_flags_entry::modinline, Module, NTR_IR_TBL, ntr_sym_tbl(), NULL, NULL_IDX, opt_flags, Pgm_Unit, dump_flags_entry::preinline, PRINTMSG(), Program, Program_Stmt, SB_NAME_IDX, SB_NAME_LEN, SCP_ATTR_IDX, SCP_FIRST_SH_IDX, SCP_IN_ERR, SCP_SB_STATIC_IDX, SCP_SB_STATIC_INIT_IDX, SCP_SB_STATIC_UNINIT_IDX, SH_IR_IDX, SH_PREV_IDX, srch_sym_tbl(), stmt_start_col, stmt_start_line, token, TOKEN_COLUMN, TOKEN_LEN, TOKEN_LINE, TOKEN_STR, TRACE, TRUE, TYPELESS_DEFAULT_TYPE, Variable, Warning, and XREF_RECS.
Referenced by parse_block_stmt(), parse_function_stmt(), parse_module_stmt(), parse_prefix_spec(), parse_prog_unit(), parse_program_stmt(), parse_subroutine_stmt(), parse_typed_function_stmt(), and stmt_level_semantics().
boolean stmt_has_double_colon | ( | void | ) |
Definition at line 6121 of file src_input.c.
References colon, FALSE, Fixed_Form, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, NULL, rparen, source_form, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, and TRUE.
Referenced by parse_prog_unit(), and parse_type_dcl_stmt().
boolean stmt_is_DATA_stmt | ( | void | ) |
Definition at line 6039 of file src_input.c.
References equal, EXIT, FALSE, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, NULL, percent, result, rparen, sig_blank, slash, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, and TRUE.
Referenced by determine_stmt_type().
boolean stmt_is_DO_stmt | ( | void | ) |
Definition at line 6215 of file src_input.c.
References comma, equal, FALSE, Func_Entry, Func_Exit, idx, lines_in_buf, lparen, NULL, result, rparen, stmt_buf, stmt_buf_idx, stmt_line_end_idx, stmt_line_idx, stmt_line_offset, stmt_line_start_idx, TRACE, and TRUE.
Referenced by determine_stmt_type().
boolean stmt_is_save_stmt | ( | int | , |
int | |||
) |
Definition at line 7409 of file src_input.c.
References EXIT, FALSE, Free_Form, Func_Entry, Func_Exit, LA_CH_VALUE, NEXT_LA_CH, NULL, reset_src_input(), source_form, TRACE, and TRUE.
Definition at line 92 of file p_driver.h.
Referenced by init_parse_prog_unit(), match_blk(), move_blk_to_end(), parse_if_stmt(), and parse_prog_unit().
int blk_stk_idx |
Definition at line 93 of file p_driver.h.
Referenced by blk_match_err(), build_fwd_ref_entry(), check_do_open_mp_nesting(), check_for_dup_derived_type_lbl(), check_for_vestigial_task_blks(), check_label_ref(), check_loop_bottom_nesting(), check_mp_dir_nesting(), check_ordered_open_mp_nesting(), check_section_open_mp_context(), cif_begin_scope_rec(), cif_end_scope_rec(), cif_prog_unit_init(), cif_unit_rec(), collapse_interface_blk(), dump_blk_ntry(), end_do_blk(), end_do_parallel_blk(), end_if_blk(), end_interface_blk(), end_interface_body(), end_labeled_do(), end_open_mp_do_blk(), end_open_mp_parallel_do_blk(), end_pdo_blk(), end_select_blk(), end_SGI_parallel_blk(), end_task_do_blk(), iss_blk_stk_err(), loop_end_processing(), loop_top_is_perfectly_nested(), match_blk(), move_blk_to_end(), parse_case_stmt(), parse_contains_stmt(), parse_cpnt_dcl_stmt(), parse_dir_directives(), parse_do_stmt(), parse_else_stmt(), parse_end_stmt(), parse_forall(), parse_if_stmt(), parse_interface_stmt(), parse_mic_directives(), parse_open_mp_directives(), parse_par_directives(), parse_prog_unit(), parse_select_stmt(), parse_star_dir_directives(), parse_typed_function_stmt(), pop_and_err_blk_stk(), print_blk(), print_blk_tbl(), process_blockable_dir(), process_interchange_dir(), remove_do_parallel_blk(), remove_pdo_blk(), set_up_fake_dt_blk(), start_new_subpgm(), and stmt_level_semantics().
int blk_stk_inc |
Definition at line 94 of file p_driver.h.
Referenced by print_mem_usage_report().
Definition at line 95 of file p_driver.h.
Referenced by print_mem_usage_report().
Definition at line 99 of file p_driver.h.
int blk_stk_limit |
Definition at line 97 of file p_driver.h.
int blk_stk_num_wds |
Definition at line 98 of file p_driver.h.
Referenced by print_mem_usage_report().
int blk_stk_size |
Definition at line 96 of file p_driver.h.
Definition at line 76 of file fecif.h.
Referenced by cif_end_unit_rec(), cif_prog_unit_init(), init_cif(), and parse_end_stmt().
Definition at line 77 of file fecif.h.
Referenced by cif_end_unit_rec(), and parse_end_stmt().
Definition at line 125 of file main.h.
Referenced by end_blockdata(), end_function(), end_module(), end_program_unit(), end_subroutine(), init_compiler(), and parse_prog_unit().
Definition at line 101 of file p_driver.h.
Referenced by parse_cpnt_dcl_stmt(), parse_derived_type_stmt(), parse_err_flush(), parse_intent_stmt(), and parse_type_dcl_stmt().
Definition at line 102 of file p_driver.h.
Referenced by dump_blk_ntry(), end_blockdata(), end_function(), end_interface_body(), end_internal_proc(), end_module(), end_module_proc(), end_program_unit(), end_subroutine(), init_parse_prog_unit(), parse_access_stmt(), parse_allocate_stmt(), parse_assign_stmt(), parse_assignment_stmt(), parse_attrs(), parse_backspace_stmt(), parse_buffer_stmt(), parse_call_stmt(), parse_case_stmt(), parse_close_stmt(), parse_common_stmt(), parse_contains_stmt(), parse_continue_stmt(), parse_cycle_stmt(), parse_data_stmt(), parse_deallocate_stmt(), parse_decode_stmt(), parse_derived_type_stmt(), parse_dir_directives(), parse_do_stmt(), parse_else_stmt(), parse_encode_stmt(), parse_end_stmt(), parse_endfile_stmt(), parse_entry_stmt(), parse_equivalence_stmt(), parse_exit_stmt(), parse_forall(), parse_format_stmt(), parse_function_stmt(), parse_goto_stmt(), parse_if_stmt(), parse_implicit_stmt(), parse_inquire_stmt(), parse_interface_stmt(), parse_module_stmt(), parse_namelist_stmt(), parse_nullify_stmt(), parse_open_mp_directives(), parse_open_stmt(), parse_parameter_stmt(), parse_pointer_stmt(), parse_prefix_spec(), parse_print_stmt(), parse_prog_unit(), parse_read_stmt(), parse_return_stmt(), parse_rewind_stmt(), parse_save_stmt(), parse_select_stmt(), parse_star_directives(), parse_stmt_func_stmt(), parse_stop_pause_stmt(), parse_subroutine_stmt(), parse_type_dcl_stmt(), parse_typed_function_stmt(), parse_use_stmt(), parse_where_stmt(), parse_write_stmt(), start_new_prog_unit(), start_new_subpgm(), and stmt_level_semantics().
long directive_state |
Definition at line 4022 of file p_directiv.h.
Referenced by directive_region_error(), and init_directive().
Definition at line 104 of file p_driver.h.
Referenced by end_blockdata(), end_function(), end_module(), end_program_unit(), end_subroutine(), init_parse_prog_unit(), parse_end_stmt(), and parse_prog_unit().
int if_stmt_lbl_idx |
Definition at line 111 of file p_driver.h.
Referenced by check_label_ref(), gen_if_ir(), init_parse_prog_unit(), iss_blk_stk_err(), parse_end_stmt(), and parse_if_stmt().
Definition at line 113 of file p_driver.h.
Referenced by ck_lbl_construct_name(), fixed_get_stmt(), free_get_stmt(), and parse_prog_unit().
Definition at line 114 of file p_driver.h.
Referenced by check_for_dup_derived_type_lbl(), ck_lbl_construct_name(), gen_attr_and_IR_for_lbl(), and parse_prog_unit().
Definition at line 116 of file p_driver.h.
Referenced by init_sytb(), parse_block_stmt(), parse_function_stmt(), parse_module_stmt(), parse_prefix_spec(), parse_prog_unit(), parse_program_stmt(), parse_subroutine_stmt(), parse_typed_function_stmt(), and stmt_level_semantics().
Definition at line 117 of file p_driver.h.
Referenced by merge_intent(), parse_attr_spec(), parse_intent_stmt(), and parse_type_dcl_stmt().
char* obj_str[] |
Definition at line 126 of file p_driver.h.
Referenced by fnd_semantic_err(), and merge_type().
Definition at line 119 of file p_driver.h.
Referenced by ck_lbl_construct_name(), parse_do_stmt(), parse_forall(), parse_if_stmt(), parse_prog_unit(), parse_select_stmt(), parse_where_stmt(), and stmt_level_semantics().
long long stmt_in_blk[] |
Definition at line 468 of file p_driver.h.
int stmt_line_idx |
Definition at line 217 of file src_input.h.
Referenced by digit_is_format_label(), fixed_get_char(), fixed_get_char_literal(), fixed_get_stmt(), free_get_char(), free_get_char_literal(), free_get_stmt(), is_implied_do(), is_substring_ref(), next_arg_is_kwd_equal(), next_id_is_imp_control(), next_tok_is_paren_slash(), parse_end_stmt(), prev_char_line_and_col(), print_err_line(), put_char_const_in_tbl(), put_format_in_tbl(), reset_src_input(), scan_thru_close_paren(), set_stmt_type_known(), stmt_has_double_colon(), stmt_is_DATA_stmt(), and stmt_is_DO_stmt().
void(* stmt_parsers[])() |
Definition at line 300 of file p_driver.h.
Referenced by parse_forall(), parse_if_stmt(), parse_prog_unit(), and parse_where_stmt().
Definition at line 5129 of file p_driver.h.
Definition at line 813 of file type.h.
Referenced by init_parse_prog_unit(), and init_type().