Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ final and override keywords are not correctly identified #32

Open
aeschli opened this issue Jan 8, 2016 · 1 comment
Open

C++ final and override keywords are not correctly identified #32

aeschli opened this issue Jan 8, 2016 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Jan 8, 2016

From @rielz on December 27, 2015 16:58

The C++11 specifiers final and override are missing in the C++ syntax file.
They are context specific keywords, so they must not always be classified as a keyword.

Ironically they are present in the C syntax file with some checks for the correct context.
This check fails for some cases though. These three are currently missing in Code:

class deriv final : base {
    void meth1() final;
    void meth2() override;
}
  • final and override in class declarations
  • final classes ... GitHub seems to be missing that one too 😄

Copied from original issue: microsoft/vscode#1669

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

No branches or pull requests

2 participants