[Epsilon] Supported comment markers for eol languages [message #670319] |
Fri, 13 May 2011 14:00 |
|
Hello,
Through the Epsilon Book comments in the source code are declared by usinng "//" or "--". However I can not seem to find a concrete description of the supported comment markers. I have used Java style multi-line comments "/* ... */" and they also seem to be supported. However, when using this style, the editor fails to correctly detect the closing "*/" when creating the comment or editing it and the rest of the source code is highlighted as comments. IF I save the file, the parser does not complaint so I guess the comments are being parsed correctly. If I close and reopen the file the highlighting is fixed and comment coloring is kept correctly until the "*/".
Is this a bug in the eol editor/tokenizer,or are Java style comments not fully supported?
Regards,
Horacio
Horacio Hoyos Rodriguez
Kinori Tech
Need professional support for Epsilon, EMF?
Go to: https://kinori.tech
|
|
|
Re: [Epsilon] Supported comment markers for eol languages [message #670386 is a reply to message #670319] |
Fri, 13 May 2011 18:54 |
|
Hi Horacio,
I have looked at the ANTLR grammar used by EOL and it seems it is a bug in the EOL editor. EOL accepts -- and // for line comments, and -* *- and /* */ for block comments.
Could you file a bug for /* */ and post the number here? I'll take care of it. For the time being, -* *- should work.
Regards,
Antonio
|
|
|
|
Powered by
FUDForum. Page generated in 0.01441 seconds