diff -r 5074236fb3c4 -r 61e2bdae5899 stage3/fill_candidate_datatypes.hh --- a/stage3/fill_candidate_datatypes.hh Sat Oct 25 11:15:55 2014 +0100 +++ b/stage3/fill_candidate_datatypes.hh Sat Oct 25 11:21:40 2014 +0100 @@ -78,6 +78,8 @@ */ symbol_c *current_enumerated_spec_type; + /* pointer to the Function, FB, or Program currently being analysed */ + symbol_c *current_scope; /* 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 */ symbol_c *prev_il_instruction; /* the current IL operand being analyzed */