Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

C++14 single quote (') digit separators aren't rendered correctly in header files #257

Open
ewalt1 opened this issue Apr 26, 2022 · 0 comments

Comments

@ewalt1
Copy link

ewalt1 commented Apr 26, 2022

https://en.cppreference.com/w/cpp/language/integer_literal

If I do something like:

static constexpr int kThisIsOdd = 0b1111'1111;

Then it will treat the ' as a character capture sequence and render all of the subsequent font as green. The same thing works fine in .cc files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant