use special name decoration for embedded annonymous types
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c
index 8ec2140..0c3704e 100644
--- a/libasn1compiler/asn1c_C.c
+++ b/libasn1compiler/asn1c_C.c
@@ -3348,7 +3348,8 @@
 	char *id;
 
 	if((arg->flags & A1C_COMPOUND_NAMES
-	   || onc_flags & ONC_force_compound_name)
+	   || onc_flags & ONC_force_compound_name
+	   || arg->embed)
 	&& ((expr->expr_type & ASN_CONSTR_MASK)
 	   || expr->expr_type == ASN_BASIC_ENUMERATED
 	   || ((expr->expr_type == ASN_BASIC_INTEGER