gras_ddt_parse_tok_num = gras_ddt_parse_lex_n_dump();
if (gras_ddt_parse_tok_num == GRAS_DDT_PARSE_TOKEN_RA) {
XBT_OUT();
- THROW0(mismatch_error, 0, "End of the englobing structure or union");
+ THROWF(mismatch_error, 0, "End of the englobing structure or union");
}
if (XBT_LOG_ISENABLED(gras_ddt_parse, xbt_log_priority_debug)) {
xbt_dynar_t fields_to_push;
char *name;
- gras_datadesc_type_t struct_type;
+ volatile gras_datadesc_type_t struct_type;
XBT_IN("");
identifiers = xbt_dynar_new(sizeof(s_identifier_t), NULL);
s_type_modifier_t tm;
- gras_datadesc_type_t struct_desc = NULL;
gras_datadesc_type_t typedef_desc = NULL;
XBT_IN("");
parse_type_modifier(&tm);
if (tm.is_struct) {
- struct_desc = parse_struct(definition);
+ parse_struct(definition);
}
parse_type_modifier(&tm);
int *stored = xbt_new(int, 1);
*stored = value;
- xbt_dict_set(gras_dd_constants, name, stored, xbt_free_f);
+ xbt_dict_set(gras_dd_constants, name, stored, NULL);
}