mismatched input '0' expecting RULE_ID [message #1816055] |
Fri, 18 October 2019 05:10  |
Eclipse User |
|
|
|
Hello everyone, I am not sure if this question is related with the use of keywords so I will ask it again. Apologies if this is the case. For the following grammar:
Import:
'import' importURI=STRING;
TaskDef:
'TaskDef' name=ID 'on' 'Task=' mapped=[Task|QualifiedNamed] '{'
(statements+=Statement)*
'}';
QualifiedNamed:
ID ('.' ID)*
;
And the following concrete grammar:
TaskDef FrontSensor on Task=0 {
out = 2
}
I am getting the following message:
mismatched input '0' expecting RULE_ID
The class Task is imported. Any clue about what is going on?
Regards, Matias.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.15388 seconds