parse.y: Change the last location of none to be equal to the first location of none. Sometimes none has length (parser->tokp does not match lex_p when none is generated). This leads to invalid code_ranges.
e.g. The locations of the NODE_CALL (:sort) is fixed:
parse.y: Change the last location of none
parse.y: Change the last location of none to be
equal to the first location of none.
Sometimes none has length (
parser->tokpdoes notmatch
lex_pwhen none is generated).This leads to invalid code_ranges.
e.g. The locations of the NODE_CALL (:sort) is fixed:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e