|Re: grammar for ignore string [message #1855664 is a reply to message #1855663]
||Wed, 26 October 2022 04:59
| Ed Willink
Registered: July 2009
Firstly, since you are replacing SL_COMMENT, you must replace it else run the risk of allowing Xtext's built-in functionality to confuse.
Secondly, the traditional SL_COMMENT as shown in terminal is hidden. As a non-hidden token there may be a different whitespace interaction.
You should start by copying and pasting Terminais.xtext at the top of your grammar, then change the grammar name, then adjust the SL_COMMENT..
[Updated on: Wed, 26 October 2022 05:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01717 seconds