summaryrefslogtreecommitdiff
path: root/rubyparser.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2023-08-25 14:37:05 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2023-08-25 17:27:53 +0900
commitddc5c204b21bb627fc25bda0f3aee28a0325a63e (patch)
tree5f0af92f99f5dffa6b369236aa612b875d33c803 /rubyparser.h
parent197e91f35770959b5e8c9657c62f30664a1f4beb (diff)
VALUE is already defined
This header is needed only when outside of the project
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8274
Diffstat (limited to 'rubyparser.h')
-rw-r--r--rubyparser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rubyparser.h b/rubyparser.h
index 7689b974a9..d4f0c26f27 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -9,7 +9,9 @@
#define rb_encoding void
#define OnigCodePoint unsigned int
#include "parser_st.h"
+#ifndef RUBY_RUBY_H
#include "parser_value.h"
+#endif
#else