- fix: Static class members is not correctly recognized as static.

This commit is contained in:
Roy Qu 2023-02-25 12:15:54 +08:00
parent a7c73200d5
commit a4a7ff158c
4 changed files with 12 additions and 2 deletions

View File

@ -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.

View File

@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
}
isEmpty(APP_VERSION) {
APP_VERSION = 2.14
APP_VERSION = 2.15
}
macos: {

View File

@ -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;
}
}

View File

@ -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