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
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
C++ syntax highlighting does not behave properly in some class inheritance cases #81
The commented screenshot shows expected and observed behavior.
This occurred on OS X. I am running 10.11 Beta, but I'm confident I've experienced this behavior in 10.10 as well.
(Copied @Leedehai)
Key word 'public' not recognized when namespace is involved in class inheritance
Also, class name is not recognized when namespace is involved. I feel regex matching is problematic when "::" is prefixed/suffixed.
Activity
winstliu commentedon Jan 15, 2017
for easy copy/paste testing.
meyfa commentedon Apr 18, 2017
Can confirm that namespaces after the colon and also multiple inheritance are still not highlighted properly. language-c v0.57.0, Atom v1.16.0.
Leedehai commentedon Aug 2, 2017
(Copied @Leedehai)

Key word 'public' not recognized when namespace is involved in class inheritance
Also, class name is not recognized when namespace is involved. I feel regex matching is problematic when "::" is prefixed/suffixed.
meyfa commentedon Jan 31, 2021
This seems to be fixed (try the copy-paste example above with a recent Atom version). I think the issue can be closed.