diff options
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/include/line-map.h | 6 | ||||
-rw-r--r-- | libcpp/line-map.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h index 217f916..44008be 100644 --- a/libcpp/include/line-map.h +++ b/libcpp/include/line-map.h @@ -1225,6 +1225,12 @@ LINEMAP_SYSP (const line_map_ordinary *ord_map) return ord_map->sysp; } +const struct line_map *first_map_in_common (line_maps *set, + location_t loc0, + location_t loc1, + location_t *res_loc0, + location_t *res_loc1); + /* Return a positive value if PRE denotes the location of a token that comes before the token of POST, 0 if PRE denotes the location of the same token as the token for POST, and a negative value diff --git a/libcpp/line-map.c b/libcpp/line-map.c index a8d5286..5a74174 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -1289,7 +1289,7 @@ first_map_in_common_1 (line_maps *set, virtual location of the token inside the resulting macro, upon return of a non-NULL result. */ -static const struct line_map* +const struct line_map* first_map_in_common (line_maps *set, location_t loc0, location_t loc1, |