summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/script_class_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix C# preprocessor infinite loop and incorrect parsing of `#if!`Ignacio Etcheverry2020-01-241-10/+9
|
* Add dummy preprocessor for the C# script class parserIgnacio Etcheverry2020-01-211-0/+81
| | | | No attempts are made at conditional compilation. The main if branch is always assumed to be true.
* Mono/C#: Fix error when parsing nested genericsIgnacio Etcheverry2020-01-201-2/+4
| | | | Also fixed the editor not including the parse error message in the error.
* 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.
* Mono/C#: Fix class parser incorrectly handling nested namespacesIgnacio Etcheverry2019-12-131-2/+2
| | | | It would incorrectly error thinking the nested namespace is being declared inside a struct/class. This was because of an incorrect nesting level being used for classes and structs.
* Mono/C#: Fix class parser bug with 'where T : struct'Ignacio Etcheverry2019-12-131-38/+15
| | | | The struct decl parsing was outdated. Make both struct decl and class declparsing share the same code.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'Ignacio Etcheverry2019-08-091-9/+9
| | | | | | And 'CRASH_*_MSG' as well. Also make error messages puntuation and quotation more consistent.
* Fix parsing of generic type declarations in C# source files.Sebastian Hartte2019-03-201-0/+14
|
* C#: Fix parsing of class full name when the base has genericsIgnacio Etcheverry2019-03-011-14/+11
| | | | Also we no longer ignore base classes with generics, since we don't really care about that.
* Fix -Wsuggest-attribute=format warnings.marxin2019-02-271-1/+1
|
* Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-3/+3
| | | | Fixes #25316.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix missing/malformed license headersRémi Verschelde2019-01-011-0/+30
|
* Parse C# generics and type constraints correctlyCarter Anderson2018-11-241-4/+97
|
* Fix C# parsing the full name of base typesIgnacio Etcheverry2018-10-281-40/+96
| | | | Previously it would fail if the type name included its namespace.
* Parse C# script namespace and classIgnacio Etcheverry2018-10-251-0/+486
- Added a very simple parser that can extract the namespace and class name of a C# script.