summaryrefslogtreecommitdiff
path: root/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'env.h')
-rw-r--r--env.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/env.h b/env.h
index 09ff31d13f1..66a873db6fb 100644
--- a/env.h
+++ b/env.h
@@ -2,9 +2,9 @@
env.h -
- $Author$
- $Revision$
- $Date$
+ $Author: matz $
+ $Revision: 1.3 $
+ $Date: 1994/08/12 11:06:39 $
created at: Mon Jul 11 11:53:03 JST 1994
************************************************/
@@ -17,8 +17,10 @@ extern struct ENVIRON {
VALUE *argv;
struct RClass *current_module;
struct RClass *last_class;
+#ifdef USE_CALLER
char *file;
int line;
+#endif
ID last_func;
ID *local_tbl;
VALUE *local_vars;
@@ -29,12 +31,15 @@ extern struct ENVIRON {
struct ENVIRON *prev;
} *the_env;
-#define ITERATOR_P() (the_env->iterator > 0 && the_env->iterator < 3)
+#define ITERATOR_P() (the_env->iterator == 1 || the_env->iterator == 2)
+
+#undef Qself
#define Qself the_env->self
#define the_class the_env->current_module
#define DURING_ITERATE 1
#define DURING_RESQUE 2
#define DURING_CALL 4
+#define VARS_MALLOCED 8
#endif /* ENV_H */