asn1: note IMPLICIT CHOICE promoted to EXPLICIT

Record when a CHOICE field is promoted from IMPLICIT to EXPLICIT and convey
this in the ASN.1 compiler's JSON output, so that other tools (e.g. which have
a representation isomorphic to the original ASN.1) may use it.
This commit is contained in:
Luke Howard
2022-11-14 17:27:06 +11:00
committed by Nico Williams
parent 5398425cd2
commit 16179383fb
3 changed files with 7 additions and 1 deletions

View File

@@ -200,6 +200,7 @@ struct type {
struct range *range;
struct constraint_spec *constraint;
unsigned long id;
unsigned int implicit_choice:1;
};
typedef struct type Type;