mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 02:43:23 +00:00
Fix etags tagging by multiline regexps
* 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.
This commit is contained in:
parent
7cbca90569
commit
d0be0965ca
4 changed files with 250 additions and 250 deletions
|
@ -7420,7 +7420,7 @@ regex_tag_multiline (void)
|
|||
|
||||
/* 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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue