summaryrefslogtreecommitdiff
path: root/src/core/interpret.c
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-10-14 22:05:16 +0000
committerPaul Buetow <paul@buetow.org>2008-10-14 22:05:16 +0000
commita35ace22b374005c65bda8302761d24f75280170 (patch)
tree87cdb9344b9c28fb6dd46cf7ea9d18325e18ec32 /src/core/interpret.c
parentc25ba0d8ee9e4e6a0432fba2e8606c7e0a35d1cd (diff)
run astyle
still lots of debugging to do.
Diffstat (limited to 'src/core/interpret.c')
-rw-r--r--src/core/interpret.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/interpret.c b/src/core/interpret.c
index a53f193..86d5a36 100644
--- a/src/core/interpret.c
+++ b/src/core/interpret.c
@@ -104,7 +104,7 @@ interpret_new(List *p_list_token, Hash *p_hash_syms) {
void
interpret_delete(Interpret *p_interpret) {
- if (!p_interpret)
+ if (p_interpret == NULL)
return;
if (p_interpret->b_scope_delete)
@@ -523,16 +523,16 @@ _control(Interpret *p_interpret) {
switch (tt) {
case TT_IF:
if (convert_to_integer_get(p_token_top)) {
- scope_up(p_interpret->p_scope);
+ //scope_up(p_interpret->p_scope);
ret = interpret_subprocess(p_interpret, p_list_block);
- scope_down(p_interpret->p_scope);
+ //scope_down(p_interpret->p_scope);
}
break;
case TT_IFNOT:
if (!convert_to_integer_get(p_token_top)) {
- scope_up(p_interpret->p_scope);
+ //scope_up(p_interpret->p_scope);
ret = interpret_subprocess(p_interpret, p_list_block);
- scope_down(p_interpret->p_scope);
+ //scope_down(p_interpret->p_scope);
}
break;
NO_DEFAULT;