1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 326768 - Macro name is reported as unresolved symbol, not the actual symbol after macro expansion

This commit is contained in:
Alena Laskavaia 2011-02-24 03:15:05 +00:00
parent b414adbb13
commit 9701e70e2b

View file

@ -211,7 +211,7 @@ public class ProblemBindingChecker extends AbstractIndexAstChecker {
}
private void handleVariableProblem(IASTName name, String contextFlagsString) {
reportProblem(ERR_ID_VariableResolutionProblem, name, name.getRawSignature(), contextFlagsString);
reportProblem(ERR_ID_VariableResolutionProblem, name, name.getBinding().getName(), contextFlagsString, name.getRawSignature());
}
private boolean isFunctionCall(IASTNode parentNode) {