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
\begin{codeblock}
unsigned x = 0xffff'ffff; // comment
\end{codeblock}
This will treat // comment as having code font, presumably because the C++ parser is not aware of digit separators, so it thinks that 'ffff; // comment is one long character literal with no closing '.
The text was updated successfully, but these errors were encountered:
Since we don't use digit separators often in our examples in the standard, are there specific instances where we have a problem and might want to move the comment a line above or below or similar?
It might be an issue limited to digit separators in hexadecimal literals.
I cannot find any improperly rendered examples. It's just something annoying I've discovered when creating some new wording that could have contained 0xff'ff'ff'ff or 0xffff'ffff.
What extension are we using for this purpose anyway? Is that something we could fix after all?
To reproduce, try something like
This will treat
// comment
as having code font, presumably because the C++ parser is not aware of digit separators, so it thinks that'ffff; // comment
is one long character literal with no closing'
.The text was updated successfully, but these errors were encountered: