# HG changeset patch # User Mario de Sousa # Date 1307683830 -3600 # Node ID 1669977e84f4b1bd854049a0078739a1176901ce # Parent 746a357b8747e1e097f59fd9ba340369a02e15a0 Skip CONFIGURATION declarations in stage 3 for now, so semantic analysis does not stop when a configuration is encountered. diff -r 746a357b8747 -r 1669977e84f4 stage3/visit_expression_type.cc --- a/stage3/visit_expression_type.cc Thu Jun 09 17:51:00 2011 +0200 +++ b/stage3/visit_expression_type.cc Fri Jun 10 06:30:30 2011 +0100 @@ -946,6 +946,16 @@ +/********************************/ +/* B 1.7 Configuration elements */ +/********************************/ +void *visit_expression_type_c::visit(configuration_declaration_c *symbol) { + // TODO !!! + /* for the moment we must return NULL so semantic analysis of remaining code is not interrupted! */ + return NULL; +} + + /****************************************/ /* B.2 - Language IL (Instruction List) */ /****************************************/ diff -r 746a357b8747 -r 1669977e84f4 stage3/visit_expression_type.hh --- a/stage3/visit_expression_type.hh Thu Jun 09 17:51:00 2011 +0200 +++ b/stage3/visit_expression_type.hh Fri Jun 10 06:30:30 2011 +0100 @@ -237,7 +237,12 @@ void *visit(array_variable_c *symbol); void *visit(structured_variable_c *symbol); - /****************************************/ + /********************************/ + /* B 1.7 Configuration elements */ + /********************************/ + void *visit(configuration_declaration_c *symbol); + +/****************************************/ /* B.2 - Language IL (Instruction List) */ /****************************************/ /***********************************/