|
Re: Referenced Rule type not recognized from Proposal provider [message #1702498 is a reply to message #1702444] |
Wed, 22 July 2015 17:41 |
|
Hi,
can you share complete reproduceable grammars?
from what you have posted:
never ever use spaces in keywords
then your grammar says:
Event:
Parameter_event | Actor_event;
=> at the same place parameter_event and actor event are allowed
system:
"system:" name=ID | definition=[def::SystemDef|ID];
parameter:
"parameter:" name=ID | definition=[def::ParamDef|ID];
has the precedence
system:
("system:" name=ID) | definition=[def::SystemDef|ID];
parameter:
("parameter:" name=ID )| definition=[def::ParamDef|ID];
=> the parser cannot decide if it is a System or a Parameter at this point
otherwise it would be ambigous.
thus you cannot simply change it to
system:
"system:" (name=ID | definition=[def::SystemDef|ID]);
parameter:
"parameter:" (name=ID | definition=[def::ParamDef|ID]);
so what is the semantic of his construct.
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02795 seconds