- fix: Typedef and using alias is not correctly handled in expression evaluation.
This commit is contained in:
parent
72189f0a94
commit
e2f25d063f
1
NEWS.md
1
NEWS.md
|
@ -14,6 +14,7 @@ Red Panda C++ Version 2.22
|
||||||
- fix: vertice shader(.vs) and fragment shader(.fs) files can't be openned by double click in the project browser.
|
- fix: vertice shader(.vs) and fragment shader(.fs) files can't be openned by double click in the project browser.
|
||||||
- enhancement: Add various menu items for cursor actions using Home/End/Page Up/Page Down keys.
|
- enhancement: Add various menu items for cursor actions using Home/End/Page Up/Page Down keys.
|
||||||
- enhancement: Filter names in the shortcut config page of options dialog.
|
- enhancement: Filter names in the shortcut config page of options dialog.
|
||||||
|
- fix: Typedef and using alias is not correctly handled in expression evaluation.
|
||||||
|
|
||||||
Red Panda C++ Version 2.21
|
Red Panda C++ Version 2.21
|
||||||
|
|
||||||
|
|
|
@ -4808,7 +4808,7 @@ PEvalStatement CppParser::doEvalTerm(const QString &fileName,
|
||||||
case StatementKind::skAlias: {
|
case StatementKind::skAlias: {
|
||||||
statement = doFindAliasedStatement(statement);
|
statement = doFindAliasedStatement(statement);
|
||||||
if (statement)
|
if (statement)
|
||||||
result = doCreateEvalNamespace(statement);
|
result = doCreateEvalType(fileName,statement);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case StatementKind::skVariable:
|
case StatementKind::skVariable:
|
||||||
|
|
Loading…
Reference in New Issue