diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java index 0c173dee241..f3bd5e0fb69 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java @@ -798,7 +798,7 @@ class ASTFileLocation implements IASTFileLocation { return false; if (fLength != other.fLength) return false; - return Objects.equals(fLocationCtx, fLocationCtx); + return Objects.equals(fLocationCtx, other.fLocationCtx); } }