Skip to content

Digit separators mess with comments #7824

Open
@Eisenwave

Description

@Eisenwave

To reproduce, try something like

\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 '.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions