summaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/compile.h b/compile.h
index e298008..e40517e 100644
--- a/compile.h
+++ b/compile.h
@@ -13,12 +13,6 @@
#ifndef RUBY_COMPILE_H
#define RUBY_COMPILE_H
-
-#if YARVDEBUG > CPDEBUG
-#undef CPDEBUG
-#define CPDEBUG YARVDEBUG
-#endif
-
/* */
/**
* debug function(macro) interface depend on CPDEBUG
@@ -32,6 +26,10 @@
* 10: show every AST array
*/
+#ifndef CPDEBUG
+#define CPDEBUG 0
+#endif
+
#if 0
#undef CPDEBUG
#define CPDEBUG 2