equal
deleted
inserted
replaced
225 |
225 |
226 void *print_check_function(symbol_c *type, |
226 void *print_check_function(symbol_c *type, |
227 symbol_c *value, |
227 symbol_c *value, |
228 symbol_c *fb_name = NULL, |
228 symbol_c *fb_name = NULL, |
229 bool temp = false) { |
229 bool temp = false) { |
230 bool is_subrange = search_base_type_c::type_is_subrange(type); |
230 if (!get_datatype_info_c::is_type_valid(type)) ERROR; |
|
231 bool is_subrange = get_datatype_info_c::is_subrange(type); |
231 if (is_subrange) { |
232 if (is_subrange) { |
232 s4o.print("__CHECK_"); |
233 s4o.print("__CHECK_"); |
233 type->accept(*this); |
234 type->accept(*this); |
234 s4o.print("("); |
235 s4o.print("("); |
235 } |
236 } |