Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cond_comp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  cc_id_str_entry
struct  cc_darg_entry
struct  cc_arg_entry
struct  cc_token_entry
struct  cc_attr_entry
struct  cc_blk_stk_entry

Typedefs

typedef enum cc_token_values cc_token_values_type
typedef union cc_id_str_entry cc_id_str_type
typedef struct cc_darg_entry cc_darg_type
typedef struct cc_arg_entry cc_arg_type
typedef struct cc_token_entry cc_token_type
typedef struct cc_attr_entry cc_attr_tbl_type
typedef struct name_tbl_entry cc_ln_tbl_type
typedef enum cc_blk_values cc_blk_type
typedef struct cc_blk_stk_entry cc_blk_stk_tbl_type

Enumerations

enum  cc_token_values {
  Cc_Tok_Unknown, Cc_Tok_Id, Cc_Tok_Constant, Cc_Tok_Kwd_Define,
  Cc_Tok_Kwd_Defined, Cc_Tok_Kwd_Elif, Cc_Tok_Kwd_Else, Cc_Tok_Kwd_Endif,
  Cc_Tok_Kwd_Error, Cc_Tok_Kwd_If, Cc_Tok_Kwd_Ifdef, Cc_Tok_Kwd_Ifndef,
  Cc_Tok_Kwd_Include, Cc_Tok_Kwd_Undef, Cc_Tok_Op_Add, Cc_Tok_Op_Div,
  Cc_Tok_Op_Mult, Cc_Tok_Op_Sub, Cc_Tok_Op_Eq, Cc_Tok_Op_Ge,
  Cc_Tok_Op_Gt, Cc_Tok_Op_Le, Cc_Tok_Op_Lt, Cc_Tok_Op_Ne,
  Cc_Tok_Op_And, Cc_Tok_Op_Band, Cc_Tok_Op_Neqv, Cc_Tok_Op_Not,
  Cc_Tok_Op_Or, Cc_Tok_Op_Bor, Cc_Tok_Op_Mod, Cc_Tok_Op_Lshift,
  Cc_Tok_Op_Rshift, Cc_Tok_Op_Bnot, Cc_Tok_EOS
}
enum  cc_blk_values {
  Cc_No_Blk, Cc_Elif_Blk, Cc_Else_Blk, Cc_If_Blk,
  Cc_Ifdef_Blk, Cc_Ifndef_Blk
}

Functions

void read_line (boolean)
void ntr_next_msg_queue (int, int, msg_severities_type, int, char *, long, int)
void get_curr_file_name (char *)

Variables

