- if (parent == NULL)
- dax_parse_error(bprintf
- ("Asked to add a dependency from %s to %s, but %s does not exist",
- current_child->name, A_dax__parent_ref,
- A_dax__parent_ref));
+ xbt_assert(parent != NULL, "Parse error on line %d: "
+ "Asked to add a dependency from %s to %s, but %s does not exist",
+ dax_lineno, current_child->name, A_dax__parent_ref,
+ A_dax__parent_ref);