stage3/fill_candidate_datatypes.hh
changeset 612 c062ff18d04f
parent 603 a45a62dd6df9
child 652 7fe1533d2260
equal deleted inserted replaced
611:8e81d7db54be 612:c062ff18d04f
    85      * structure we are.
    85      * structure we are.
    86      */
    86      */
    87 //     int  il_parenthesis_level;
    87 //     int  il_parenthesis_level;
    88 //     bool error_found;
    88 //     bool error_found;
    89 
    89 
    90     /* the current data type of the data stored in the IL stack, i.e. the default variable */
    90     /* 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 */
    91     symbol_c *prev_il_instruction;
    91     symbol_c *prev_il_instruction;
    92     /* the current IL operand being analyzed - its symbol and its data type */
    92     /* the current IL operand being analyzed */
    93     symbol_c *il_operand_type;
       
    94     symbol_c *il_operand;
    93     symbol_c *il_operand;
    95     symbol_c *widening_conversion(symbol_c *left_type, symbol_c *right_type, const struct widen_entry widen_table[]);
    94     symbol_c *widening_conversion(symbol_c *left_type, symbol_c *right_type, const struct widen_entry widen_table[]);
    96 
    95 
    97     /* Match a function declaration with a function call through their parameters.*/
    96     /* Match a function declaration with a function call through their parameters.*/
    98     /* returns true if compatible function/FB invocation, otherwise returns false */
    97     /* returns true if compatible function/FB invocation, otherwise returns false */