- edited description
"unsigned" keyword for C\C++ is missing
With C\C++ syntax "unsigned" is not recognized as a key word and not colored. See attachment, the yellow highlighted code is expected to be colored just like signed in the line above.
Here is the snippet for that screen shot:
{code:c++}
typedef signed char int8;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned long uint32;
{code}
Comments (6)
-
reporter -
reporter - edited description
-
reporter - edited description
-
There are more keywords that don't get highlighted properly, e.g.,
auto
.All of the keywords can be found here. Some are tricky like
override
, which are contextual keywords (i.e., they act as keywords only in certain spots and can otherwise be variable names, etc.), and likeco_return
, which is part of a Technical Specification (TS).The easiest path would probably be to always highlight contextual keywords and then either to add all the others or add only the ones up through C++17 and ignore TSes for now.
-
repo owner Since Jira 7.5 there is an improved syntax highlighter part of Jira. Please check there. I no longer work on my Jira Syntax Highlighter because of this new functionality in Jira 7.5.
-
repo owner - changed status to wontfix
- Log in to comment