Re: ASN.1 PER compile

Björn Gustavsson <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CA+yh78TghRLS8c4q12rLgZwUr9rA_CYiQ-a4pLEjKk7Fy2yC2w@mail.gmail.com>
On Sun, Oct 26, 2014 at 7:05 PM, Vicent Ferrer Guasch
<[email protected]> 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@V0:2/unsigned-unit:1,V1@Buf1/bitstring>> = Bytes1,
>
> {V1@V0,V1@Buf1}

That is not a problem. @ is allowed in variable names.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.