stage3/fill_candidate_datatypes.hh
changeset 940 61e2bdae5899
parent 939 5074236fb3c4
child 945 477393b00f95
equal deleted inserted replaced
939:5074236fb3c4 940:61e2bdae5899
    76      * fill_candidate_datatypes_c::visit(enumerated_spec_init_c *symbol) function to
    76      * fill_candidate_datatypes_c::visit(enumerated_spec_init_c *symbol) function to
    77      * fill_candidate_datatypes_c::visit(enumerated_value_list_c *symbol) function.
    77      * fill_candidate_datatypes_c::visit(enumerated_value_list_c *symbol) function.
    78      */
    78      */
    79     symbol_c *current_enumerated_spec_type;
    79     symbol_c *current_enumerated_spec_type;
    80     
    80     
       
    81     /* pointer to the Function, FB, or Program currently being analysed */
       
    82     symbol_c *current_scope;
    81     /* Pointer to the previous IL instruction, which contains the current data type (actually, the list of candidate data types) of the data stored in the IL stack, i.e. the default variable, a.k.a. accumulator */
    83     /* Pointer to the previous IL instruction, which contains the current data type (actually, the list of candidate data types) of the data stored in the IL stack, i.e. the default variable, a.k.a. accumulator */
    82     symbol_c *prev_il_instruction;
    84     symbol_c *prev_il_instruction;
    83     /* the current IL operand being analyzed */
    85     /* the current IL operand being analyzed */
    84     symbol_c *il_operand;
    86     symbol_c *il_operand;
    85     symbol_c *widening_conversion(symbol_c *left_type, symbol_c *right_type, const struct widen_entry widen_table[]);
    87     symbol_c *widening_conversion(symbol_c *left_type, symbol_c *right_type, const struct widen_entry widen_table[]);