Skip to content
Snippets Groups Projects
Commit fd97d5ec authored by Lev Walkin's avatar Lev Walkin
Browse files

more logging

parent b1e07089
No related branches found
No related tags found
No related merge requests found
......@@ -238,10 +238,12 @@ _constraint_value_resolve(arg_t *arg, asn1p_module_t *mod, asn1p_value_t **value
tmp_expr = asn1f_lookup_symbol(arg, mod, (*value)->value.reference);
if(tmp_expr == NULL) {
FATAL("Cannot find symbol %s "
FATAL("Cannot find symbol %s (%s) "
"used in %s subtype constraint at line %d",
asn1f_printable_reference((*value)->value.reference),
arg->expr->Identifier, arg->expr->_lineno);
mod->Identifier,
arg->expr->Identifier,
arg->expr->_lineno);
assert((*value)->type == ATV_REFERENCED);
return -1;
}
......
......@@ -326,7 +326,7 @@ static int _range_fill(asn1p_value_t *val, const asn1cnst_range_t *minmax, asn1c
return 0;
break;
case ATV_REFERENCED:
FATAL("Unrecognized constraint element \"%s\" at line %d",
FATAL("Unresolved constraint element \"%s\" at line %d",
asn1f_printable_reference(val->value.reference),
lineno);
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment