mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Constify rb_global_parser_config
This commit is contained in:
parent
4e5754a459
commit
0610f555ea
5 changed files with 10 additions and 10 deletions
4
node.h
4
node.h
|
@ -43,14 +43,14 @@ struct node_buffer_struct {
|
|||
// Array, whose entry is array
|
||||
VALUE tokens;
|
||||
#ifdef UNIVERSAL_PARSER
|
||||
rb_parser_config_t *config;
|
||||
const rb_parser_config_t *config;
|
||||
#endif
|
||||
};
|
||||
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
|
||||
#ifdef UNIVERSAL_PARSER
|
||||
rb_ast_t *rb_ast_new(rb_parser_config_t *config);
|
||||
rb_ast_t *rb_ast_new(const rb_parser_config_t *config);
|
||||
#else
|
||||
rb_ast_t *rb_ast_new(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue