diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-03-12 17:36:41 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-03-12 17:36:41 +0200 |
commit | f08362594e2889cb6f7c9b260bda48f518575765 (patch) | |
tree | 2f210ad3a0fe98eb7bcb32792d53c80af2491986 /test/manual/etags/ETAGS.good_4 | |
parent | 649fe4246eb954f2960dc31d27c9a3e844fb9cb1 (diff) | |
download | emacs-f08362594e2889cb6f7c9b260bda48f518575765.tar.gz |
Teach etags to process ENUM_BF correctly
* lib-src/etags.c (sym_type): New enumeration value st_C_enum_bf.
(hash): Regenerated values for asso_values[] array.
(in_word_set): Update values of TOTAL_KEYWORDS and
MAX_HASH_VALUE. Add "ENUM_BF" to the wordlist[] array.
(in_enum_bf): New file-global variable.
(consider_token): Skip ENUM_BF if not in a macro definition.
(C_entries): Reset the in_enum_bf flag when past its closing
parenthesis.
* 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 changes in etags.
Diffstat (limited to 'test/manual/etags/ETAGS.good_4')
-rw-r--r-- | test/manual/etags/ETAGS.good_4 | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/test/manual/etags/ETAGS.good_4 b/test/manual/etags/ETAGS.good_4 index ae885ee82ae..2c50ec1a742 100644 --- a/test/manual/etags/ETAGS.good_4 +++ b/test/manual/etags/ETAGS.good_4 @@ -1353,7 +1353,7 @@ mark_kboards 11916,370434 DEFVAR_LISP ("selection-inhibit-update-commands",\111815,366013 DEFVAR_LISP ("debug-on-event",\111825,366554 -c-src/emacs/src/lisp.h,20567 +c-src/emacs/src/lisp.h,20276 #define EMACS_LISP_H22,800 #define DECLARE_GDB_SYM(47,1421 # define DEFINE_GDB_SYMBOL_BEGIN(49,1508 @@ -1531,7 +1531,6 @@ enum symbol_redirect646,24315 SYMBOL_LOCALIZED 650,24386 SYMBOL_FORWARDED 651,24410 struct Lisp_Symbol654,24437 - ENUM_BF 663,24793 #define EXFUN(707,26252 #define DEFUN_ARGS_MANY 712,26446 #define DEFUN_ARGS_UNEVALLED 713,26498 @@ -1720,11 +1719,8 @@ static double const DEFAULT_REHASH_SIZE 1950,64299 sxhash_combine 1956,64465 SXHASH_REDUCE 1964,64648 struct Lisp_Misc_Any 1971,64806 - ENUM_BF 1973,64866 struct Lisp_Marker1978,64980 - ENUM_BF 1980,65001 struct Lisp_Overlay2021,66841 - ENUM_BF 2034,67349 SAVE_UNUSED,2047,67644 SAVE_INTEGER,2048,67661 SAVE_FUNCPOINTER,2049,67679 @@ -1746,7 +1742,6 @@ enum Lisp_Save_Type2064,68075 SAVE_TYPE_MEMORY 2080,68885 typedef void (*voidfuncptr)voidfuncptr2108,69839 struct Lisp_Save_Value2110,69876 - ENUM_BF 2112,69903 save_type 2134,70755 XSAVE_POINTER 2143,70985 set_save_pointer 2149,71147 @@ -1756,7 +1751,6 @@ set_save_integer 2170,71711 XSAVE_OBJECT 2179,71932 struct Lisp_Finalizer2186,72109 struct Lisp_Free2201,72584 - ENUM_BF 2203,72605 union Lisp_Misc2212,72885 XMISC 2223,73184 XMISCANY 2229,73273 @@ -1874,13 +1868,7 @@ enum specbind_tag 2943,93805 SPECPDL_LET_LOCAL,2951,94235 SPECPDL_LET_DEFAULT 2952,94292 union specbinding2955,94364 - ENUM_BF 2957,94386 - ENUM_BF 2959,94443 - ENUM_BF 2964,94573 - ENUM_BF 2969,94696 - ENUM_BF 2974,94814 - ENUM_BF 2978,94919 - ENUM_BF 2983,95094 +SPECPDL_INDEX 2996,95388 enum handlertype 3021,96410 enum handlertype { CATCHER,3021,96410 enum handlertype { CATCHER, CONDITION_CASE 3021,96410 |