godot/modules/gdscript
William Deurwaarder e77338978f Print error message when await is not followed by signal or coroutine
When await was not followed by a signal or coroutine the GDScript parser would
crash.

This fix will check if await is followed by a signal or coroutine in case that
isn't true (element == nullptr) then an error message is printed.
2021-08-28 17:29:35 +02:00
..
doc_classes doc: Use self-closing tags for return and argument 2021-07-30 15:29:52 +02:00
editor Use OrderedHashMap for autoloads to preserve order 2021-08-26 21:55:26 -07:00
icons Optimize SVG using svgcleaner --multipass 2020-10-25 10:02:37 +01:00
language_server Style: Cleanup code using text_editor/completion/use_single_quotes 2021-08-13 21:27:57 +02:00
tests Merge pull request #52122 from V-Sekai/autoload_list 2021-08-27 14:41:40 -07:00
config.py Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
gdscript_analyzer.cpp GDScript: Make singleton functions be seen as static 2021-08-20 10:52:58 -03:00
gdscript_analyzer.h GDScript: Fix issue when calling new() on its own 2021-08-18 18:56:21 -03:00
gdscript_byte_codegen.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
gdscript_byte_codegen.h [Net] Single rpc annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_cache.cpp Fix crash when failing to load script from cache 2021-08-16 16:27:25 -07:00
gdscript_cache.h Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
gdscript_codegen.h [Net] Single rpc annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
gdscript_compiler.cpp GDScript: Fix memory leak when using self class as type 2021-08-18 18:58:45 -03:00
gdscript_compiler.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_disassembler.cpp Rename Quat to Quaternion 2021-06-04 18:14:32 +01:00
gdscript_editor.cpp Use OrderedHashMap for autoloads to preserve order 2021-08-26 21:55:26 -07:00
gdscript_function.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
gdscript_function.h Remove underscore hacks 2021-08-17 16:10:28 +02:00
gdscript_lambda_callable.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_lambda_callable.h Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
gdscript_parser.cpp Print error message when await is not followed by signal or coroutine 2021-08-28 17:29:35 +02:00
gdscript_parser.h Remove underscore hacks 2021-08-17 16:10:28 +02:00
gdscript_tokenizer.cpp Reorganise text editor settings 2021-08-16 17:18:49 +01:00
gdscript_tokenizer.h GDScript: Add lambda syntax parsing 2021-04-28 10:56:16 -03:00
gdscript_utility_functions.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
gdscript_utility_functions.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_vm.cpp Fix initialization of objects in VariantInternal 2021-08-19 20:19:47 -03:00
gdscript_warning.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_warning.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript.cpp Remove underscore hacks 2021-08-17 16:10:28 +02:00
gdscript.h [Net] Single rpc annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
register_types.cpp Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub Register GDScript test tools as test commands to run via command-line 2020-09-02 01:43:26 +03:00