diff --git a/ext/rbs_extension/location.h b/ext/rbs_extension/location.h index 63b926e55..837091c6b 100644 --- a/ext/rbs_extension/location.h +++ b/ext/rbs_extension/location.h @@ -9,9 +9,14 @@ * */ extern VALUE RBS_Location; +typedef struct { + int start; + int end; +} rbs_loc_range; + typedef struct { ID name; - range rg; + rbs_loc_range rg; } rbs_loc_entry; typedef unsigned int rbs_loc_entry_bitmap; @@ -25,7 +30,7 @@ typedef struct { typedef struct { VALUE buffer; - range rg; + rbs_loc_range rg; rbs_loc_children *children; } rbs_loc;