Open kookjr opened 5 years ago
Not sure if related, but similarly for this:
constexpr auto operator""m(unsigned long long l) { return quantity<metre, std::int64_t>(l); }
which is trying to define a UDL in this library
Hello,
Thanks for the detailed issue. I had a quick look and I see no issue (correct me if I am wrong):
I use recent version of Emacs 28.
Have a look at https://github.com/ludwigpacifici/modern-cpp-font-lock/issues/20. It seems a similar issue and should be fixed in recent Emacs version.
I'm using stock Ubuntu 18.04. I creates a simple setup without any of my init, and I cannot get the color of this small c++ program to work correctly.
Everything after the end double quote on line 2 is colored as if it were inside a string. It does not seem to recognize the double quote before guy as being inside the string.
I'm running emacs like this:
the contents of my init file (testinit.el) are:
I've cloned a copy or your repo here, at revision 02f104701b. The test directory, /home/mat/tmp/cppfl, looks like:
I'm on emacs 25.2.2.