summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_compiler.h
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-101-2/+4
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-2/+2
| | | | | | | | | | For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
* GDScript: Don't re-evaluate index on assigment with operationGeorge Marques2020-01-091-3/+3
| | | | | | | Pass the calculated index from the stack and use the same to get and set the value. This avoids a function with side effects being evaluated twice when using indexing in an assignment with operation statement (e.g. a[function()] += 1).
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Fix GDScriptCompiler bugging out with identically-named inner classBojidar Marinov2019-03-161-5/+4
| | | | Fixes #27111
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Revert "Fix crash on signal/resume to dangling target"Pedro J. Estébanez2018-11-241-5/+5
| | | | This reverts commit 54bdc1e1f6a7fb85a5b193c9b8ecf0dcf06949e6.
* Fix crash on signal/resume to dangling targetPedro J. Estébanez2018-10-171-5/+5
| | | | Fixes #22443.
* Use type information to enable GDScript introspectionGeorge Marques2018-07-201-0/+3
| | | | | This makes the Script API provide accurate information when requesting property or method info.
* Move inheritance resolution to the parserGeorge Marques2018-07-201-1/+7
|
* Enable autoload in editorGeorge Marques2018-05-011-0/+3
| | | | | | - Tool scripts will be executed and can be accessed by plugins. - Other script languages can implement add/remove_named_global_constant to make use of this functionality.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* GDScript: Refactor "GD" class prefix to "GDScript"Rémi Verschelde2017-11-161-0/+157