diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2024-08-28 23:20:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 23:20:25 +0200 |
commit | ce8a837aab2568f9cdc41b4b410c478b0cd711fc (patch) | |
tree | c93d4f375de2851532b73f4dbe555d78ba9133a2 /modules/gdscript/gdscript_parser.cpp | |
parent | 40b378e9e2338d84f897f6991cc913a713295785 (diff) | |
parent | 930742f8b3e235778aa6ceecb8f0d61fc2ceb422 (diff) | |
download | redot-engine-ce8a837aab2568f9cdc41b4b410c478b0cd711fc.tar.gz |
Merge pull request #96243 from AinaVT/fix-missing-parser-from-completion-context
Fix missing `GDScriptParser` reference on completion context
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index c4cef0287f..582305d900 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -260,6 +260,7 @@ void GDScriptParser::override_completion_context(const Node *p_for_node, Complet context.current_line = tokenizer->get_cursor_line(); context.current_argument = p_argument; context.node = p_node; + context.parser = this; completion_context = context; } |