Commit c66ccbca authored by Lev Walkin's avatar Lev Walkin

duplicate identifier fix

parent f6e04b55
......@@ -197,8 +197,8 @@ c_presence_name(arg_t *arg, asn1p_expr_t *expr) {
abuf_clear(&ab);
if(expr) {
abuf_printf(&ab, "%s_PR_%s", c_name_impl(arg, 0).base_name,
asn1c_make_identifier(0, expr, 0));
abuf_printf(&ab, "%s_PR_", c_name_impl(arg, 0).base_name);
abuf_printf(&ab, "%s", asn1c_make_identifier(0, expr, 0));
} else {
abuf_printf(&ab, "%s_PR_NOTHING", c_name_impl(arg, 0).base_name);
}
......
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