mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Autocompletion: register depended parsers with the main parser
This commit is contained in:
parent
97b8ad1af0
commit
4699e69708
3 changed files with 12 additions and 19 deletions
|
|
@ -260,6 +260,7 @@ void GDScriptParser::make_completion_context(CompletionType p_type, Node *p_node
|
|||
context.current_line = tokenizer->get_cursor_line();
|
||||
context.current_argument = p_argument;
|
||||
context.node = p_node;
|
||||
context.parser = this;
|
||||
completion_context = context;
|
||||
}
|
||||
|
||||
|
|
@ -277,6 +278,7 @@ void GDScriptParser::make_completion_context(CompletionType p_type, Variant::Typ
|
|||
context.current_suite = current_suite;
|
||||
context.current_line = tokenizer->get_cursor_line();
|
||||
context.builtin_type = p_builtin_type;
|
||||
context.parser = this;
|
||||
completion_context = context;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue