--- a/stage3/print_datatypes_error.hh Thu Mar 01 10:28:27 2012 +0000
+++ b/stage3/print_datatypes_error.hh Fri Mar 02 12:53:41 2012 +0000
@@ -77,8 +77,12 @@
bool warning_found;
/* the current data type of the data stored in the IL stack, i.e. the default variable */
- symbol_c *prev_il_instruction;
- /* the current IL operand being analyzed - its symbol and its data type */
+ il_instruction_c *fake_prev_il_instruction;
+ /* the narrow algorithm will need access to the intersected candidate_datatype lists of all prev_il_instructions, as well as the
+ * list of the prev_il_instructions.
+ * Instead of creating two 'global' (within the class) variables, we create a single il_instruction_c variable (fake_prev_il_instruction),
+ * and shove that data into this single variable.
+ */
symbol_c *il_operand_type;
symbol_c *il_operand;