mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Constified code_loc_gen
This commit is contained in:
parent
4a620aff8d
commit
0a52015da7
1 changed files with 1 additions and 1 deletions
2
node.h
2
node.h
|
|
@ -137,7 +137,7 @@ typedef struct rb_code_location_struct {
|
|||
} rb_code_location_t;
|
||||
|
||||
static inline rb_code_location_t
|
||||
code_loc_gen(rb_code_location_t *loc1, rb_code_location_t *loc2)
|
||||
code_loc_gen(const rb_code_location_t *loc1, const rb_code_location_t *loc2)
|
||||
{
|
||||
rb_code_location_t loc;
|
||||
loc.beg_pos = loc1->beg_pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue