summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-06-18 14:28:16 +0300
committerEli Zaretskii <eliz@gnu.org>2021-06-18 14:28:16 +0300
commit6af9f1f3efc98f3ad736db9e2cf6dfb63bf7e3ff (patch)
treee4d2ec83a50dcb2af1aa42bcb0b95d67d0fb4f79 /lib-src
parent0ffcf7479c49ad5e0f9f675124c7cf741197aedd (diff)
downloademacs-6af9f1f3efc98f3ad736db9e2cf6dfb63bf7e3ff.tar.gz
Improve and update the 'etags' test suite
* lib-src/etags.c (mercury_pr): Remove redundant comment. * test/manual/etags/merc-src/accumulator.m: Add more complex declarations. * test/manual/etags/ETAGS.good_1: * test/manual/etags/ETAGS.good_2: * test/manual/etags/ETAGS.good_3: * test/manual/etags/ETAGS.good_4: * test/manual/etags/ETAGS.good_5: * test/manual/etags/ETAGS.good_6: * test/manual/etags/CTAGS.good: Adapt to latest changes in 'etags' and the test suite. (Bug#47408)
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index bd57ede2f37..c39c93db336 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -6597,8 +6597,6 @@ mercury_pr (char *s, char *last, ptrdiff_t lastlen)
&& c_isspace (s[pos - namelength - offset]))
--offset;
- /* There is no need to correct namelength or call notinname. */
-
make_tag (s + pos - namelength - offset, namelength - 1, true,
s, pos - offset - 1, lineno, linecharno);
return pos;