mismatched input 'cmpResearchItem' expecting RULE_ID [message #870693] |
Wed, 09 May 2012 11:20 |
|
Hi,
I'm getting the error "mismatched input 'cmpResearchItem' expecting RULE_ID" when loading attached research.ufo with my also attached grammar.
component cmpResearchItem extends panel {
[...]
}
with the grammar:
[...]
/** components can extend any ui node */
UINodeComponent:
"component" name=ID "extends" superComponent=[UINodeComponent|UINodeType] "{" ("{"
(properties+=UINodeProperties)* "}")? (nodes+=UINode)* "}";
[...]
can anyone please help me to fix it? attached is the full grammar and the full script file that i'm trying to parse.
I'm using xtext 2.2.1
Thanks a lot
---
Member of the UFO:AI team
[Updated on: Wed, 09 May 2012 11:24] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06988 seconds