# HG changeset patch # User mjsousa # Date 1393279255 0 # Node ID 3d682f87c870b952c1a1f8b9fc0cc928238ef29e # Parent d88f475494085ede6bbbf9214a2e9ca445c2500a Remove assertion being failed by IL labels (IL labels do not yet have specific datatypes). diff -r d88f47549408 -r 3d682f87c870 stage4/generate_c/generate_c.cc --- a/stage4/generate_c/generate_c.cc Sun Feb 16 14:29:31 2014 +0000 +++ b/stage4/generate_c/generate_c.cc Mon Feb 24 22:00:55 2014 +0000 @@ -351,7 +351,7 @@ static bool is_complex_type(symbol_c *symbol) { if (NULL == symbol) ERROR; - if (!get_datatype_info_c::is_type_valid (symbol->datatype)) ERROR; + if (!get_datatype_info_c::is_type_valid (symbol->datatype)) return false; return ( get_datatype_info_c::is_structure(symbol->datatype) || get_datatype_info_c::is_array (symbol->datatype) );