asn1bean
asn1bean copied to clipboard
INTEGER (value OR range) breaks
This snippet gives an error:
DayOfMonth ::= INTEGER (-1|1..31)
This is the error:
line 910:27: expecting R_PAREN, found '|'
line 910:28: expecting "END", found '1'
line 912:11: unexpected token: ::=
(-1|1) for example does work, while (1..31|-1) still gives an error.
(1..3|5..7)
also gives an error.
same problem
Parsing "S1AP-IEs.asn"
line 549:46: expecting R_PAREN, found ','
line 549:51: expecting "END", found ')'
line 551:8: unexpected token: ::=
line 1504:1: expecting "DEFINITIONS", found 'null'
here the line
EncryptionAlgorithms ::= BIT STRING (SIZE (16,...))
if i changed the line with
EncryptionAlgorithms ::= BIT STRING (SIZE(0..16,...))
everything works
with jasn 1.11.2
@regis-leray I am getting expecting ASSIGN_OP, found '.' error for the line:
Reg-ComputedLane DSRC.REG-EXT-ID-AND-TYPE ::= { ... }