diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-14 17:15:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-14 17:15:24 +0900 |
commit | 0a52015da7c4895363e239387e749e4b1f63b198 (patch) | |
tree | 60061671da43babe42ddf5e60cbd28a8ef45899f /node.h | |
parent | 4a620aff8d1098900c8d0f336b2698ed1256621c (diff) |
Constified code_loc_gen
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |