Skip to content

Commit 352a87c

Browse files
committed
Passed tokens where I had overlooked it so far.
1 parent be8ad43 commit 352a87c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Rubberduck.Parsing/VBA/ParseCoordinator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private void ExecuteCommonParseActivities(IReadOnlyCollection<QualifiedModuleNam
239239

240240
//Explicitly setting the overall state here guarantees that the handlers attached
241241
//to the state change to ResolvedDeclarations always run, provided there is no error.
242-
State.SetStatusAndFireStateChanged(this, ParserState.ResolvedDeclarations);
242+
State.SetStatusAndFireStateChanged(this, ParserState.ResolvedDeclarations, token);
243243

244244
if (token.IsCancellationRequested || State.Status >= ParserState.Error)
245245
{

Rubberduck.Parsing/VBA/RubberduckParserState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public void SetModuleState(QualifiedModuleName module, ParserState state, Cancel
339339
{
340340
// ghost component shouldn't even exist
341341
ClearStateCache(module);
342-
EvaluateParserState();
342+
EvaluateParserState(token);
343343
return;
344344
}
345345
}

0 commit comments

Comments
 (0)