summaryrefslogtreecommitdiff
path: root/test/manual/etags/ETAGS.good_3
diff options
context:
space:
mode:
authorHelmut Eller <eller.helmut@gmail.com>2016-12-01 18:58:08 +0200
committerEli Zaretskii <eliz@gnu.org>2016-12-01 18:58:08 +0200
commitbb8e38273e701ad5c65e747e8eda3bd8f3aa4adb (patch)
tree65d93db7be87b84dfe713f2af3b4fa25fb6ad380 /test/manual/etags/ETAGS.good_3
parent2f68cb3e0502a9dc69613e97a5a5079ebf9249fb (diff)
downloademacs-bb8e38273e701ad5c65e747e8eda3bd8f3aa4adb.tar.gz
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.
Diffstat (limited to 'test/manual/etags/ETAGS.good_3')
-rw-r--r--test/manual/etags/ETAGS.good_323
1 files changed, 18 insertions, 5 deletions
diff --git a/test/manual/etags/ETAGS.good_3 b/test/manual/etags/ETAGS.good_3
index 33bf110687b..1d75314a37f 100644
--- a/test/manual/etags/ETAGS.good_3
+++ b/test/manual/etags/ETAGS.good_3
@@ -2628,19 +2628,32 @@ f-src/entry.strange,172
& intensity1(577,12231
character*(*) function foo(579,12307
-forth-src/test-forth.fth,408
-: a-forth-word 20,301
+forth-src/test-forth.fth,733
+: a-forth-word20,301
99 constant a-forth-constant!22,343
55 value a-forth-value?23,373
create :a-forth-dictionary-entry24,397
defer #a-defer-word27,460
-: (another-forth-word)(another-forth-word29,481
+: (another-forth-word)(another-forth-word)29,481
9 field >field136,582
5 field >field237,605
constant (a-forth-constant(a-forth-constant38,628
2000 buffer: #some-storage41,657
-code assemby-code-word 43,685
-: a-forth-word 50,870
+code assemby-code-word43,685
+: a-forth-word50,870
+: (foo)(foo)55,988
+: foo56,1000
+: create-bar58,1015
+3 4 2constant 2const61,1074
+2const 2value 2val62,1095
+2variable 2var63,1114
+3.1415e fconstant fconst65,1130
+fconst fvalue fval66,1155
+fvariable fvar67,1174
+synonym mypi69,1190
+BEGIN-STRUCTURE point71,1211
+ 1 CELLS +FIELD p.x72,1262
+ 1 CELLS +FIELD p.y73,1318
go-src/test.go,48
package main1,0