Skip to content

Commit 16a40ed

Browse files
committed
loads built-in declarations into parser state
1 parent 4b66021 commit 16a40ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RetailCoder.VBE/App.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
using Rubberduck.UI;
1717
using Rubberduck.UI.Command.MenuItems;
1818
using Rubberduck.UI.ParserErrors;
19+
using Rubberduck.VBEditor.Extensions;
1920

2021
namespace Rubberduck
2122
{
@@ -119,6 +120,7 @@ public void Startup()
119120

120121
Task.Delay(1000).ContinueWith(t =>
121122
{
123+
_parser.State.AddBuiltInDeclarations(_vbe.HostApplication());
122124
ParseAll();
123125
});
124126

0 commit comments

Comments
 (0)