Adding a terminal makes UI editor fail? [message #1391799] |
Tue, 01 July 2014 12:28 |
|
Hey!
I'm running out of ideas here. What i ultimately want is to color java-doc style comments (/** -> */) differently from normale comments (/* -> */). I started experimenting with adding an additional terminal and shadowing the existing ML_COMMENT so that it only matches comments with one star. I had troubles with that. I reduced my changes to only adding a new hidden terminal which handles a completely different syntax (for testing):
terminal MY_DOC_COMMENT : '(**' -> '*)';
this terminal is hidden, so should not interfere with anybody... However now when i fire up eclipse (without changing a single model file), it gives me this error /after/ the first keyword in each file (why after the first keyword?! why at all? i just added a terminal that nobody is using (yet)):
Multiple markers at this line
- missing EOF at '\n\n'
- extraneous input ' ' expecting RULE_ID
What am i doing wrong?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02589 seconds