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?
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?
Ki,
With CCSv5.1.0.09000, I see this with the DM8168's Cortex A8 assembly (even if the || is invalid) and with the C6678 C66x assembly.
If you think there are advantages, I will upgrade to 5.1.1.00031 and see if the same happens there.
Regards,
RandyP
I've filed a bug for this issue. The tracking ID is:
SDSCM00044374
Thanks
ki
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.