Open yldiscover opened 5 years ago
@and2000, you might have a trial with #238 which enables asn1c to handle extension group (that is what [[ ... ]] stands for) at least for PER case.
@brchiu , I have try "3cd36647343fa43a0ea2e322698cf52312905c23", and have the same error message: ASN.1 grammar parse error near 36331.f30.asn:16922 (token "[["): syntax error, unexpected TOK_VBracketLeft Cannot parse "36331.f30.asn"
@and2000, you should use the last commit of #238, i.e. https://github.com/vlm/asn1c/commit/32a585bc52f7193d1e0376fb2639e1194387d224
@brchiu I use the last commit of #238, i.e. [32a585b] to test, and it works, thanks!
But when I used this asn1c to compile another asn, i.e. 38331.asn, it gave these warnings, while still generated the C files. Could you tell me what happened?
WARNING: Parameterized type LocationMeasurementInfo expected for LocationMeasurementInfo at line 261 in 38331.asn WARNING: Parameterized type LocationMeasurementInfo expected for LocationMeasurementInfo at line 261 in 38331.asn
Does this also work for U-PER ? I'm getting the same error with a different standard's ASN1 spec..
asn1c 0.9.29: can not compile 3gpp TS 36.331.f30.asn, while it can compile 36.331.f21.asn.
error message: ASN.1 grammar parse error near 36331.f30.asn:16922 (token "[["): syntax error, unexpected TOK_VBracketLeft
content is: RLC-Config-NB-r13 ::= CHOICE { am SEQUENCE { ul-AM-RLC-r13 UL-AM-RLC-NB-r13, dl-AM-RLC-r13 DL-AM-RLC-NB-r13 }, ..., [[ um-Bi-Directional-r15 NULL, -- <-- New at 36.331.f30 um-Uni-Directional-UL-r15 NULL, um-Uni-Directional-DL-r15 NULL ]] }