diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-13 17:30:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 17:30:31 +0200 |
commit | 4059cf2f02f7c8d9c79ca66a477b34e0e0cc6b62 (patch) | |
tree | 2257f8558ad44f103c87dcb526d5b9c252006307 /doc/classes/ProjectSettings.xml | |
parent | 41562b91982074a4ab9c1f151cca1ec0681fc356 (diff) | |
parent | e99730340baed0208e513a8584637de4776d2ec0 (diff) |
Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscript
Fix parse error on statement-less files with only newlines, add a warning for empty files.
Diffstat (limited to 'doc/classes/ProjectSettings.xml')
-rw-r--r-- | doc/classes/ProjectSettings.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 21d974e233..6fdce591ec 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -328,6 +328,9 @@ <member name="debug/gdscript/warnings/deprecated_keyword" type="bool" setter="" getter="" default="true"> If [code]true[/code], enables warnings when deprecated keywords are used. </member> + <member name="debug/gdscript/warnings/empty_file" type="bool" setter="" getter="" default="true"> + If [code]true[/code], enables warnings when an empty file is parsed. + </member> <member name="debug/gdscript/warnings/enable" type="bool" setter="" getter="" default="true"> If [code]true[/code], enables specific GDScript warnings (see [code]debug/gdscript/warnings/*[/code] settings). If [code]false[/code], disables all GDScript warnings. </member> |