summaryrefslogtreecommitdiff
path: root/internal/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/parse.h')
-rw-r--r--internal/parse.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/internal/parse.h b/internal/parse.h
index 0132557..bcde0fe 100644
--- a/internal/parse.h
+++ b/internal/parse.h
@@ -9,15 +9,20 @@
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
*/
+#include "ruby/ruby.h" /* for VALUE */
-/* parse.y */
#ifndef USE_SYMBOL_GC
-#define USE_SYMBOL_GC 1
+# define USE_SYMBOL_GC 1
#endif
+
+struct rb_iseq_struct; /* in vm_core.h */
+
+/* parse.y */
VALUE rb_parser_set_yydebug(VALUE, VALUE);
+void *rb_parser_load_file(VALUE parser, VALUE name);
+
RUBY_SYMBOL_EXPORT_BEGIN
VALUE rb_parser_set_context(VALUE, const struct rb_iseq_struct *, int);
RUBY_SYMBOL_EXPORT_END
-void *rb_parser_load_file(VALUE parser, VALUE name);
#endif /* INTERNAL_PARSE_H */