From 7007cae02da1faa0465b8f95f370247cfcc20e98 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Tue, 24 Jul 2018 16:34:06 +0200 Subject: [PATCH] logic: fixed parser client to record scope of nodes that have a signature --- src/lib/data/parser/ParserClientImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/data/parser/ParserClientImpl.cpp b/src/lib/data/parser/ParserClientImpl.cpp index 8352d849..01dabb3a 100644 --- a/src/lib/data/parser/ParserClientImpl.cpp +++ b/src/lib/data/parser/ParserClientImpl.cpp @@ -58,7 +58,7 @@ Id ParserClientImpl::recordSymbolWithLocationAndScopeAndSignature( const ParseLocation& location, const ParseLocation& scopeLocation, const ParseLocation& signatureLocation, AccessKind access, DefinitionKind definitionKind) { - Id nodeId = recordSymbolWithLocation(symbolName, symbolKind, location, access, definitionKind); + Id nodeId = recordSymbolWithLocationAndScope(symbolName, symbolKind, location, scopeLocation, access, definitionKind); addSourceLocation(nodeId, signatureLocation, locationTypeToInt(LOCATION_SIGNATURE)); return nodeId; }