|[SOLVED] UnsupportedOperationException on enum [message #1396571]
||Tue, 08 July 2014 13:51
| Jonas Heinisch
Registered: June 2014
I've written a grammar and it works fine except with one thing. There is an enum that represents basic units and every time i try to use it, the editor shows up with an UnsupportedOperationException as error.
Relevant part of grammar:
value=DECINT (SQUARE_PAREN_L unit=BaseUnit SQUARE_PAREN_R)?
UNITLESS="_" | UNITLESS="unitless" | BYTE="B" | SECOND="s" | METER="m"
The grammar is based on an existing model.
Everything I write within the square-brackets (SQUARE_PAREN_X) is marked as an Error and shows UnsupportedOperationException.
Any idea why this is showing up? I have no clue here...
thanks in advance
[Updated on: Fri, 25 July 2014 08:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02037 seconds