summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/gd_compiler.h')
-rw-r--r--modules/gdscript/gd_compiler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gdscript/gd_compiler.h b/modules/gdscript/gd_compiler.h
index 5bf7ec980d..32e18c6dcf 100644
--- a/modules/gdscript/gd_compiler.h
+++ b/modules/gdscript/gd_compiler.h
@@ -44,7 +44,7 @@ class GDCompiler {
List< Map<StringName,int> > stack_id_stack;
Map<StringName,int> stack_identifiers;
-
+
List<GDFunction::StackDebug> stack_debug;
List< Map<StringName,int> > block_identifier_stack;
Map<StringName,int> block_identifiers;
@@ -65,7 +65,7 @@ class GDCompiler {
void push_stack_identifiers() {
stack_id_stack.push_back( stack_identifiers );
if (debug_stack) {
-
+
block_identifier_stack.push_back(block_identifiers);
block_identifiers.clear();
}
@@ -74,10 +74,10 @@ class GDCompiler {
void pop_stack_identifiers() {
stack_identifiers = stack_id_stack.back()->get();
stack_id_stack.pop_back();
-
+
if (debug_stack) {
for (Map<StringName,int>::Element *E=block_identifiers.front();E;E=E->next()) {
-
+
GDFunction::StackDebug sd;
sd.added=false;
sd.identifier=E->key();