summaryrefslogtreecommitdiff
path: root/rubyparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'rubyparser.h')
-rw-r--r--rubyparser.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rubyparser.h b/rubyparser.h
index 22ac7df088..813ad321e2 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -1209,6 +1209,10 @@ typedef struct RNode_ERROR {
typedef struct node_buffer_struct node_buffer_t;
+#ifdef UNIVERSAL_PARSER
+typedef struct rb_parser_config_struct rb_parser_config_t;
+#endif
+
typedef struct rb_ast_body_struct {
const NODE *root;
rb_parser_ary_t *script_lines;
@@ -1219,6 +1223,9 @@ typedef struct rb_ast_body_struct {
typedef struct rb_ast_struct {
node_buffer_t *node_buffer;
rb_ast_body_t body;
+#ifdef UNIVERSAL_PARSER
+ const rb_parser_config_t *config;
+#endif
} rb_ast_t;