-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi @ipa-nhg
In a .ros2 file, if I have the following:
"FollowPathDWB.default_critic_namespaces":
type: Array[String]
value: []
It errors on the [] saying no viable alternative input. Up until now I used [''] to make it pass, but that actually creates a list of size 1, not an empty list.
This is also an issue as the ros2model generator makes the values like that, I don't know if that means a fix exists somewhere already?
I think the problem is here:
ParameterList returns ParameterSequence: {ParameterSequence} '[' value+=ParameterValue ( ',' value+=ParameterValue )* ']' ;
but any simple fix like making things optional seems to add ambiguity and leads to the parser failing to generate/compile.
Metadata
Metadata
Assignees
Labels
No labels