stage3/declaration_check.hh
changeset 812 6679b6b21214
parent 718 a9f8cc778444
child 962 98e7a0d3af21
equal deleted inserted replaced
811:970c582885bf 812:6679b6b21214
    37 
    37 
    38 class declaration_check_c : public iterator_visitor_c {
    38 class declaration_check_c : public iterator_visitor_c {
    39     int error_count;
    39     int error_count;
    40     int current_display_error_level;
    40     int current_display_error_level;
    41     symbol_c *current_pou_decl;
    41     symbol_c *current_pou_decl;
       
    42     symbol_c *current_resource_decl;
    42 
    43 
    43 public:
    44 public:
    44     declaration_check_c(symbol_c *ignore);
    45     declaration_check_c(symbol_c *ignore);
    45     virtual ~declaration_check_c(void);
    46     virtual ~declaration_check_c(void);
    46     int get_error_count();
    47     int get_error_count();
    59 
    60 
    60     /********************************/
    61     /********************************/
    61     /* B 1.7 Configuration elements */
    62     /* B 1.7 Configuration elements */
    62     /********************************/
    63     /********************************/
    63     void *visit(configuration_declaration_c *symbol);
    64     void *visit(configuration_declaration_c *symbol);
    64     void *visit(program_configuration_c *symbol);
    65     void *visit(resource_declaration_c      *symbol);
       
    66     void *visit(program_configuration_c     *symbol);
    65 };
    67 };