[erlang-bugs] ASN.1 PER compile
Björn Gustavsson
bjorn@REDACTED
Mon Oct 27 10:21:16 CET 2014
On Sun, Oct 26, 2014 at 7:05 PM, Vicent Ferrer Guasch
<vicent.ferrerguasch@REDACTED> wrote:
> Hello,
>
> I am trying to compile the last S1AP (3GPP 36.413) ASN specifications
> using asn1ct:compile/2 , but the generated source file is incorrect. I
> think compile/2 has a problem with the table constraints using per
> encoding i.e.
>
Do you get an actual compilation error from the BEAM compiler?
If so, please show the error messages.
The S1AP are included in our test suites, but we might
not have the very latest version.
>
> The generated code contains @, an example.
>
> <<V1@REDACTED:2/unsigned-unit:1,V1@REDACTED/bitstring>> = Bytes1,
>
> {V1@REDACTED,V1@REDACTED}
That is not a problem. @ is allowed in variable names.
/Bjorn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-bugs
mailing list