-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single value constraint handled as a list #14
Conversation
…_value_constraint
Added the handling for the SingleValueConstraint to be a handled as a list. Added some extra samples in builtin_types.
This still has the CLI changes mixed with the single-value constraint stuff. Did your branching go awry? I think I'll try to extract the constraint commit from this and try to apply it with some style changes. |
Sorry, I will have a look again what I have done. Also do some reading Thanks Frank, On 9 December 2014 at 20:39, Kim Gräsman notifications@github.com wrote:
|
Usually what I do is keep my |
Thanks for the explanation, I just reset my master hard to upstream, I Thanks Frank, On 9 December 2014 at 21:09, Kim Gräsman notifications@github.com wrote:
|
OK, I've just started digging into this (sorry it took so long!) I think this is fundamentally the wrong way to solve the problem -- you seem to be effectively implementing a narrow subset of the UNION syntax in ASN.1 X.680 46.1. That said, it enables nice translation of simple integer enumerations, so I think I'll add it anyway :-) I still want to support ASN.1's full constraint syntax (which is extremely complicated), but I can save that for some other rainy day... I won't merge this PR, especially since there are so many other things intermingled, but I'll pick up the good bits and integrate into mainline asn1ate. Thanks for the help! |
A variant on this is now implemented on master. Thanks for the suggestion. Closing. |
Creates a list for the SingleValueConstraint. Added some extra examples in builtin_types.asn.