aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:49:34 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:49:34 (GMT)
commitabe994ae16b892106e0b36d7be5bfd7e1100075c (patch)
treebe899fbb5d23e280ca8ce17b1bf2da4d9afe0f28 /eval.c
parentcb2555e19237930a25989a7cd2bee4589f1d515d (diff)
downloadpowwow-abe994ae16b892106e0b36d7be5bfd7e1100075c.zip
powwow-abe994ae16b892106e0b36d7be5bfd7e1100075c.tar.gz
powwow-abe994ae16b892106e0b36d7be5bfd7e1100075c.tar.bz2
Internally renamed some option flags to match their #opt counterparts:
echo_int => opt_info echo_key => opt_keyecho echo_ext => opt_echo As per the 1.2.6-dain patch
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 03f6b16..f790896 100644
--- a/eval.c
+++ b/eval.c
@@ -407,7 +407,7 @@ static int check_object __P1 (object *,obj)
named_var = add_varnode(line, i);
if (REAL_ERROR)
return 0;
- if (echo_int) {
+ if (opt_info) {
PRINTF("#new variable: %s\n", line - 1);
}
}
@@ -1212,7 +1212,7 @@ static int exe_op __P1 (operator *,op)
named_var = add_varnode(ptrdata(o1.txt), delta);
if (REAL_ERROR)
break;
- if (echo_int) {
+ if (opt_info) {
PRINTF("#new variable: %c%s\n", delta
? '$' : '@', ptrdata(o1.txt));
}