- enhancement: ignore '__extension__' when parsing C/C++ codes.
This commit is contained in:
parent
3d138e3ac5
commit
3440b08d8d
2
NEWS.md
2
NEWS.md
|
@ -1,11 +1,13 @@
|
||||||
Red Panda C++ Version 2.22
|
Red Panda C++ Version 2.22
|
||||||
|
|
||||||
|
- enhancement: ignore '__extension__' when parsing C/C++ codes.
|
||||||
- fix: Crash at startup when current problem in the problem set is connected with source file.
|
- fix: Crash at startup when current problem in the problem set is connected with source file.
|
||||||
- fix: Double-clicking on touchpad can't select current word.
|
- fix: Double-clicking on touchpad can't select current word.
|
||||||
- fix: foreach-loops are not correctly parsed.
|
- fix: foreach-loops are not correctly parsed.
|
||||||
- fix: '^' is not correctly handled as operator.
|
- fix: '^' is not correctly handled as operator.
|
||||||
- fix: lambda expression is not correctly handled.
|
- fix: lambda expression is not correctly handled.
|
||||||
|
|
||||||
|
|
||||||
Red Panda C++ Version 2.21
|
Red Panda C++ Version 2.21
|
||||||
|
|
||||||
- change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings.
|
- change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings.
|
||||||
|
|
|
@ -72,6 +72,8 @@ void initParser()
|
||||||
CppKeywords.insert("explicit",KeywordType::SkipItself);
|
CppKeywords.insert("explicit",KeywordType::SkipItself);
|
||||||
CppKeywords.insert("export",KeywordType::SkipItself);
|
CppKeywords.insert("export",KeywordType::SkipItself);
|
||||||
CppKeywords.insert("false",KeywordType::SkipItself);
|
CppKeywords.insert("false",KeywordType::SkipItself);
|
||||||
|
CppKeywords.insert("__extension__",KeywordType::SkipItself);
|
||||||
|
|
||||||
//CppKeywords.insert("for",SkipType::skItself);
|
//CppKeywords.insert("for",SkipType::skItself);
|
||||||
CppKeywords.insert("mutable",KeywordType::SkipItself);
|
CppKeywords.insert("mutable",KeywordType::SkipItself);
|
||||||
CppKeywords.insert("noexcept",KeywordType::SkipItself);
|
CppKeywords.insert("noexcept",KeywordType::SkipItself);
|
||||||
|
|
Loading…
Reference in New Issue