merging with Lauren't changeset.
authorMario de Sousa <msousa@fe.up.pt>
Sat, 31 Mar 2012 21:46:37 +0100
changeset 500 0bb88139e471
parent 499 58d0c3b3c53b (current diff)
parent 408 34a5571c859c (diff)
child 501 19bc099215d8
merging with Lauren't changeset.
stage4/generate_c/generate_c_inlinefcall.cc
--- a/stage4/generate_c/generate_c_inlinefcall.cc	Sat Mar 31 21:36:17 2012 +0100
+++ b/stage4/generate_c/generate_c_inlinefcall.cc	Sat Mar 31 21:46:37 2012 +0100
@@ -1183,7 +1183,11 @@
 
 		// Transition condition is in ST
 		if (symbol->transition_condition_st != NULL) {
-			symbol->transition_condition_st->accept(*this);
+			function_call_iterator_c fc_iterator(symbol->transition_condition_st);
+			symbol_c* function_call;
+			while ((function_call = fc_iterator.next()) != NULL) {
+				function_call->accept(*this);
+			}
 		}
 
 		return NULL;