diff -r 0e09a8840c92 -r 744b125d911e stage3/print_datatypes_error.hh --- a/stage3/print_datatypes_error.hh Wed Feb 08 18:33:01 2012 +0000 +++ b/stage3/print_datatypes_error.hh Fri Feb 10 19:04:31 2012 +0000 @@ -34,6 +34,8 @@ #include "../absyntax_utils/absyntax_utils.hh" +#include "datatype_functions.hh" + class print_datatypes_error_c: public iterator_visitor_c { @@ -78,14 +80,15 @@ symbol_c *il_operand_type; symbol_c *il_operand; + /* some helper functions... */ + symbol_c *base_type(symbol_c *symbol); + void handle_function_invocation(symbol_c *fcall, generic_function_call_t fcall_data); public: print_datatypes_error_c(symbol_c *ignore); virtual ~print_datatypes_error_c(void); int get_error_found(); - /* a helper function... */ - symbol_c *base_type(symbol_c *symbol); /*********************/ /* B 1.2 - Constants */