equal
deleted
inserted
replaced
75 bool il_error; |
75 bool il_error; |
76 bool error_found; |
76 bool error_found; |
77 bool warning_found; |
77 bool warning_found; |
78 |
78 |
79 /* the current data type of the data stored in the IL stack, i.e. the default variable */ |
79 /* the current data type of the data stored in the IL stack, i.e. the default variable */ |
80 symbol_c *prev_il_instruction; |
80 il_instruction_c *fake_prev_il_instruction; |
81 /* the current IL operand being analyzed - its symbol and its data type */ |
81 /* the narrow algorithm will need access to the intersected candidate_datatype lists of all prev_il_instructions, as well as the |
|
82 * list of the prev_il_instructions. |
|
83 * Instead of creating two 'global' (within the class) variables, we create a single il_instruction_c variable (fake_prev_il_instruction), |
|
84 * and shove that data into this single variable. |
|
85 */ |
82 symbol_c *il_operand_type; |
86 symbol_c *il_operand_type; |
83 symbol_c *il_operand; |
87 symbol_c *il_operand; |
84 |
88 |
85 /* some helper functions... */ |
89 /* some helper functions... */ |
86 symbol_c *base_type(symbol_c *symbol); |
90 symbol_c *base_type(symbol_c *symbol); |