Commit 0cc1048e authored by Johannes Mey's avatar Johannes Mey
Browse files

WIP

parent 0f8bf9c8
Pipeline #6491 passed with stage
in 1 minute and 16 seconds
......@@ -35,10 +35,11 @@ import org.jastadd.ros2rag.parser.RelAstParser.Terminals;
}
%}
WhiteSpace = [ ] | \t | \f | \n | \r | \r\n
WhiteSpace = [ ] | \t | \f
Newline = \n | \r | \r\n
TraditionalComment = [/][*][^*]*[*]+([^*/][^*]*[*]+)*[/]
EndOfLineComment = "//" [^\n\r]*
Comment = {TraditionalComment} | {EndOfLineComment}
Comment = {TraditionalComment} | {EndOfLineComment} | {Newline}
ID = [a-zA-Z$_][a-zA-Z0-9$_]*
......
Model ::= RobotArm ZoneModel ;
Model ::= RobotArm ZoneModel ; // comment 1
// comment 2
ZoneModel ::= Size:Position SafetyZone:Zone*;
Zone ::= Position*;
......
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