diff options
author | Haldun Bayhantopcu <[email protected]> | 2023-07-25 21:14:51 +0200 |
---|---|---|
committer | git <[email protected]> | 2023-07-26 14:46:17 +0000 |
commit | 59e5bf2d1fdcdd65c17bfd08a6f7644acc41be04 (patch) | |
tree | 5cd7160f7dec9691092db3759bb48db31bf65d4d /yarp/extension.c | |
parent | 8ca399d64023fd13bd17bc38132610ccb2ccc598 (diff) |
[ruby/yarp] Fix comment locations
https://github.com/ruby/yarp/commit/7d2a1f8f1f
Diffstat (limited to 'yarp/extension.c')
-rw-r--r-- | yarp/extension.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarp/extension.c b/yarp/extension.c index 034be79e4d..759cd90d70 100644 --- a/yarp/extension.c +++ b/yarp/extension.c @@ -244,7 +244,7 @@ parser_comments(yp_parser_t *parser, VALUE source) { VALUE location_argv[] = { source, LONG2FIX(comment->start - parser->start), - LONG2FIX(comment->end - parser->start) + LONG2FIX(comment->end - comment->start) }; VALUE type; |