- fix: Variables defined by using alias can't show completion info.
This commit is contained in:
parent
b05f659860
commit
c83da8309c
1
NEWS.md
1
NEWS.md
|
@ -14,6 +14,7 @@ Red Panda C++ Version 3.1
|
|||
- enhancement: More elements in the demo of editor color theme optiont page.
|
||||
- fix: Mingw32-make doesn't work correctly if there are bash in the path.
|
||||
- fix: All color scheme names are incorrectly displayed as bold, if the current one is a customed one.
|
||||
- fix: Variables defined by using alias can't show completion info.
|
||||
|
||||
Red Panda C++ Version 3.0
|
||||
|
||||
|
|
|
@ -5937,6 +5937,7 @@ PStatement CppParser::doParseEvalTypeInfo(
|
|||
PStatement effectiveTypeStatement = typeStatement;
|
||||
int level=0;
|
||||
while (effectiveTypeStatement && (effectiveTypeStatement->kind == StatementKind::Typedef
|
||||
|| effectiveTypeStatement->kind == StatementKind::Alias
|
||||
|| effectiveTypeStatement->kind == StatementKind::Preprocessor)) {
|
||||
if (level >20) // prevent infinite loop
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue