Commit 3ed43b25 authored by Bi-Ruei, Chiu's avatar Bi-Ruei, Chiu

Fix issue 211

parent f58f1fcc
...@@ -207,6 +207,8 @@ asn1c_type_name(arg_t *arg, asn1p_expr_t *expr, enum tnfmt _format) { ...@@ -207,6 +207,8 @@ asn1c_type_name(arg_t *arg, asn1p_expr_t *expr, enum tnfmt _format) {
terminal = WITH_MODULE_NAMESPACE( terminal = WITH_MODULE_NAMESPACE(
expr->module, expr_ns, expr->module, expr_ns,
(expr->meta_type == AMT_TYPEREF) ?
asn1f_lookup_symbol_ex(arg->asn, expr_ns, expr, expr->reference) :
asn1f_find_terminal_type_ex(arg->asn, expr_ns, expr)); asn1f_find_terminal_type_ex(arg->asn, expr_ns, expr));
if(_format == TNF_RSAFE) { if(_format == TNF_RSAFE) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment