]> git.eshelyaron.com Git - emacs.git/commit
Forth related improvements for etags
authorHelmut Eller <eller.helmut@gmail.com>
Thu, 1 Dec 2016 16:58:08 +0000 (18:58 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 1 Dec 2016 16:58:08 +0000 (18:58 +0200)
commitbb8e38273e701ad5c65e747e8eda3bd8f3aa4adb
tree65d93db7be87b84dfe713f2af3b4fa25fb6ad380
parent2f68cb3e0502a9dc69613e97a5a5079ebf9249fb
Forth related improvements for etags

Generate correct tags names for things like "(foo)".
Previously "(foo" created.

Fix a bug where a tag for "-bar" was created when encountering things
like "create-bar".

Recognize more words from the Forth-2012 Standard.

* lib-src/etags.c (Forth_words): Check for whitespace after defining
words.  Create tag with make_tag instead of get_tag to avoid notiname
which isn't appropriate for Forth.

* test/manual/etags/forth-src/test-forth.fth: Add some test cases.
* 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 the changes in etags.c and
new test cases.
lib-src/etags.c
test/manual/etags/CTAGS.good
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/forth-src/test-forth.fth