aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testSeqSetDefaultVal.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-04-24 16:43:32 +0200
committerBjörn Gustavsson <[email protected]>2014-05-06 11:40:09 +0200
commit54fdff3af5d023133b55cc4c068c218fd0caf63f (patch)
tree14d4ec4d2acae7f8206f07a59a88d0d5d7bb7287 /lib/asn1/test/testSeqSetDefaultVal.erl
parent8eadd0297d9676a9004673f9efa2574283942f9f (diff)
downloadotp-54fdff3af5d023133b55cc4c068c218fd0caf63f.tar.gz
otp-54fdff3af5d023133b55cc4c068c218fd0caf63f.tar.bz2
otp-54fdff3af5d023133b55cc4c068c218fd0caf63f.zip
Set.py: Correct illegal DEFAULT value
If SetIn is defined like this: SetIn ::= SET { boolIn BOOLEAN, intIn INTEGER } then it may not be used with an empty DEFAULT value like this: SetDef1 ::= SET { set1 SetIn DEFAULT {} } The ASN.1 compiler prints an warning message, but still generates code. (That should be fixed.) Fix the incorrect ASN.1 specification by making the components in SetIn optional: SetIn ::= SET { boolIn BOOLEAN OPTIONAL, intIn INTEGER OPTIONAL }
Diffstat (limited to 'lib/asn1/test/testSeqSetDefaultVal.erl')
0 files changed, 0 insertions, 0 deletions