definition[colon_pos] != ';';
colon_pos++);
definition[colon_pos] = '\0';
- DEBUG2("Parse the statement \"%s%s;\"",
+ DEBUG3("Parse the statement \"%s%s;\" (col_pos=%d)",
gras_ddt_parse_text,
- definition+gras_ddt_parse_col_pos);
+ definition+gras_ddt_parse_col_pos,
+ gras_ddt_parse_col_pos);
definition[colon_pos] = ';';
}
if (end == gras_ddt_parse_text ||
*end != '\0') {
- ERROR3("Unparsable size of array at %d:%d of %s",
+ ERROR4("Unparsable size of array at %d:%d of %s. Found '%c', expected '\\0'",
gras_ddt_parse_line_pos,gras_ddt_parse_char_pos,
- definition);
+ definition,*end);
gras_abort();
}
/* replace the previously pushed type to an array of it */
definition);
gras_abort();
}
- DEBUG1("Fixed size array, size=%d",size);
+ DEBUG1("Fixed size array, size=%ld",size);
continue;
} else {
ERROR3("Unparsable size of array at %d:%d of %s",
definition[def_count] = '\0';
/* init */
- VERB1("_gras_ddt_type_parse(%s)",definition);
+ VERB2("_gras_ddt_type_parse(%s) -> %d chars",definition, def_count);
gras_ddt_parse_pointer_string_init(definition);
/* Do I have a typedef, or a raw struct ?*/