зеркало из https://github.com/github/ruby.git
ac819f4db9
Previously, parsing a snippet like this: %r\nfoo\n would result in tracking the second newline twice, resulting in a failed runtime assertion. Fixing that issue reveals another bug, which is that the _first_ newline was not being tracked at all. So we introduce a call to yp_newline_list right when we construct the REGEXP_BEGIN token. https://github.com/ruby/yarp/commit/0d5d759091 |
||
---|---|---|
.. | ||
enc | ||
templates | ||
util | ||
api_pack.c | ||
config.h | ||
config.yml | ||
defines.h | ||
diagnostic.c | ||
diagnostic.h | ||
extension.c | ||
extension.h | ||
node.h | ||
pack.c | ||
pack.h | ||
parser.h | ||
regexp.c | ||
regexp.h | ||
unescape.c | ||
unescape.h | ||
version.h | ||
yarp.c | ||
yarp.h | ||
yarp_init.c |