cc_id_str_type temp_id_str
cc_stmt_buf_line_type cc_stmt_buf_line [200]
long cc_stmt_buf_num_lines
cc_attr_tbl_typecc_attr_tbl
int cc_attr_tbl_idx = NULL_IDX
int cc_attr_tbl_inc = 100
int cc_attr_tbl_init_size = 100
int cc_attr_tbl_limit = (1 << 20) - 1
int cc_attr_tbl_num_wds = CC_NUM_AT_WDS
int cc_attr_tbl_size = 0
int cc_attr_tbl_largest_idx = NULL_IDX
cc_ln_tbl_typecc_ln_tbl
int cc_ln_tbl_idx = NULL_IDX
int cc_ln_tbl_inc = 100
int cc_ln_tbl_init_size = 100
int cc_ln_tbl_limit = (1 << 20) - 1
int cc_ln_tbl_num_wds = 1
int cc_ln_tbl_size = 0
int cc_ln_tbl_largest_idx = NULL_IDX
int cc_ln_fw_idx
int cc_ln_lw_idx
cc_blk_stk_tbl_typecc_blk_stk_tbl
int cc_blk_stk_tbl_idx = NULL_IDX
int cc_blk_stk_tbl_inc = 10
int cc_blk_stk_tbl_init_size = 10
int cc_blk_stk_tbl_limit = (1 << 20) - 1
int cc_blk_stk_tbl_num_wds = 1
int cc_blk_stk_tbl_size = 0
int cc_blk_stk_tbl_largest_idx = NULL_IDX
int cc_blk_stk_top = NULL_IDX
static cc_token_type cc_token
static cc_token_type cc_initial_token
static la_type cc_la_ch
char cc_stmt_buf [MAX_STMT_CHAR_SIZE]
int cc_stmt_buf_idx
int cc_stmt_buf_len
int prev_idx
int nxt_line [MAX_SRC_LINE_SIZE]
int nxt_line_col [MAX_SRC_LINE_SIZE]
int nxt_line_start_idx [MAX_FIXED_LINES+1]
int nxt_line_end_idx [MAX_FIXED_LINES+1]
int pp_nxt_line_length [MAX_FIXED_LINES+1]
int pp_nxt_line_idx [MAX_FIXED_LINES+1]
int pp_nxt_line_num [MAX_FIXED_LINES+1]
line_type pp_nxt_line_type [MAX_FIXED_LINES+1]
int pp_nxt_line_EOL [MAX_FIXED_LINES+1]
boolean pp_nxt_line_mp_line [MAX_FIXED_LINES+1]
int pp_orig_line_size [MAX_FIXED_LINES+1]
boolean pp_change_source_form [MAX_FIXED_LINES+1]
line_type pp_expected_line [MAX_FIXED_LINES+1]
int nxt_line_num_lines
int pp_line_idx
int extra_nxt_line
char include_file [MAX_FILE_NAME_SIZE]
boolean ignore_source_line
int line_size
int orig_line_size
ch_class_type ch_class []
int lc_a
int uc_a
int lc_b
int uc_b
int lc_c
int uc_c
int lc_d
int uc_d
int lc_e
int uc_e
int lc_f
int uc_f
int lc_g
int uc_g
int lc_h
int uc_h
int lc_i
int uc_i
int lc_l
int uc_l
int lc_m
int uc_m
int lc_n
int uc_n
int lc_o
int uc_o
int lc_r
int uc_r
int lc_t
int uc_t
int dot
int star
int quote
int db_quote
int blank
int marked_blank
int tab
int newline
int bang
int lparen
int rparen
int equal
int slash
int underscore
int dollar
int amp
int percent
int at_sign
int semi_colon
int colon
int eos
int one
int nine
int zero
int comma
int pound
int greater
int less
int lbrkt
int rbrkt
FILE * dot_i_fptr
boolean angle_brkt_include
static boolean cc_line_continued
int end_stmt_line_idx
int cc_curr_glb_line
int line_macro_idx
int LINE_macro_idx
int file_macro_idx
int FILE_macro_idx
int date_macro_idx
int DATE_macro_idx
int time_macro_idx
int TIME_macro_idx

Typedef Documentation

typedef struct cc_arg_entry cc_arg_type

Definition at line 100 of file cond_comp.h.

Definition at line 137 of file cond_comp.h.

Definition at line 187 of file cond_comp.h.

typedef enum cc_blk_values cc_blk_type

Definition at line 174 of file cond_comp.h.

typedef struct cc_darg_entry cc_darg_type

Definition at line 92 of file cond_comp.h.

Definition at line 84 of file cond_comp.h.

Definition at line 149 of file cond_comp.h.

typedef struct cc_token_entry cc_token_type

Definition at line 123 of file cond_comp.h.

Definition at line 81 of file cond_comp.h.


Enumeration Type Documentation

Enumerator:
Cc_No_Blk 
Cc_Elif_Blk 
Cc_Else_Blk 
Cc_If_Blk 
Cc_Ifdef_Blk 
Cc_Ifndef_Blk 

Definition at line 167 of file cond_comp.h.

