This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When editing assembly files in CCSv5, lines containing parallel instructions (i.e starting with "||") are colored as if they were comments.
Can this behaviour be changed by the user?
Hi Steve,
These cannot be changed manually by the user. I'll file a request for you. What is the exact CCS version you are using? And what device?
Thanks
ki
Thanks Randy. I don't expect any improvements for this particular issue in 5.1.1 so it is up to you if you want to update anyway (Note 5.2.0 is coming in a few weeks)
ki
Hi.
Dumb of me not to say what processor or version.
I am using CCSv5 for c6678 v 5.1.0.09000
Thanks.
I've filed a bug for this issue. The tracking ID is:
SDSCM00044374
Thanks
ki
Does the parallel instruction get highlighted as a comment if there is whitespace before the vertical bars?
Seems like anything after a single vertical bar is highlighted as a comment by the CCS editor for *.asm, *.s extensions. Having a whitespace before the vertical bar does not have any impact.
I'm using Code Composer Studio Version 5.4.0.00091 and of course the problem is still here as the bug ID is still considered a known issue. Honestly this is quite the annoyance since it affects my CLA assembly code readability. There are a number of other characters that are treated as line comment characters:
! @ # ^ @ * + = - [ ] < > | , ? | ` ~ ;
Digging deeper on my spare time, it seems the getLineCommentCharacters() method from TIASMLanguage.class is working properly; in fact, I can change the line comment character from a semi-colon to the letter A. After reassigning the line comment character to 'A', semi-colon is still treated as a line comment character even though 'A' is as well (hence I added semi colon to the list above). Something else is going on in the lexer to make the parser think those characters above are line comment characters.