Ordered groups question [message #755105] |
Mon, 07 November 2011 12:15 |
Pascal Messages: 8 Registered: October 2011 |
Junior Member |
|
|
hi,
(i'm a beginner and) i wrote this grammer:
Button:
('text' text = STRING &
'icon' icon = STRING &
'action' action = STRING )
;
Now i write with my DSL:
As supposed, the proposal list offers "text","icon" and "action". If i select one, e.g. 'text' with a String "hello", the next proposal list offers the two others ('icon' and 'action').
But when i set the cursor before 'text' "hello", the proposal list offers me the hole group again.
If i write down 'text' "hello2" again, an errors is marked at 'text' "hello": "rule Button failed predicate: {getUnorderedGroupHelper().canLeave(grammarAccess.getAppAccess().getUnorderedGroup_0_0())}?"
I hope you unterstand what i'm doing and so i asked myself: is this a normal behavior and i could override this error with a better ouput or do i something completly wrong?
thanks for help,
best regards,
pascal
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03616 seconds