[ruby/yarp] Fix comment locations
https://github.com/ruby/yarp/commit/7d2a1f8f1f
This commit is contained in:
parent
8ca399d640
commit
59e5bf2d1f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user