Skip to content

Commit 7fedd2f

Browse files
committed
Correctly fire Pending state
1 parent 1ec9482 commit 7fedd2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Rubberduck.Parsing/VBA/RubberduckParserState.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,10 @@ private ParserState EvaluateParserState()
432432
}
433433
}
434434

435+
if (stateCounts[(int)ParserState.Pending] > 0)
436+
{
437+
result = ParserState.Pending;
438+
}
435439
if (stateCounts[(int)ParserState.Parsing] > 0)
436440
{
437441
result = ParserState.Parsing;

0 commit comments

Comments
 (0)