Commit c499c3fa authored by Arpad Lovassy's avatar Arpad Lovassy
Browse files

Bug 571311 - CFG file macro multiplication


Signed-off-by: Arpad Lovassy's avatarzlovarp <arpad.lovassy@semcon.com>
parent 94cfe6c5
......@@ -1187,7 +1187,9 @@ pr_HostNameIpV6:
pr_MacroAssignment:
( TTCN3IDENTIFIER
ASSIGNMENTCHAR
pr_MacroRhs
( pr_MacroRhs
| pr_MacroMultiplication
)
)
;
......@@ -1198,6 +1200,14 @@ pr_MacroRhs:
ENDCHAR
;
pr_MacroMultiplication:
( pr_MacroAssignmentValue
( STAR
pr_MacroAssignmentValue
)+
)
;
pr_StructuredValue:
( pr_SimpleValue
| BEGINCHAR
......
......@@ -654,7 +654,9 @@ pr_HostNameIpV6:
pr_MacroAssignment returns [ String name, ParserRuleContext value ]:
( n = TTCN3IDENTIFIER { $name = $n.getText(); }
ASSIGNMENTCHAR
v = pr_MacroRhs { $value = $v.ctx; }
( v = pr_MacroRhs { $value = $v.ctx; }
| mul = pr_MacroMultiplication { $value = $mul.ctx; }
)
)
;
......@@ -665,6 +667,14 @@ pr_MacroRhs:
ENDCHAR
;
pr_MacroMultiplication:
( pr_MacroAssignmentValue
( STAR
pr_MacroAssignmentValue
)+
)
;
pr_StructuredValue:
( pr_SimpleValue
| BEGINCHAR
......
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