diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 07:47:51 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 07:47:51 +0000 |
commit | a6794c4b01ceb96d3d36f8854309e2e3b878f7e3 (patch) | |
tree | a26585fd8ebbee87634e6ea10b819a8df0e7aca3 /node.h | |
parent | 0268c85e85602f346ebfbb363702b14e13899840 (diff) |
node.c: constify NODE* arguments in node.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -470,7 +470,7 @@ typedef struct node_buffer_struct node_buffer_t; typedef struct rb_ast_struct { VALUE flags; VALUE reserved1; - NODE *root; + const NODE *root; node_buffer_t *node_buffer; VALUE mark_ary; } rb_ast_t; @@ -488,7 +488,7 @@ VALUE rb_parser_end_seen_p(VALUE); VALUE rb_parser_encoding(VALUE); VALUE rb_parser_get_yydebug(VALUE); VALUE rb_parser_set_yydebug(VALUE, VALUE); -VALUE rb_parser_dump_tree(NODE *node, int comment); +VALUE rb_parser_dump_tree(const NODE *node, int comment); void rb_parser_set_options(VALUE, int, int, int, int); rb_ast_t *rb_parser_compile_cstr(VALUE, const char*, const char*, int, int); |