* lib-src/etags.c (regex_tag_multiline): Fix off-by-one error in
determining the end of the tag matched by a multiline regexp.
(Bug#73771)
* test/manual/etags/ETAGS.good_4:
* test/manual/etags/ETAGS.good_5:
* test/manual/etags/ETAGS.good_6: Adjust test results to the above
change.
(cherry picked from commit
d0be0965ca344caab7879b2ac2373a68025c9ba2)
/* Force explicit tag name, if a name is there. */
pfnote (name, true, buffer + linecharno,
- charno - linecharno + 1, lineno, linecharno);
+ charno - linecharno, lineno, linecharno);
if (debug)
fprintf (stderr, "%s on %s:%"PRIdMAX": %s\n",