Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

[C++] final and override keywords are not correctly identified #210

Closed
aeschli opened this issue Feb 22, 2017 · 1 comment
Closed

[C++] final and override keywords are not correctly identified #210

aeschli opened this issue Feb 22, 2017 · 1 comment
Labels

Comments

@aeschli
Copy link
Contributor

aeschli commented Feb 22, 2017

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

@winstliu
Copy link
Contributor

winstliu commented Mar 6, 2017

This appears to have been fixed.
image

@winstliu winstliu closed this as completed Mar 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants