mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Style: Add WARNING:
as new comment admonition
This commit is contained in:
parent
0a9d8f04c1
commit
32c83a228d
13 changed files with 46 additions and 34 deletions
|
@ -2629,9 +2629,10 @@ Error GDScriptCompiler::_parse_setter_getter(GDScript *p_script, const GDScriptP
|
|||
return err;
|
||||
}
|
||||
|
||||
// Prepares given script, and inner class scripts, for compilation. It populates class members and initializes method
|
||||
// RPC info for its base classes first, then for itself, then for inner classes.
|
||||
// Warning: this function cannot initiate compilation of other classes, or it will result in cyclic dependency issues.
|
||||
// Prepares given script, and inner class scripts, for compilation. It populates class members and
|
||||
// initializes method RPC info for its base classes first, then for itself, then for inner classes.
|
||||
// WARNING: This function cannot initiate compilation of other classes, or it will result in
|
||||
// cyclic dependency issues.
|
||||
Error GDScriptCompiler::_prepare_compilation(GDScript *p_script, const GDScriptParser::ClassNode *p_class, bool p_keep_state) {
|
||||
if (parsed_classes.has(p_script)) {
|
||||
return OK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue