diff options
author | Tony Cook <tony@develop-help.com> | 2014-05-07 09:33:03 +1000 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-05-12 13:07:04 -0600 |
commit | 9612f77d752993595fcf7e3ddafaad50d535f00a (patch) | |
tree | 0a123fa839ba18814eec9f2df4b8dea319b21456 /mro.c | |
parent | d3f8a934ef964c0f488e9c692275435d8ea2e291 (diff) | |
download | perl-9612f77d752993595fcf7e3ddafaad50d535f00a.tar.gz |
ensure qw//, q'' and '' report line on a missing terminator
scan_str() only sets PL_multi_end on success, but the qw, q amd '' cases
were calling the COPLINE_SET_FROM_MULTI_END; macro before reporting
failure, overwriting the line used for reporting errors.
For the simplest case, as in the ticket and the tests, PL_multi_end is
zero, so the error is reported without a line number.
Diffstat (limited to 'mro.c')
0 files changed, 0 insertions, 0 deletions