Commit 1c56d4d7 authored by Mouse's avatar Mouse

Parse TypeWithConstraint SizeConstraint as the generalized Constraint

parent 1adb32d8
......@@ -1835,7 +1835,9 @@ optManyConstraints:
optSizeOrConstraint:
{ $$ = 0; }
| Constraint
| SizeConstraint
| SizeConstraint {
CONSTRAINT_INSERT($$, ACT_CA_SET, $1, 0);
}
;
Constraint:
......
......@@ -17,6 +17,6 @@ Certificate ::= SIGNED{ SEQUENCE {
Name ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::= SET SIZE(1..MAX) OF IA5String (FROM("A".."Z" | "a".."z" | "0-9" | ",-."))
RelativeDistinguishedName ::= SET (SIZE(1..MAX)) OF IA5String (FROM("A".."Z" | "a".."z" | "0-9" | ",-."))
END
......@@ -3,7 +3,7 @@ ModuleTestSequenceSimple { iso org(3) dod(6) internet(1) private(4)
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
Programming ::= SEQUENCE SIZE(1..10) OF [0] IMPLICIT Fault
Programming ::= SEQUENCE (SIZE(1..10)) OF [0] IMPLICIT Fault
Fault ::= SET OF Error
......
......@@ -5,18 +5,18 @@ BEGIN
LogLine ::= SEQUENCE {
line-digest IA5String,
varsets SEQUENCE SIZE(1..MAX) OF VariablePartSet,
varsets SEQUENCE (SIZE(1..MAX)) OF VariablePartSet,
...
}
VariablePartSet ::= SEQUENCE {
vparts SEQUENCE SIZE(0..MAX) OF VariablePart,
vparts SEQUENCE (SIZE(0..MAX)) OF VariablePart,
resolution ActionItem,
...
}
VariablePart ::= CHOICE {
vset SET SIZE(1..MAX) OF VisibleString,
vset SET (SIZE(1..MAX)) OF VisibleString,
vrange SEQUENCE {
from VisibleString,
to VisibleString,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment