You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C23 has added digit specifiers to the language (', just like C++). They are not highlighted correctly in the code. It seems as if the engine treats it as the start of a string/character
Describe the issue
C23 has added digit specifiers to the language (
'
, just like C++). They are not highlighted correctly in the code. It seems as if the engine treats it as the start of a string/characterWhich language seems to have the issue?
c
Are you using
highlight
orhighlightAuto
?Whichever one StackExchange uses.
Sample Code to Reproduce
Expected behavior
It should recognize it as a digit separator instead of a character or a string opening quote.
Additional context
This was found at this code review post: https://codereview.stackexchange.com/revisions/292149/6
And it was fixed by such a hack:
The text was updated successfully, but these errors were encountered: