equal
deleted
inserted
replaced
72 * structure we are. |
72 * structure we are. |
73 */ |
73 */ |
74 int il_parenthesis_level; |
74 int il_parenthesis_level; |
75 bool il_error; |
75 bool il_error; |
76 bool error_found; |
76 bool error_found; |
|
77 bool warning_found; |
77 |
78 |
78 /* 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 */ |
79 symbol_c *prev_il_instruction; |
80 symbol_c *prev_il_instruction; |
80 /* the current IL operand being analyzed - its symbol and its data type */ |
81 /* the current IL operand being analyzed - its symbol and its data type */ |
81 symbol_c *il_operand_type; |
82 symbol_c *il_operand_type; |
84 /* some helper functions... */ |
85 /* some helper functions... */ |
85 symbol_c *base_type(symbol_c *symbol); |
86 symbol_c *base_type(symbol_c *symbol); |
86 void handle_function_invocation(symbol_c *fcall, generic_function_call_t fcall_data); |
87 void handle_function_invocation(symbol_c *fcall, generic_function_call_t fcall_data); |
87 void handle_implicit_il_fb_invocation(symbol_c *il_operator, const char *param_name, symbol_c *called_fb_declaration); |
88 void handle_implicit_il_fb_invocation(symbol_c *il_operator, const char *param_name, symbol_c *called_fb_declaration); |
88 void *handle_conditional_flow_control_IL_instruction(symbol_c *symbol, const char *oper); |
89 void *handle_conditional_flow_control_IL_instruction(symbol_c *symbol, const char *oper); |
89 |
90 void check_used_operation_status(symbol_c *symbol, symbol_c *left, symbol_c *right, const struct widen_entry widen_table[]); |
|
91 |
90 public: |
92 public: |
91 print_datatypes_error_c(symbol_c *ignore); |
93 print_datatypes_error_c(symbol_c *ignore); |
92 virtual ~print_datatypes_error_c(void); |
94 virtual ~print_datatypes_error_c(void); |
93 int get_error_found(); |
95 int get_error_found(); |
94 |
96 |