Enumerator:
Cc_Tok_Unknown 
Cc_Tok_Id 
Cc_Tok_Constant 
Cc_Tok_Kwd_Define 
Cc_Tok_Kwd_Defined 
Cc_Tok_Kwd_Elif 
Cc_Tok_Kwd_Else 
Cc_Tok_Kwd_Endif 
Cc_Tok_Kwd_Error 
Cc_Tok_Kwd_If 
Cc_Tok_Kwd_Ifdef 
Cc_Tok_Kwd_Ifndef 
Cc_Tok_Kwd_Include 
Cc_Tok_Kwd_Undef 
Cc_Tok_Op_Add 
Cc_Tok_Op_Div 
Cc_Tok_Op_Mult 
Cc_Tok_Op_Sub 
Cc_Tok_Op_Eq 
Cc_Tok_Op_Ge 
Cc_Tok_Op_Gt 
Cc_Tok_Op_Le 
Cc_Tok_Op_Lt 
Cc_Tok_Op_Ne 
Cc_Tok_Op_And 
Cc_Tok_Op_Band 
Cc_Tok_Op_Neqv 
Cc_Tok_Op_Not 
Cc_Tok_Op_Or 
Cc_Tok_Op_Bor 
Cc_Tok_Op_Mod 
Cc_Tok_Op_Lshift 
Cc_Tok_Op_Rshift 
Cc_Tok_Op_Bnot 
Cc_Tok_EOS 

Definition at line 39 of file cond_comp.h.


Function Documentation

void get_curr_file_name ( char *  )

Definition at line 8724 of file src_input.c.

References Func_Entry, Func_Exit, NULL, SRC_STK_FILE_NAME, src_stk_idx, and TRACE.

Referenced by get_dynamic_predef_str().


Variable Documentation

int amp

Definition at line 286 of file src_input.h.

Referenced by cc_get_stmt(), fixed_classify_line(), and free_classify_line().

Definition at line 139 of file cond_comp.h.

Referenced by init_cond_comp().

Definition at line 140 of file cond_comp.h.

int cc_attr_tbl_inc = 100

Definition at line 141 of file cond_comp.h.

Definition at line 142 of file cond_comp.h.

Definition at line 146 of file cond_comp.h.

int cc_attr_tbl_limit = (1 << 20) - 1

Definition at line 143 of file cond_comp.h.

Definition at line 144 of file cond_comp.h.

Definition at line 145 of file cond_comp.h.

Definition at line 189 of file cond_comp.h.

Referenced by init_cond_comp().

Definition at line 190 of file cond_comp.h.

Definition at line 191 of file cond_comp.h.

Definition at line 192 of file cond_comp.h.

Definition at line 196 of file cond_comp.h.

int cc_blk_stk_tbl_limit = (1 << 20) - 1

Definition at line 193 of file cond_comp.h.

Definition at line 194 of file cond_comp.h.

Definition at line 195 of file cond_comp.h.

Definition at line 197 of file cond_comp.h.

Definition at line 319 of file cond_comp.h.

la_type cc_la_ch [static]

Definition at line 201 of file cond_comp.h.

Definition at line 315 of file cond_comp.h.

Referenced by cc_get_stmt(), and parse_cc_line().

Definition at line 164 of file cond_comp.h.

Referenced by init_cond_comp(), and srch_cc_sym_tbl().

Definition at line 165 of file cond_comp.h.

Referenced by init_cond_comp(), ntr_cc_sym_tbl(), and srch_cc_sym_tbl().

Definition at line 151 of file cond_comp.h.

Referenced by init_cond_comp(), ntr_cc_sym_tbl(), and srch_cc_sym_tbl().

Definition at line 152 of file cond_comp.h.

Referenced by init_cond_comp(), and ntr_cc_sym_tbl().

int cc_ln_tbl_inc = 100

Definition at line 153 of file cond_comp.h.

Definition at line 154 of file cond_comp.h.

Definition at line 162 of file cond_comp.h.

int cc_ln_tbl_limit = (1 << 20) - 1

Definition at line 155 of file cond_comp.h.

