aboutsummaryrefslogtreecommitdiffstats
path: root/compile.h
diff options
context:
space:
mode:
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