diff --git a/NEWS.md b/NEWS.md index 58324a01..a24d9f90 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +Red Panda C++ Version 2.15 + + - fix: Static class members is not correctly recognized as static. + Red Panda C++ Version 2.14 - change: Remove all breakpoints of the current non-project file, when it is closed. diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index deb1cda4..4a2335e1 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -10,7 +10,7 @@ isEmpty(APP_NAME) { } isEmpty(APP_VERSION) { - APP_VERSION = 2.14 + APP_VERSION = 2.15 } macos: { diff --git a/RedPandaIDE/parser/cppparser.cpp b/RedPandaIDE/parser/cppparser.cpp index cebd32da..e2a52239 100644 --- a/RedPandaIDE/parser/cppparser.cpp +++ b/RedPandaIDE/parser/cppparser.cpp @@ -1816,6 +1816,12 @@ void CppParser::checkAndHandleMethodOrVar(KeywordType keywordType) if (currentText=="::") { sName = currentText; } else { + if (currentText == "static") + isStatic = true; + else if (currentText == "friend") + isFriend = true; + else if (currentText == "extern") + isExtern = true; sType = currentText; } } diff --git a/Red_Panda_CPP.pro b/Red_Panda_CPP.pro index 0c031466..4ba2f947 100644 --- a/Red_Panda_CPP.pro +++ b/Red_Panda_CPP.pro @@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit APP_NAME = RedPandaCPP -APP_VERSION = 2.14 +APP_VERSION = 2.15 # Add the dependencies so that the RedPandaIDE project can add the depended programs # into the main app bundle