Definition at line 159 of file cond_comp.h.

int cc_ln_tbl_size = 0

Definition at line 161 of file cond_comp.h.

Definition at line 205 of file cond_comp.h.

Referenced by cc_get_stmt(), flush_cc_line(), and shift_cc_stmt_buf().

int colon

Definition at line 290 of file src_input.h.

Referenced by is_substring_ref(), and stmt_has_double_colon().

Definition at line 330 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

Definition at line 331 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

int db_quote

Definition at line 267 of file src_input.h.

Referenced by fixed_classify_line(), free_classify_line(), and parse_cc_line().

int dot

Definition at line 264 of file src_input.h.

Referenced by digit_is_format_label(), and DRA_Process_Commons().

Definition at line 328 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

Definition at line 329 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

int greater

Definition at line 297 of file src_input.h.

Referenced by is_implied_do().

int lbrkt

Definition at line 280 of file src_input.h.

Referenced by scan_fortran_macro(), set_stmt_type_known(), and whats_after_brkt_group().

int lc_a

Definition at line 230 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_b

Definition at line 232 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int lc_c

Definition at line 234 of file src_input.h.

Referenced by fixed_classify_line(), free_classify_line(), and pp_get_stmt().

int lc_d

Definition at line 236 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int lc_e

Definition at line 238 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int lc_f

Definition at line 240 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_g

Definition at line 242 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_h

Definition at line 244 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int lc_i

Definition at line 246 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_l

Definition at line 248 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int lc_m

Definition at line 250 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_n

Definition at line 252 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_o

Definition at line 254 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int lc_r

Definition at line 258 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int lc_t

Definition at line 262 of file src_input.h.

int less

Definition at line 298 of file src_input.h.

Referenced by is_implied_do().

Definition at line 326 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

Definition at line 327 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

Definition at line 273 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int nine

Definition at line 293 of file src_input.h.

Referenced by fixed_classify_line().

int percent

Definition at line 287 of file src_input.h.

Referenced by next_id_is_imp_control(), set_stmt_type_known(), and stmt_is_DATA_stmt().

Definition at line 196 of file src_input.h.

Referenced by adjust_continued_macro().

Definition at line 191 of file src_input.h.

Referenced by adjust_continued_macro(), get_nxt_line(), and read_line().

Definition at line 192 of file src_input.h.

Referenced by read_line().

Definition at line 197 of file src_input.h.

Referenced by adjust_continued_macro(), and shift_nxt_line().

int quote

Definition at line 266 of file src_input.h.

Referenced by fixed_classify_line(), free_classify_line(), and parse_cc_line().

int rbrkt

Definition at line 281 of file src_input.h.

Referenced by scan_fortran_macro(), and whats_after_brkt_group().

int star

Definition at line 265 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

Definition at line 90 of file cond_comp.h.

Referenced by enter_cmd_line_cc_define().

Definition at line 332 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

Definition at line 333 of file cond_comp.h.

Referenced by enter_predefined_macros(), and get_dynamic_predef_str().

int uc_a

Definition at line 231 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_b

Definition at line 233 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int uc_c

Definition at line 235 of file src_input.h.

Referenced by fixed_classify_line(), free_classify_line(), and pp_get_stmt().

int uc_d

Definition at line 237 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int uc_e

Definition at line 239 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int uc_f

Definition at line 241 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_g

Definition at line 243 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_h

Definition at line 245 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int uc_i

Definition at line 247 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_l

Definition at line 249 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int uc_m

Definition at line 251 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_n

Definition at line 253 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_o

Definition at line 255 of file src_input.h.

Referenced by fixed_classify_line(), and free_classify_line().

int uc_r

Definition at line 259 of file src_input.h.

Referenced by digit_is_format_label(), fixed_classify_line(), and free_classify_line().

int uc_t

Definition at line 263 of file src_input.h.

int zero

Definition at line 294 of file src_input.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines