Skip to content

Commit

Permalink
Omit unnecessary field from location range
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Apr 5, 2024
1 parent a7087c8 commit cd8439d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ext/rbs_extension/location.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -25,7 +30,7 @@ typedef struct {

typedef struct {
VALUE buffer;
range rg;
rbs_loc_range rg;
rbs_loc_children *children;
} rbs_loc;

Expand Down

0 comments on commit cd8439d

Please sign in to comment.