diff --git a/NEWS.md b/NEWS.md index a20c1038..cc54d8ac 100644 --- a/NEWS.md +++ b/NEWS.md @@ -129,6 +129,7 @@ Red Panda C++ Version 2.27 - change: Completion popup size settings are based on editor's char width/line height. - change: Remove "limit for copy" and "limit for undo" options. - fix: Can't find the correct type if current symbol is member of a class that has constructors. + - fix: Alias a namespace to itself will create infinite loop. Red Panda C++ Version 2.26 - enhancement: Code suggestion for embedded std::vectors. diff --git a/RedPandaIDE/parser/cppparser.cpp b/RedPandaIDE/parser/cppparser.cpp index 4be20dda..9ff973e3 100644 --- a/RedPandaIDE/parser/cppparser.cpp +++ b/RedPandaIDE/parser/cppparser.cpp @@ -3203,20 +3203,23 @@ void CppParser::handleNamespace(KeywordType skipType, int maxIndex) } //qDebug()<