- fix: _Pragma is not correctly handled;
This commit is contained in:
parent
58c9d686ce
commit
a4cb52fb96
1
NEWS.md
1
NEWS.md
|
@ -24,6 +24,7 @@ Red Panda C++ Version 2.4
|
|||
- fix: inline functions are not correctly parsed;
|
||||
- fix: &operator= functions are not correctly parsed;
|
||||
- fix: Code Formatter's "add indent to continueous lines" option is not correctly saved.
|
||||
- fix: _Pragma is not correctly handled;
|
||||
|
||||
|
||||
Red Panda C++ Version 2.3
|
||||
|
|
|
@ -119,6 +119,7 @@ void initParser()
|
|||
CppKeywords.insert("typeid",KeywordType::SkipNextParenthesis);
|
||||
CppKeywords.insert("while",KeywordType::SkipNextParenthesis);
|
||||
CppKeywords.insert("static_assert",KeywordType::SkipNextParenthesis);
|
||||
CppKeywords.insert("_Pragma",KeywordType::SkipNextParenthesis);
|
||||
|
||||
// Skip to }
|
||||
CppKeywords.insert("asm",KeywordType::MoveToRightBrace);
|
||||
|
@ -187,6 +188,7 @@ void initParser()
|
|||
CppKeywords.insert("struct",KeywordType::None);
|
||||
CppKeywords.insert("union",KeywordType::None);
|
||||
|
||||
|
||||
CppKeywords.insert("for",KeywordType::For);
|
||||
CppKeywords.insert("catch",KeywordType::Catch);
|
||||
CppKeywords.insert("private",KeywordType::Private);
|
||||
|
|
Loading…
Reference in New Issue