oaw to tmf grammar problem [message #53418] |
Sat, 27 June 2009 08:03  |
Eclipse User |
|
|
|
I am migrating an oaw-xtext grammar to tmf, and I am experiencing a
problem :
I have some very simple rules like :
MyRule :
"SomeKeyword"; //rule without any attribute
With oaw-xtext, MyRule nodes were successfully instantiated. But with tmf,
they are not anymore...
Then I tried to do the following :
MyRule :
"SomeKeyword" (foo=STRING)?;
In the generated editor :
SomeKeyword // -> NO MyRule node is instantiated
SomeKeyword "bar" // -> a MyRule node is instantiated (but I really don't
need the extra information!)
It seems that MyRule is treated like a terminal rule...
What can I do to have my grammar working ?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02828 seconds