librasn / rasn

A Safe #[no_std] ASN.1 Codec Framework
Other
199 stars 50 forks source link

fix(macros): handle negative discriminants #188

Closed 6d7a closed 11 months ago

6d7a commented 11 months ago

Implementing JER-support, I noticed that negative enum discriminators are not handled correctly in macros. This PR fixes that.

XAMPPRocky commented 11 months ago

Looks good, but the CI isn't passing

6d7a commented 11 months ago

@XAMPPRocky I see that the CI checks have passed. Could we merge this?

XAMPPRocky commented 11 months ago

Thank you for your PR!