Skip CONFIGURATION declarations in stage 3 for now, so semantic analysis does not stop when a configuration is encountered.
--- 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) */
/****************************************/
--- 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) */
/****************************************/
/***********************************/