137f8a58a8
In an effort to make GDScript a little faster replace the double switch() with a computed goto on compilers that set __GNUC__. For compilers that don't support computed goto it will fall back to regular switch/case statements. In addition disable using boolean values in a mathematical context. Now boolean values can only be compared with other booleans. Booleans will also no longer be coerced to integers. This PR replaces #11308 and fixes #11291 |
||
---|---|---|
.. | ||
config.py | ||
gd_compiler.cpp | ||
gd_compiler.h | ||
gd_editor.cpp | ||
gd_function.cpp | ||
gd_function.h | ||
gd_functions.cpp | ||
gd_functions.h | ||
gd_parser.cpp | ||
gd_parser.h | ||
gd_script.cpp | ||
gd_script.h | ||
gd_tokenizer.cpp | ||
gd_tokenizer.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub |