accept invfilename {capslock} // line comment not detected
[ok] begin // line comment detected
direct_output channel 2 invfilename // line comment detected
write channel 2 rtrim0(APTD0251.init) // line comment not detected
end // line comment detected
while [ok] // not detected
Line comment set as //
From looking through other lines in my code I see that it isn't detecting line comments if any brackets have been used [] or () or {} at the end of a line there is a problem
I suspect you have changed the document type (i.e. maybe added a pattern for example) and it is this change that is stopping the line comments from being detected
For example if you save this code to a test.txt file and then go to the document type for that text file and define // as a line comment you will see it paints correctly.
So something in the document type for this file is turning off the line comments for these lines
I'm not seeing the bug that you are describing and I suspect if you run the test that I described earlier you too will also see that this is still working.
Finally had a chance to look at this further. I checked the delimiter entry under Keywords, and found that it had a space at the end of the delimiter string. After removing that the line comments were detected correctly.
I checked the delimiter entry under Keywords, and found that it had a space at the end of the delimiter string. After removing that the line comments were detected correctly.
That is good news
I will make a change to trim the white space of the delimiter value, just to make this impossible to do in the future .
To fix the bug, use the Options, Document Types menu and edit the Verilog Document Type. In the Keywords section edit the Delimiters string by removing the '/' character.
I will also make sure the Zeus installer setup details are also fixed.
In the Keywords section edit the Delimiters string by removing the '/' character.
It turns out the '/' character was not the problem in this case, but rather the delimiters string in the Verilog configuration contained a whitespace character.
By editing the configuration this latest version of Zeus remove the erant whitespace, fixing the issue.
So the '/' character can be re-entered as a delimiter