Skip to content

Commit 796b934

Browse files
committed
Ros2 grammar: fix grammar, add ':' after type
1 parent ac0d82d commit 796b934

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • plugins/de.fraunhofer.ipa.ros2.xtext/src/de/fraunhofer/ipa/ros2

plugins/de.fraunhofer.ipa.ros2.xtext/src/de/fraunhofer/ipa/ros2/Ros2.xtext

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ Parameter returns Parameter:
110110
{Parameter}
111111
name=EString':'
112112
BEGIN
113-
'type' type=ParameterType
113+
'type:' type=ParameterType
114114
('ns:' namespace=Namespace)?
115115
('qos:' qos=QualityOfService)?
116+
('default:' value=ParameterValue)?
116117
END
117-
'}';
118+
;

0 commit comments

Comments
 (0)