stage3/print_datatypes_error.hh
changeset 427 eb9bc99944d9
parent 425 c8e6cf57324a
child 438 744b125d911e
equal deleted inserted replaced
426:78f31e12fc52 427:eb9bc99944d9
    36 #include "../absyntax_utils/absyntax_utils.hh"
    36 #include "../absyntax_utils/absyntax_utils.hh"
    37 
    37 
    38 class print_datatypes_error_c: public iterator_visitor_c {
    38 class print_datatypes_error_c: public iterator_visitor_c {
    39 
    39 
    40   private:
    40   private:
       
    41     /* The level of detail that the user wants us to display error messages. */
       
    42     #define error_level_default (1)
       
    43     #define error_level_nagging (4)
       
    44     unsigned int current_display_error_level;
       
    45     
    41     search_varfb_instance_type_c *search_varfb_instance_type;
    46     search_varfb_instance_type_c *search_varfb_instance_type;
    42     search_base_type_c search_base_type;
    47     search_base_type_c search_base_type;
    43     /* When calling a function block, we must first find it's type,
    48     /* When calling a function block, we must first find it's type,
    44      * by searching through the declarations of the variables currently
    49      * by searching through the declarations of the variables currently
    45      * in scope.
    50      * in scope.