summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-08 12:24:30 +0200
committerGitHub <noreply@github.com>2019-04-08 12:24:30 +0200
commit918de768a550b89da0d232f2040fa618bb10e25a (patch)
tree5d5e499becefbc8fc4a08e7a06dd0a99a2059887 /modules/gdscript/gdscript.cpp
parent3cf2bdbd8416ffd39c105bf64fc3544424d0a2cf (diff)
parentad2127a3e8b274d4946a35cafd31c904a3de294b (diff)
downloadredot-engine-918de768a550b89da0d232f2040fa618bb10e25a.tar.gz
Merge pull request #27711 from neikeq/ifdef-clang-tidy
Replace a few #if/#elif with #ifdef and "#elif defined"
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r--modules/gdscript/gdscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp
index 4385cf12ad..0676317f6e 100644
--- a/modules/gdscript/gdscript.cpp
+++ b/modules/gdscript/gdscript.cpp
@@ -597,7 +597,7 @@ Error GDScript::reload(bool p_keep_state) {
return err;
}
}
-#if DEBUG_ENABLED
+#ifdef DEBUG_ENABLED
for (const List<GDScriptWarning>::Element *E = parser.get_warnings().front(); E; E = E->next()) {
const GDScriptWarning &warning = E->get();
if (ScriptDebugger::get_singleton()) {