diff options
author | Björn Gustavsson <[email protected]> | 2013-05-27 13:41:42 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-06-07 17:42:57 +0200 |
commit | 69f02872020636d3efbbecf4bd3de7196040f6a9 (patch) | |
tree | fc78261c25833a50c379dbc84f4d29d2cb89eed4 /lib/asn1/examples/test_driver.erl | |
parent | f7295b48627fb84bceef61044b6f2d0cbee10c2b (diff) | |
download | otp-69f02872020636d3efbbecf4bd3de7196040f6a9.tar.gz otp-69f02872020636d3efbbecf4bd3de7196040f6a9.tar.bz2 otp-69f02872020636d3efbbecf4bd3de7196040f6a9.zip |
PER, UPER: Fix record name mismatch between HRL file and decoding code
When a SEQUENCE was defined inline inside extension addition group
like this:
InlinedSeq ::= SEQUENCE {
...,
[[
s SEQUENCE {
a INTEGER,
b BOOLEAN
}
]]
}
the decoding code would return the contents of the SEQUENCE in a
record named 'InlinedSeq_ExtAddGroup1_s', while the record definition
in the generated HRL file would be 'InlinedSeq_s'.
Since there is no reason to use the longer record name (no risk for
ambiguity), correct the name in the decoding code.
Diffstat (limited to 'lib/asn1/examples/test_driver.erl')
0 files changed, 0 insertions, 0 deletions