summaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-05 08:12:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-05 08:12:18 +0000
commit46603a78afde1386f92b38f9b16ca86daa93ad88 (patch)
treef3594fecc31b6f210f95143c7a20c2ea55ae68ce /compile.h
parenta0d50fa3c494ea5afb98c05be049a0cde6fde28d (diff)
* include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
eval_load.c, gc.c, iseq.c, main.c, parse.y, re.c, ruby.c, yarvcore.[ch] (ruby_eval_tree, ruby_sourcefile, ruby_sourceline, ruby_nerrs): purge global variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compile.h b/compile.h
index c2764a7bf0..e298008e93 100644
--- a/compile.h
+++ b/compile.h
@@ -37,6 +37,8 @@
#define CPDEBUG 2
#endif
+NORETURN(PRINTF_ARGS(void rb_compile_bug(const char*, int, const char*, ...), 3, 4));
+
#if CPDEBUG > 0
#define debugp(header, value) \
@@ -205,6 +207,8 @@ r_value(VALUE value)
break; \
}
+#define ERROR_ARGS (node)->nd_file, nd_line(node),
+
#define COMPILE_OK 1
#define COMPILE_NG 0