Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define ARG_ARG 2 |
Definition at line 61 of file src_input.m.
Referenced by fixed_classify_line(), free_classify_line(), issue_deferred_msgs(), move_up_next_msg_queue(), and parse_cc_line().
#define ARG_STR_ARG 4 |
Definition at line 63 of file src_input.m.
Referenced by fixed_get_stmt(), free_get_stmt(), issue_deferred_msgs(), and move_up_next_msg_queue().
#define CONTINUE_COLUMN 6 /* fixed src continuation col */ |
Definition at line 43 of file src_input.m.
Referenced by fixed_classify_line(), fixed_get_stmt(), free_get_stmt(), pp_get_stmt(), and read_line().
#define FIXED_SRC_LINE_SIZE_132 132 /* alt fixed src line size */ |
Definition at line 76 of file src_input.m.
Referenced by free_get_char(), init_src_input(), and preprocess_only_driver().
#define FIXED_SRC_LINE_SIZE_72 72 /* std fixed src line size */ |
Definition at line 74 of file src_input.m.
Referenced by free_get_char(), init_src_input(), and preprocess_only_driver().
#define FIXED_SRC_LINE_SIZE_80 80 /* alt fixed src line size */ |
Definition at line 75 of file src_input.m.
Referenced by free_get_char(), init_src_input(), and preprocess_only_driver().
#define FREE_SRC_LINE_SIZE 132 /* std free src line size */ |
Definition at line 77 of file src_input.m.
Referenced by fixed_get_char(), init_src_input(), preprocess_only_driver(), and read_line().
Definition at line 111 of file src_input.m.
Referenced by fixed_classify_line().
#define IS_DIR_CONTINUATION | ( | DIR | ) |
((nxt_line_num_lines > 1 && \ pp_nxt_line_type[1] == Dir_Line && \ pp_nxt_line_dir_prefix[1] == DIR) || \ (nxt_line_num_lines <= 1 && \ stmt_buf_type == Dir_Line && \ stmt_buf_dir_prefix == DIR))
Definition at line 207 of file src_input.m.
Referenced by fixed_classify_line(), and free_classify_line().
#define MARK_CHAR_CONST | ( | CH | ) | ((CH) = (((unsigned)1 << SIGN_BIT) | (CH))) |
Definition at line 151 of file src_input.m.
Referenced by fixed_classify_line(), and free_classify_line().
#define MASK_CHAR_CONST_IDX 017777777400 |
Definition at line 57 of file src_input.m.
Referenced by put_format_in_tbl().
#define MAX_ANSI_FIXED_LINES 20 |
Definition at line 84 of file src_input.m.
Referenced by fixed_get_stmt().
#define MAX_ANSI_FREE_LINES 40 |
Definition at line 85 of file src_input.m.
Referenced by free_get_stmt().
#define MAX_ASCII_CHARS 256 /* max ascii characters */ |
Definition at line 70 of file src_input.m.
#define MAX_FIXED_LINES 100 |
Definition at line 86 of file src_input.m.
Referenced by fixed_get_stmt(), and pp_get_stmt().
#define MAX_FREE_LINES 100 |
Definition at line 87 of file src_input.m.
Referenced by free_get_stmt().
#define MAX_SRC_LINE_SIZE 135 /* maximum source line size */ |
Definition at line 78 of file src_input.m.
#define MAX_STMT_CHAR_SIZE 13500 /* maximum statement size */ |
Definition at line 80 of file src_input.m.
Referenced by cc_get_stmt(), read_line(), and shift_nxt_line().
#define MULT_STR_ARG 5 |
Definition at line 64 of file src_input.m.
Referenced by issue_deferred_msgs().
#define NO_ARG 0 |
Definition at line 59 of file src_input.m.
Referenced by cc_get_stmt(), fixed_classify_line(), fixed_get_char(), fixed_get_stmt(), free_classify_line(), free_get_char(), free_get_stmt(), issue_deferred_msgs(), move_up_next_msg_queue(), parse_cc_line(), pp_get_stmt(), and read_line().
#define NUM_MQ_WDS 5 |
Definition at line 53 of file src_input.m.
Referenced by ntr_msg_queue(), and ntr_next_msg_queue().
#define NXT_COL | ( | COL | ) | (nxt_line_start_idx[pp_line_idx]+(COL)-1) |
Definition at line 191 of file src_input.m.
Referenced by cc_advance_idx(), fixed_classify_line(), fixed_get_stmt(), free_classify_line(), free_get_stmt(), is_pound_line_dir(), open_include_file(), pp_get_stmt(), print_err_line(), print_nxt_line(), scan_fixed_comment(), and scan_fortran_stmt().
#define OUTPUT_POUND_INCLUDE_EXIT_LINE | ( | GLB_LINE | ) |
if (on_off_flags.output_pound_lines && \ (on_off_flags.preprocess_only || on_off_flags.save_dot_i)) { \ int _g_idx; int _file_line; \ GLOBAL_LINE_TO_FILE_LINE(GLB_LINE, _g_idx, _file_line); \ fprintf(dot_i_fptr,"# %d \"%s\" 2\n", _file_line, \ SRC_STK_FILE_NAME(src_stk_idx)); \ fprintf(dot_i_fptr,"# %d \"%s\"\n", _file_line, \ SRC_STK_FILE_NAME(src_stk_idx)); \ }
Definition at line 127 of file src_input.m.
Referenced by fixed_get_stmt(), free_get_stmt(), pp_get_stmt(), and preprocess_only_driver().
#define OUTPUT_POUND_LINE_NUM | ( | GLB_LINE | ) |
if (on_off_flags.output_pound_lines && \ (on_off_flags.preprocess_only || on_off_flags.save_dot_i)) { \ int _g_idx; int _file_line; \ GLOBAL_LINE_TO_FILE_LINE(GLB_LINE, _g_idx, _file_line); \ fprintf(dot_i_fptr,"# %d\n", _file_line); \ }
Definition at line 138 of file src_input.m.
Referenced by print_nxt_line().
#define POP_SRC |
{ if (! SRC_STK_DO_NOT_FCLOSE(src_stk_idx)) \ fclose(SRC_STK_FILE_PTR(src_stk_idx)); \ if (src_stk_idx == NULL_IDX) { /* src_stk_idx underflow */ \ PRINTMSG (curr_glb_line, 12, Internal, 0, "src_stk_idx"); \ } \ src_stk_idx--; \ }
Definition at line 118 of file src_input.m.
Referenced by fixed_get_stmt(), free_get_stmt(), and preprocess_only_driver().
Definition at line 197 of file src_input.m.
Referenced by classify_line(), fixed_classify_line(), free_classify_line(), and print_nxt_line().
Definition at line 205 of file src_input.m.
Referenced by classify_line(), fixed_classify_line(), free_classify_line(), and pp_get_stmt().
Definition at line 196 of file src_input.m.
Referenced by classify_line(), fixed_classify_line(), and free_classify_line().
#define PP_EOL pp_nxt_line_EOL[pp_line_idx] |
Definition at line 200 of file src_input.m.
Referenced by cc_advance_idx(), classify_line(), fixed_classify_line(), free_classify_line(), init_src_input(), and print_nxt_line().
#define PP_EXPECTED_LINE pp_expected_line[pp_line_idx] |
Definition at line 203 of file src_input.m.
Referenced by classify_line(), free_classify_line(), open_include_file(), and pp_get_stmt().
#define PP_IDX pp_nxt_line_idx[pp_line_idx] |
Definition at line 194 of file src_input.m.
Referenced by cc_advance_idx(), classify_line(), fixed_classify_line(), free_classify_line(), and pp_get_stmt().
#define PP_IDX_TO_COL | ( | IDX | ) | ((IDX - nxt_line_start_idx[pp_line_idx]) + 1) |
Definition at line 192 of file src_input.m.
Referenced by classify_line(), and print_nxt_line().
#define PP_LABEL pp_nxt_line_label[pp_line_idx] |
Definition at line 201 of file src_input.m.
Referenced by classify_line(), and fixed_classify_line().
#define PP_LINE_NUM pp_nxt_line_num[pp_line_idx] |
Definition at line 199 of file src_input.m.
Referenced by classify_line(), find_line_and_col(), fixed_classify_line(), free_classify_line(), open_include_file(), pp_get_stmt(), print_nxt_line(), and scan_fortran_macro().
#define PP_LINE_TYPE pp_nxt_line_type[pp_line_idx] |
Definition at line 195 of file src_input.m.
Referenced by cc_advance_idx(), classify_line(), fixed_classify_line(), free_classify_line(), init_src_input(), open_include_file(), pp_get_stmt(), print_nxt_line(), and scan_fixed_comment().
#define PP_MP_LINE pp_nxt_line_mp_line[pp_line_idx] |
Definition at line 202 of file src_input.m.
Referenced by classify_line(), fixed_classify_line(), free_classify_line(), pp_get_stmt(), and print_nxt_line().
#define PP_ORIG_SIZE pp_orig_line_size[pp_line_idx] |
Definition at line 204 of file src_input.m.
Referenced by fixed_classify_line(), fixed_get_stmt(), free_classify_line(), free_get_stmt(), pp_get_stmt(), and preprocess_only_driver().
Definition at line 198 of file src_input.m.
Referenced by classify_line(), fixed_classify_line(), and free_classify_line().
#define PRINT_STMT_SRC | ( | ) |
if (dump_flags.src_dmp) { \ print_src(); \ }
Definition at line 155 of file src_input.m.
Referenced by fixed_get_stmt(), and free_get_stmt().
#define RESTORE_GLOBAL_VARIABLES |
prev_char_delim = save_prev_char_delim; \ prev_char_delim_idx = save_prev_char_delim_idx; \ previous_char = save_previous_char; \ seen_lp_eq_slash = save_seen_lp_eq_slash; \ char_delim = save_char_delim; \ digit_start = save_digit_start; \ format_idx = save_format_idx; \ in_format = save_in_format; \ expected_line = save_expected_line; \ first_line = save_first_line;
Definition at line 179 of file src_input.m.
Referenced by pp_get_stmt().
#define SAVE_GLOBAL_VARIABLES |
save_prev_char_delim = prev_char_delim; \ save_prev_char_delim_idx = prev_char_delim_idx; \ save_previous_char = previous_char; \ save_seen_lp_eq_slash = seen_lp_eq_slash; \ save_char_delim = char_delim; \ save_digit_start = digit_start; \ save_format_idx = format_idx; \ save_in_format = in_format; \ save_expected_line = expected_line; \ save_first_line = first_line;
Definition at line 167 of file src_input.m.
Referenced by pp_get_stmt().
#define SIGN_BIT 31 |
Definition at line 49 of file src_input.m.
#define SRC_STK_BASE_IDX 1 |
Definition at line 94 of file src_input.m.
Referenced by fixed_get_stmt(), free_get_stmt(), get_src_path_name(), init_src_input(), open_include_file(), and preprocess_only_driver().
#define SRC_STK_CIF_FILE_ID | ( | IDX | ) | src_stk[IDX].cif_file_id |
Definition at line 96 of file src_input.m.
Referenced by init_src_input(), open_include_file(), print_src_stk_entry(), and update_global_line().
#define SRC_STK_DO_NOT_FCLOSE | ( | IDX | ) | src_stk[IDX].do_not_fclose |
Definition at line 100 of file src_input.m.
Referenced by open_include_file().
#define SRC_STK_FILE_IDX | ( | IDX | ) | src_stk[IDX].file_idx |
Definition at line 97 of file src_input.m.
Referenced by init_src_input(), open_include_file(), and print_src_stk_entry().
#define SRC_STK_FILE_LINE | ( | IDX | ) | src_stk[IDX].file_line |
Definition at line 98 of file src_input.m.
Referenced by fixed_classify_line(), fixed_get_stmt(), free_classify_line(), free_get_stmt(), init_src_input(), open_include_file(), pp_get_stmt(), preprocess_only_driver(), print_src_stk_entry(), read_line(), and update_global_line().
#define SRC_STK_FILE_NAME | ( | IDX | ) | &src_stk[IDX].path_name[src_stk[IDX].file_idx] |
Definition at line 99 of file src_input.m.
Referenced by get_curr_file_name(), init_src_input(), and update_global_line().
#define SRC_STK_FILE_PTR | ( | IDX | ) | src_stk[IDX].file_ptr |
Definition at line 101 of file src_input.m.
Referenced by init_src_input(), open_include_file(), and read_line().
#define SRC_STK_FILE_TYPE | ( | IDX | ) | src_stk[IDX].file_type |
Definition at line 102 of file src_input.m.
Referenced by init_src_input(), open_include_file(), and print_src_stk_entry().
#define SRC_STK_GLOBAL_LINE_IDX | ( | IDX | ) | src_stk[IDX].global_line_first_idx |
Definition at line 103 of file src_input.m.
Referenced by fixed_get_stmt(), free_get_stmt(), init_src_input(), open_include_file(), preprocess_only_driver(), and update_global_line().
#define SRC_STK_PATH_NAME | ( | IDX | ) | src_stk[IDX].path_name |
Definition at line 105 of file src_input.m.
Referenced by get_src_path_name(), init_src_input(), open_include_file(), print_src_stk_entry(), and update_global_line().
#define SRC_STK_PREV_SRC_FORM | ( | IDX | ) | src_stk[IDX].prev_src_form |
Definition at line 104 of file src_input.m.
Referenced by fixed_get_stmt(), free_get_stmt(), init_src_input(), open_include_file(), preprocess_only_driver(), and print_src_stk_entry().
#define STR_ARG 1 |
Definition at line 60 of file src_input.m.
Referenced by fixed_classify_line(), issue_deferred_msgs(), move_up_next_msg_queue(), open_include_file(), parse_cc_line(), parse_cc_operand(), parse_define_str(), scan_cc_macro(), and scan_fortran_macro().
#define STR_ARG_ARG 3 |
Definition at line 62 of file src_input.m.
Referenced by copy_define_str(), issue_deferred_msgs(), and move_up_next_msg_queue().