diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-08-31 20:22:22 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-08-31 20:22:22 +0300 |
commit | 64507149f4296029ab80c2caa97ec0f76264bdbb (patch) | |
tree | e94b234c60341520c1868e852c2e2af2540114a6 /test | |
parent | 2030ddbd15b538a5dc2fc0548afc83941f67957a (diff) |
Improve testing of etags
* test/manual/etags/y-src/cccp.c:
* test/manual/etags/y-src/parse.c: Correct #line directives to
allow testing invalidate_nodes in etags.c.
* 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 test files.
Diffstat (limited to 'test')
-rw-r--r-- | test/manual/etags/CTAGS.good | 133 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_1 | 124 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_2 | 148 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_3 | 139 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_4 | 124 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_5 | 163 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_6 | 163 | ||||
-rw-r--r-- | test/manual/etags/y-src/cccp.c | 76 | ||||
-rw-r--r-- | test/manual/etags/y-src/parse.c | 88 |
9 files changed, 88 insertions, 1070 deletions
diff --git a/test/manual/etags/CTAGS.good b/test/manual/etags/CTAGS.good index 19bc0bef65..6ee8bec9c5 100644 --- a/test/manual/etags/CTAGS.good +++ b/test/manual/etags/CTAGS.good @@ -351,7 +351,6 @@ CHAR_TABLE_REF c-src/emacs/src/lisp.h /^CHAR_TABLE_REF (Lisp_Object ct, int idx) CHAR_TABLE_REF_ASCII c-src/emacs/src/lisp.h /^CHAR_TABLE_REF_ASCII (Lisp_Object ct, ptrdiff_t id/ CHAR_TABLE_SET c-src/emacs/src/lisp.h /^CHAR_TABLE_SET (Lisp_Object ct, int idx, Lisp_Obje/ CHAR_TABLE_STANDARD_SLOTS c-src/emacs/src/lisp.h 1697 -CHAR_TYPE_SIZE cccp.y 87 CHAR_TYPE_SIZE y-src/cccp.y 87 CHECKFLAGS make-src/Makefile /^CHECKFLAGS=-DDEBUG -Wno-unused-function$/ CHECKOBJS make-src/Makefile /^CHECKOBJS=chkmalloc.o chkxm.o$/ @@ -383,13 +382,9 @@ CHECK_VECTOR c-src/emacs/src/lisp.h /^CHECK_VECTOR (Lisp_Object x)$/ CHECK_VECTOR_OR_STRING c-src/emacs/src/lisp.h /^CHECK_VECTOR_OR_STRING (Lisp_Object x)$/ CHECK_WINDOW c-src/emacs/src/lisp.h /^CHECK_WINDOW (Lisp_Object x)$/ CK_ABS_C y-src/parse.y /^#define CK_ABS_C(x) if((x)<MIN_COL || (x)>MAX_COL)/ -CK_ABS_C parse.y /^#define CK_ABS_C(x) if((x)<MIN_COL || (x)>MAX_COL)/ CK_ABS_R y-src/parse.y /^#define CK_ABS_R(x) if((x)<MIN_ROW || (x)>MAX_ROW)/ -CK_ABS_R parse.y /^#define CK_ABS_R(x) if((x)<MIN_ROW || (x)>MAX_ROW)/ CK_REL_C y-src/parse.y /^#define CK_REL_C(x) if( ((x)>0 && MAX_COL-(x)<cu/ -CK_REL_C parse.y /^#define CK_REL_C(x) if( ((x)>0 && MAX_COL-(x)<cu/ CK_REL_R y-src/parse.y /^#define CK_REL_R(x) if( ((x)>0 && MAX_ROW-(x)<cu/ -CK_REL_R parse.y /^#define CK_REL_R(x) if( ((x)>0 && MAX_ROW-(x)<cu/ CMultiChannelCSC19_3D cp-src/c.C 2 CNL c-src/etags.c /^#define CNL() \\$/ CNL_SAVE_DEFINEDEF c-src/etags.c /^#define CNL_SAVE_DEFINEDEF() \\$/ @@ -550,7 +545,6 @@ EQ c-src/emacs/src/lisp.h /^# define EQ(x, y) lisp_h_EQ (x, y)$/ EQUAL y-src/cccp.c 12 ERLSRC make-src/Makefile /^ERLSRC=gs_dialog.erl lines.erl lists.erl$/ ERROR y-src/parse.y 303 -ERROR parse.y 303 ERROR y-src/cccp.c 9 ETAGS make-src/Makefile /^ETAGS: FRC etags ${infiles}$/ ETAGS% make-src/Makefile /^ETAGS%: FRC etags% ${infiles}$/ @@ -588,15 +582,10 @@ FRC make-src/Makefile /^FRC:;$/ FREEFLOOD c-src/emacs/src/gmalloc.c 1858 FSRC make-src/Makefile /^FSRC=entry.for entry.strange_suffix entry.strange$/ FUN0 y-src/parse.y /^yylex FUN0()$/ -FUN0 parse.y /^yylex FUN0()$/ FUN1 y-src/parse.y /^yyerror FUN1(char *, s)$/ FUN1 y-src/parse.y /^str_to_col FUN1(char **,str)$/ -FUN1 parse.y /^yyerror FUN1(char *, s)$/ -FUN1 parse.y /^str_to_col FUN1(char **,str)$/ FUN2 y-src/parse.y /^make_list FUN2(YYSTYPE, car, YYSTYPE, cdr)$/ FUN2 y-src/parse.y /^parse_cell_or_range FUN2(char **,ptr, struct rng */ -FUN2 parse.y /^make_list FUN2(YYSTYPE, car, YYSTYPE, cdr)$/ -FUN2 parse.y /^parse_cell_or_range FUN2(char **,ptr, struct rng */ FUNCTIONP c-src/emacs/src/lisp.h /^FUNCTIONP (Lisp_Object obj)$/ FUNCTION_KEY_OFFSET c-src/emacs/src/keyboard.c 4766 FUNCTION_KEY_OFFSET c-src/emacs/src/keyboard.c 5061 @@ -650,8 +639,6 @@ GC_MARK_STACK_CHECK_GCPROS c-src/emacs/src/lisp.h 3173 GC_USE_GCPROS_AS_BEFORE c-src/emacs/src/lisp.h 3171 GC_USE_GCPROS_CHECK_ZOMBIES c-src/emacs/src/lisp.h 3174 GE y-src/parse.c 8 -GENERIC_PTR cccp.y 56 -GENERIC_PTR cccp.y 58 GENERIC_PTR y-src/cccp.y 56 GENERIC_PTR y-src/cccp.y 58 GEQ y-src/cccp.c 15 @@ -695,7 +682,6 @@ INTERVAL c-src/emacs/src/lisp.h 1149 INTMASK c-src/emacs/src/lisp.h 437 INTTYPEBITS c-src/emacs/src/lisp.h 249 INT_BIT c-src/emacs/src/gmalloc.c 124 -INT_TYPE_SIZE cccp.y 91 INT_TYPE_SIZE y-src/cccp.y 91 ISALNUM c-src/etags.c /^#define ISALNUM(c) isalnum (CHAR (c))$/ ISALPHA c-src/etags.c /^#define ISALPHA(c) isalpha (CHAR (c))$/ @@ -788,7 +774,6 @@ LOCK c-src/emacs/src/gmalloc.c /^#define LOCK() \\$/ LOCK c-src/emacs/src/gmalloc.c /^#define LOCK()$/ LOCK_ALIGNED_BLOCKS c-src/emacs/src/gmalloc.c /^#define LOCK_ALIGNED_BLOCKS() \\$/ LOCK_ALIGNED_BLOCKS c-src/emacs/src/gmalloc.c /^#define LOCK_ALIGNED_BLOCKS()$/ -LONG_TYPE_SIZE cccp.y 95 LONG_TYPE_SIZE y-src/cccp.y 95 LOOKING_AT c-src/etags.c /^#define LOOKING_AT(cp, kw) \/* kw is the keyword, / LOOKING_AT_NOCASE c-src/etags.c /^#define LOOKING_AT_NOCASE(cp, kw) \/* the keyword i/ @@ -900,7 +885,6 @@ MAX_ENCODED_BYTES c-src/emacs/src/keyboard.c 2254 MAX_HASH_VALUE c-src/etags.c 2329 MAX_WORD_LENGTH c-src/etags.c 2327 MAYBEREL y-src/parse.y /^#define MAYBEREL(p) (*(p)=='[' && (isdigit((p)[1])/ -MAYBEREL parse.y /^#define MAYBEREL(p) (*(p)=='[' && (isdigit((p)[1])/ MBYTES objc-src/PackInsp.m 59 MCHECK_DISABLED c-src/emacs/src/gmalloc.c 285 MCHECK_FREE c-src/emacs/src/gmalloc.c 287 @@ -943,7 +927,6 @@ Makefile_filenames c-src/etags.c 603 Makefile_help c-src/etags.c 605 Makefile_targets c-src/etags.c /^Makefile_targets (FILE *inf)$/ Mc cp-src/c.C /^int main (void) { my_function0(0); my_function1(1)/ -Mcccp cccp.y /^main ()$/ Mcccp y-src/cccp.y /^main ()$/ Mconway.cpp cp-src/conway.cpp /^void main(void)$/ Metags c-src/etags.c /^main (int argc, char **argv)$/ @@ -972,9 +955,7 @@ NONPOINTER_BITS c-src/emacs/src/lisp.h 78 NONPOINTER_BITS c-src/emacs/src/lisp.h 80 NONSRCS make-src/Makefile /^NONSRCS=entry.strange lists.erl clheir.hpp.gz$/ NOTEQUAL y-src/cccp.c 13 -NULL cccp.y 51 NULL y-src/cccp.y 51 -NULL_PTR cccp.y 63 NULL_PTR y-src/cccp.y 63 NUMSTATS objc-src/PackInsp.h 36 NUM_MOD_NAMES c-src/emacs/src/keyboard.c 6325 @@ -1445,7 +1426,6 @@ USE_STACK_LISP_OBJECTS c-src/emacs/src/lisp.h 4652 USE_STACK_LISP_OBJECTS c-src/emacs/src/lisp.h 4658 USE_STACK_LISP_OBJECTS c-src/emacs/src/lisp.h 4659 USE_STACK_STRING c-src/emacs/src/lisp.h 4691 -U_CHAR cccp.y 38 U_CHAR y-src/cccp.y 38 Unlock/p ada-src/2ataspri.adb /^ procedure Unlock (L : in out Lock) is$/ Unlock/p ada-src/2ataspri.ads /^ procedure Unlock (L : in out Lock);$/ @@ -1475,7 +1455,6 @@ Vpre_abbrev_expand_hook c-src/abbrev.c 83 WAIT_READING_MAX c-src/emacs/src/lisp.h 4281 WAIT_READING_MAX c-src/emacs/src/lisp.h 4283 WARNINGS make-src/Makefile /^WARNINGS=-pedantic -Wall -Wpointer-arith -Winline / -WCHAR_TYPE_SIZE cccp.y 99 WCHAR_TYPE_SIZE y-src/cccp.y 99 WHITE cp-src/screen.hpp 27 WINDOWP c-src/emacs/src/lisp.h /^WINDOWP (Lisp_Object a)$/ @@ -1577,8 +1556,6 @@ YYBACKUP /usr/share/bison/bison.simple /^#define YYBACKUP(Token, Value) \\$/ YYBACKUP /usr/share/bison/bison.simple /^#define YYBACKUP(Token, Value) \\$/ YYBISON y-src/parse.c 4 YYBISON y-src/cccp.c 4 -YYDEBUG parse.y 88 -YYDEBUG cccp.y 122 YYDPRINTF /usr/share/bison/bison.simple /^# define YYDPRINTF(Args) \\$/ YYDPRINTF /usr/share/bison/bison.simple /^# define YYDPRINTF(Args)$/ YYDPRINTF /usr/share/bison/bison.simple /^# define YYDPRINTF(Args) \\$/ @@ -1593,16 +1570,10 @@ YYERROR /usr/share/bison/bison.simple 154 YYERROR /usr/share/bison/bison.simple 155 YYFAIL /usr/share/bison/bison.simple 158 YYFAIL /usr/share/bison/bison.simple 159 -YYFINAL parse.y 93 -YYFINAL cccp.y 127 -YYFLAG parse.y 94 -YYFLAG cccp.y 128 YYFPRINTF /usr/share/bison/bison.simple 225 YYFPRINTF /usr/share/bison/bison.simple 226 YYINITDEPTH /usr/share/bison/bison.simple 244 YYINITDEPTH /usr/share/bison/bison.simple 245 -YYLAST parse.y 266 -YYLAST cccp.y 274 YYLEX /usr/share/bison/bison.simple 200 YYLEX /usr/share/bison/bison.simple 202 YYLEX /usr/share/bison/bison.simple 206 @@ -1619,8 +1590,6 @@ YYMAXDEPTH /usr/share/bison/bison.simple 255 YYMAXDEPTH /usr/share/bison/bison.simple 259 YYMAXDEPTH /usr/share/bison/bison.simple 256 YYMAXDEPTH /usr/share/bison/bison.simple 260 -YYNTBASE parse.y 95 -YYNTBASE cccp.y 129 YYPARSE_PARAM_ARG /usr/share/bison/bison.simple 351 YYPARSE_PARAM_ARG /usr/share/bison/bison.simple 354 YYPARSE_PARAM_ARG /usr/share/bison/bison.simple 358 @@ -1685,14 +1654,8 @@ YYSTD /usr/share/bison/bison.simple /^# define YYSTD(x) std::x$/ YYSTD /usr/share/bison/bison.simple /^# define YYSTD(x) x$/ YYSTYPE y-src/parse.y 71 YYSTYPE y-src/parse.y 72 -YYSTYPE parse.y 71 -YYSTYPE parse.y 72 -YYSTYPE parse.y 85 -YYSTYPE cccp.y 119 YYTERROR /usr/share/bison/bison.simple 177 YYTERROR /usr/share/bison/bison.simple 178 -YYTRANSLATE parse.y /^#define YYTRANSLATE(x) ((unsigned)(x) <= 278 ? yyt/ -YYTRANSLATE cccp.y /^#define YYTRANSLATE(x) ((unsigned)(x) <= 269 ? yyt/ YY_DECL_NON_LSP_VARIABLES /usr/share/bison/bison.simple 374 YY_DECL_NON_LSP_VARIABLES /usr/share/bison/bison.simple 374 YY_DECL_VARIABLES /usr/share/bison/bison.simple 385 @@ -2467,7 +2430,6 @@ add_node c-src/etags.c /^add_node (node *np, node **cur_node_p)$/ add_regex c-src/etags.c /^add_regex (char *regexp_pattern, language *lang)$/ add_user_signal c-src/emacs/src/keyboard.c /^add_user_signal (int sig, const char *name)$/ addnoise html-src/algrthms.html /^Adding Noise to the$/ -address cccp.y 114 address y-src/cccp.y 113 adjust_point_for_property c-src/emacs/src/keyboard.c /^adjust_point_for_property (ptrdiff_t last_pt, bool/ agent cp-src/clheir.hpp 75 @@ -2507,9 +2469,7 @@ apply_modifiers_uncached c-src/emacs/src/keyboard.c /^apply_modifiers_uncached ( aref_addr c-src/emacs/src/lisp.h /^aref_addr (Lisp_Object array, ptrdiff_t idx)$/ arg c-src/h.h 13 arg_type c-src/etags.c 250 -arglist cccp.y 41 arglist y-src/cccp.y 41 -argno cccp.y 45 argno y-src/cccp.y 45 args c-src/h.h 30 argsindent tex-src/texinfo.tex /^\\newskip\\defargsindent \\defargsindent=50pt$/ @@ -2705,7 +2665,6 @@ concat c-src/etags.c /^concat (const char *s1, const char *s2, const char/ concatenatenamestrings pas-src/common.pas /^function concatenatenamestrings; (*($/ consider_token c-src/etags.c /^consider_token (char *str, int len, int c, int *c_/ constant c-src/h.h 29 -constant cccp.y 113 constant y-src/cccp.y 112 constant_args c-src/h.h 27 constype c-src/emacs/src/lisp.h 3739 @@ -2860,7 +2819,6 @@ erlang_func c-src/etags.c /^erlang_func (char *s, char *last)$/ error c-src/etags.c /^static void error (const char *, ...) ATTRIBUTE_FO/ error c-src/etags.c /^error (const char *format, ...)$/ error c-src/emacs/src/lisp.h /^extern _Noreturn void error (const char *, ...) AT/ -error cccp.y /^error (msg)$/ error y-src/cccp.y /^error (msg)$/ error_signaled c-src/etags.c 264 etags el-src/emacs/lisp/progmodes/etags.el /^(defgroup etags nil "Tags tables."$/ @@ -2906,7 +2864,6 @@ expandmng_tree prol-src/natded.prolog /^expandmng_tree(tree(Rule,Syn:Sem,Trees), expandmng_trees prol-src/natded.prolog /^expandmng_trees([],[]).$/ expandsyn prol-src/natded.prolog /^expandsyn(Syn,Syn):-$/ explicitly-quoted-pending-delete-mode el-src/TAGTEST.EL /^(defalias (quote explicitly-quoted-pending-delete-/ -expression_value cccp.y 68 expression_value y-src/cccp.y 68 extras c-src/emacs/src/lisp.h 1603 extvar c-src/h.h 109 @@ -2996,7 +2953,6 @@ flistseen c-src/etags.c 2415 fn c-src/exit.c /^ void EXFUN((*fn[1]), (NOARGS));$/ fn c-src/exit.strange_suffix /^ void EXFUN((*fn[1]), (NOARGS));$/ fnin y-src/parse.y 67 -fnin parse.y 67 focus_set pyt-src/server.py /^ def focus_set(self):$/ follow_key c-src/emacs/src/keyboard.c /^follow_key (Lisp_Object keymap, Lisp_Object key)$/ fonts tex-src/texinfo.tex /^\\obeyspaces \\obeylines \\ninett \\indexfonts \\rawbac/ @@ -3185,7 +3141,6 @@ inita c.c /^static void inita () {}$/ initb c.c /^static void initb () {}$/ initial_kboard c-src/emacs/src/keyboard.c 84 initialize-new-tags-table el-src/emacs/lisp/progmodes/etags.el /^(defun initialize-new-tags-table ()$/ -initialize_random_junk cccp.y /^initialize_random_junk ()$/ initialize_random_junk y-src/cccp.y /^initialize_random_junk ()$/ input-pending-p c-src/emacs/src/keyboard.c /^DEFUN ("input-pending-p", Finput_pending_p, Sinput/ input_available_clear_time c-src/emacs/src/keyboard.c 324 @@ -3199,13 +3154,10 @@ instance_method_equals= ruby-src/test.rb /^ def instance_method_equals=$/ instance_method_exclamation! ruby-src/test.rb /^ def instance_method_exclamation!$/ instance_method_question? ruby-src/test.rb /^ def instance_method_question?$/ instr y-src/parse.y 80 -instr parse.y 80 instruct c-src/etags.c 2527 intNumber go-src/test1.go 13 integer c-src/emacs/src/lisp.h 2127 -integer cccp.y 113 integer y-src/cccp.y 112 -integer_overflow cccp.y /^integer_overflow ()$/ integer_overflow y-src/cccp.y /^integer_overflow ()$/ integertonmstr pas-src/common.pas /^function integertonmstr; (* (TheInteger : integer)/ intensity1 f-src/entry.for /^ & intensity1(efv,fv,svin,svquad,sfpv,maxp,val/ @@ -3236,11 +3188,8 @@ isLeap cp-src/functions.cpp /^bool isLeap ( int year ){$/ is_curly_brace_form c-src/h.h 54 is_explicit c-src/h.h 49 is_func c-src/etags.c 221 -is_hor_space cccp.y 953 is_hor_space y-src/cccp.y 953 -is_idchar cccp.y 948 is_idchar y-src/cccp.y 948 -is_idstart cccp.y 950 is_idstart y-src/cccp.y 950 is_muldiv_operation cp-src/c.C /^is_muldiv_operation(pc)$/ is_ordset prol-src/ordsets.prolog /^is_ordset(X) :- var(X), !, fail.$/ @@ -3273,9 +3222,7 @@ keyval prol-src/natded.prolog /^keyval(key(Key,Val)) --> [Key,'='], valseq(Val). keyvalcgi prol-src/natded.prolog /^keyvalcgi(Key,Val):-$/ keyvalscgi prol-src/natded.prolog /^keyvalscgi(KeyVals),$/ keyvalseq prol-src/natded.prolog /^keyvalseq([KeyVal|KeyVals]) --> $/ -keyword_parsing cccp.y 73 keyword_parsing y-src/cccp.y 73 -keywords cccp.y 115 keywords y-src/cccp.y 114 keywords y-src/cccp.y 306 kind c-src/emacs/src/keyboard.c 11024 @@ -3324,12 +3271,9 @@ lce_textdomain php-src/lce_functions.php /^ function lce_textdomain($domain lce_textdomain php-src/lce_functions.php /^ function lce_textdomain($domain)$/ leasqr html-src/software.html /^Leasqr$/ left c-src/etags.c 216 -left_shift cccp.y /^left_shift (a, b)$/ left_shift y-src/cccp.y /^left_shift (a, b)$/ len c-src/etags.c 237 length c-src/etags.c 2495 -length cccp.y 44 -length cccp.y 114 length y-src/cccp.y 44 length y-src/cccp.y 113 letter tex-src/texinfo.tex /^\\chapmacro {#1}{Appendix \\appendixletter}%$/ @@ -3343,7 +3287,6 @@ letter tex-src/texinfo.tex /^ {\\appendixletter}$/ letter: tex-src/texinfo.tex /^\\xdef\\thischapter{Appendix \\appendixletter: \\noexp/ level c-src/emacs/src/lisp.h 3153 lex prol-src/natded.prolog /^lex(W,SynOut,Sem):-$/ -lexptr cccp.y 332 lexptr y-src/cccp.y 332 licenze html-src/softwarelibero.html /^Licenze d'uso di un programma$/ limit cp-src/Range.h /^ double limit (void) const { return rng_limit; }$/ @@ -3417,7 +3360,6 @@ loadPORManager php-src/lce_functions.php /^ function &loadPORManager()$/ local_if_set c-src/emacs/src/lisp.h 2338 location cp-src/clheir.hpp 33 location cp-src/clheir.hpp /^ location() { }$/ -lookup cccp.y /^lookup (name, len, hash)$/ lookup y-src/cccp.y /^lookup (name, len, hash)$/ lowcase c-src/etags.c /^#define lowcase(c) tolower (CHAR (c))$/ lucid_event_type_list_p c-src/emacs/src/keyboard.c /^lucid_event_type_list_p (Lisp_Object object)$/ @@ -3556,9 +3498,6 @@ name tex-src/texinfo.tex /^\\begingroup\\defname {#1}{User Option}%$/ name tex-src/texinfo.tex /^\\begingroup\\defname {\\code{#1} #2}{Variable}%$/ name tex-src/texinfo.tex /^\\begingroup\\defname {\\code{#2} #3}{#1}$/ name tex-src/texinfo.tex /^\\begingroup\\defname {#2}{#1}\\deftpargs{#3}\\endgrou/ -name cccp.y 43 -name cccp.y 114 -name cccp.y 114 name y-src/cccp.y 43 name y-src/cccp.y 113 name y-src/cccp.y 113 @@ -3585,7 +3524,6 @@ next c-src/emacs/src/lisp.h 1848 next c-src/emacs/src/lisp.h 2192 next c-src/emacs/src/lisp.h 3028 next c-src/emacs/src/lisp.h 3134 -next cccp.y 42 next y-src/cccp.y 42 next-file el-src/emacs/lisp/progmodes/etags.el /^(defun next-file (&optional initialize novisit)$/ next-file-list el-src/emacs/lisp/progmodes/etags.el /^(defvar next-file-list nil$/ @@ -3659,9 +3597,7 @@ object_registry cp-src/clheir.cpp 10 objtag c-src/etags.c 2453 objvar c-src/emacs/src/lisp.h 2297 obstack_chunk_alloc y-src/parse.y 46 -obstack_chunk_alloc parse.y 46 obstack_chunk_free y-src/parse.y 47 -obstack_chunk_free parse.y 47 ocatseen c-src/etags.c 2477 octave_MDiagArray2_h cp-src/MDiagArray2.h 29 octave_Range_h cp-src/Range.h 24 @@ -3684,7 +3620,6 @@ open objc-src/PackInsp.m /^-open:sender$/ open-dribble-file c-src/emacs/src/keyboard.c /^DEFUN ("open-dribble-file", Fopen_dribble_file, So/ openInWorkspace objc-src/PackInsp.m /^static void openInWorkspace(const char *filename)$/ operationKeys objcpp-src/SimpleCalc.M /^- operationKeys:sender$/ -operator cccp.y 438 operator y-src/cccp.y 438 operator ++ cp-src/functions.cpp /^Date & Date::operator ++ ( void ){$/ operator += cp-src/functions.cpp /^Date & Date::operator += ( int days ){$/ @@ -3758,23 +3693,16 @@ parent c-src/emacs/src/keyboard.c 8745 parent c-src/emacs/src/lisp.h 1590 parse prol-src/natded.prolog /^parse(Ws,Cat):-$/ parseFromVars php-src/lce_functions.php /^ function parseFromVars($prefix)$/ -parse_c_expression cccp.y /^parse_c_expression (string)$/ parse_c_expression y-src/cccp.y /^parse_c_expression (string)$/ parse_cgi prol-src/natded.prolog /^parse_cgi(TokenList,KeyVals):-$/ parse_error y-src/parse.y 81 -parse_error parse.y 81 -parse_escape cccp.y /^parse_escape (string_ptr)$/ parse_escape y-src/cccp.y /^parse_escape (string_ptr)$/ parse_hash y-src/parse.y 63 -parse_hash parse.y 63 parse_menu_item c-src/emacs/src/keyboard.c /^parse_menu_item (Lisp_Object item, int inmenubar)$/ parse_modifiers c-src/emacs/src/keyboard.c /^parse_modifiers (Lisp_Object symbol)$/ parse_modifiers_uncached c-src/emacs/src/keyboard.c /^parse_modifiers_uncached (Lisp_Object symbol, ptrd/ -parse_number cccp.y /^parse_number (olen)$/ parse_number y-src/cccp.y /^parse_number (olen)$/ parse_return y-src/parse.y 73 -parse_return parse.y 73 -parse_return_error cccp.y 70 parse_return_error y-src/cccp.y 70 parse_solitary_modifier c-src/emacs/src/keyboard.c /^parse_solitary_modifier (Lisp_Object symbol)$/ parse_tool_bar_item c-src/emacs/src/keyboard.c /^parse_tool_bar_item (Lisp_Object key, Lisp_Object / @@ -3807,7 +3735,6 @@ position_to_Time c-src/emacs/src/keyboard.c /^position_to_Time (ptrdiff_t pos)$/ posix_memalign c-src/emacs/src/gmalloc.c /^posix_memalign (void **memptr, size_t alignment, s/ posn-at-point c-src/emacs/src/keyboard.c /^DEFUN ("posn-at-point", Fposn_at_point, Sposn_at_p/ posn-at-x-y c-src/emacs/src/keyboard.c /^DEFUN ("posn-at-x-y", Fposn_at_x_y, Sposn_at_x_y, / -possible_sum_sign cccp.y /^#define possible_sum_sign(a, b, sum) ((((a) ^ (b))/ possible_sum_sign y-src/cccp.y /^#define possible_sum_sign(a, b, sum) ((((a) ^ (b))/ post pyt-src/server.py /^ def post(self):$/ post pyt-src/server.py /^ def post(self):$/ @@ -3975,7 +3902,6 @@ return_to_command_loop c-src/emacs/src/keyboard.c 135 reverse prol-src/natded.prolog /^reverse([],Ws,Ws).$/ revert objc-src/PackInsp.m /^-revert:sender$/ right c-src/etags.c 216 -right_shift cccp.y /^right_shift (a, b)$/ right_shift y-src/cccp.y /^right_shift (a, b)$/ ring1 c.c 241 ring2 c.c 242 @@ -4173,7 +4099,6 @@ suffix c-src/etags.c 186 suffixes c-src/etags.c 195 suggest_asking_for_help c-src/etags.c /^suggest_asking_for_help (void)$/ suspend-emacs c-src/emacs/src/keyboard.c /^DEFUN ("suspend-emacs", Fsuspend_emacs, Ssuspend_e/ -sval cccp.y 117 sval y-src/cccp.y 116 swallow_events c-src/emacs/src/keyboard.c /^swallow_events (bool do_display)$/ switch_line_buffers c-src/etags.c /^#define switch_line_buffers() (curndx = 1 - curndx/ @@ -4326,13 +4251,10 @@ toc_line perl-src/htlmify-cystic /^sub toc_line ($)$/ toggleDescription objc-src/PackInsp.m /^-toggleDescription$/ tok c-src/etags.c 2491 token c-src/etags.c 2508 -token cccp.y 437 -token cccp.y 439 token y-src/cccp.y 437 token y-src/cccp.y 439 tokenize prol-src/natded.prolog /^tokenize([C1,C2,C3|Cs],Xs-Ys,TsResult):- % spe/ tokenizeatom prol-src/natded.prolog /^tokenizeatom(Atom,Ws):-$/ -tokentab2 cccp.y 442 tokentab2 y-src/cccp.y 442 tool_bar_item_properties c-src/emacs/src/keyboard.c 7970 tool_bar_items c-src/emacs/src/keyboard.c /^tool_bar_items (Lisp_Object reuse, int *nitems)$/ @@ -4391,7 +4313,6 @@ unblock_input_to c-src/emacs/src/keyboard.c /^unblock_input_to (int level)$/ unchar c-src/h.h 99 unexpand-abbrev c-src/abbrev.c /^DEFUN ("unexpand-abbrev", Funexpand_abbrev, Sunexp/ unread_switch_frame c-src/emacs/src/keyboard.c 204 -unsignedp cccp.y 113 unsignedp y-src/cccp.y 112 uprintmax_t c-src/emacs/src/lisp.h 149 uprintmax_t c-src/emacs/src/lisp.h 154 @@ -4417,7 +4338,6 @@ validate php-src/lce_functions.php /^ function validate($value)$/ valloc c-src/emacs/src/gmalloc.c /^valloc (size_t size)$/ valseq prol-src/natded.prolog /^valseq([Val|Vals]) --> val(Val), plusvalseq(Vals)./ value c-src/emacs/src/lisp.h 687 -value cccp.y 113 value y-src/cccp.y 112 var c-src/emacs/src/keyboard.c 11023 var c-src/emacs/src/lisp.h 3137 @@ -4435,11 +4355,9 @@ visit-tags-table el-src/emacs/lisp/progmodes/etags.el /^(defun visit-tags-table visit-tags-table-buffer el-src/emacs/lisp/progmodes/etags.el /^(defun visit-tags-table-buffer (&optional cont)$/ void c-src/emacs/src/lisp.h /^INLINE void (check_cons_list) (void) { lisp_h_chec/ voidfuncptr c-src/emacs/src/lisp.h 2108 -voidval cccp.y 116 voidval y-src/cccp.y 115 wait_status_ptr_t c.c 161 waiting_for_input c-src/emacs/src/keyboard.c 150 -warning cccp.y /^warning (msg)$/ warning y-src/cccp.y /^warning (msg)$/ weak c-src/emacs/src/lisp.h 1830 weak_alias c-src/emacs/src/gmalloc.c /^weak_alias (free, cfree)$/ @@ -4505,34 +4423,21 @@ y cp-src/clheir.hpp 58 y-get-selection-internal c.c /^ Fy_get_selection_internal, Sy_get_selection_/ yyalloc /usr/share/bison/bison.simple 83 yyalloc /usr/share/bison/bison.simple 84 -yycheck parse.y 330 -yycheck cccp.y 301 yyclearin /usr/share/bison/bison.simple 149 yyclearin /usr/share/bison/bison.simple 150 yydebug /usr/share/bison/bison.simple 237 yydebug /usr/share/bison/bison.simple 238 -yydefact parse.y 219 -yydefact cccp.y 239 -yydefgoto parse.y 237 -yydefgoto cccp.y 251 yyerrhandle /usr/share/bison/bison.simple 848 -yyerrhandle /usr/share/bison/bison.simple 848 -yyerrlab1 /usr/share/bison/bison.simple 823 yyerrlab1 /usr/share/bison/bison.simple 823 yyerrok /usr/share/bison/bison.simple 148 yyerrok /usr/share/bison/bison.simple 149 -yyerror cccp.y /^yyerror (s)$/ yyerror y-src/cccp.y /^yyerror (s)$/ yyerrstatus /usr/share/bison/bison.simple 846 -yyerrstatus /usr/share/bison/bison.simple 846 -yylex cccp.y /^yylex ()$/ yylex y-src/cccp.y /^yylex ()$/ yyls /usr/share/bison/bison.simple 88 yyls /usr/share/bison/bison.simple 89 yylsp /usr/share/bison/bison.simple 748 yylsp /usr/share/bison/bison.simple 921 -yylsp /usr/share/bison/bison.simple 748 -yylsp /usr/share/bison/bison.simple 921 yymemcpy /usr/share/bison/bison.simple 264 yymemcpy /usr/share/bison/bison.simple /^yymemcpy (char *yyto, const char *yyfrom, YYSIZE_T/ yymemcpy /usr/share/bison/bison.simple 265 @@ -4541,50 +4446,21 @@ yyn /usr/share/bison/bison.simple 755 yyn /usr/share/bison/bison.simple 861 yyn /usr/share/bison/bison.simple 895 yyn /usr/share/bison/bison.simple 903 -yyn /usr/share/bison/bison.simple 755 -yyn /usr/share/bison/bison.simple 861 -yyn /usr/share/bison/bison.simple 895 -yyn /usr/share/bison/bison.simple 903 -yynewstate /usr/share/bison/bison.simple 763 -yynewstate /usr/share/bison/bison.simple 925 yynewstate /usr/share/bison/bison.simple 763 yynewstate /usr/share/bison/bison.simple 925 -yypact parse.y 242 -yypact cccp.y 256 yyparse /usr/share/bison/bison.simple /^yyparse (YYPARSE_PARAM_ARG)$/ yyparse /usr/share/bison/bison.simple /^yyparse (YYPARSE_PARAM_ARG)$/ -yypgoto parse.y 260 -yypgoto cccp.y 268 -yyprhs parse.y 134 -yyprhs cccp.y 167 -yyr1 parse.y 197 -yyr1 cccp.y 219 -yyr2 parse.y 207 -yyr2 cccp.y 228 -yyresult /usr/share/bison/bison.simple 932 -yyresult /usr/share/bison/bison.simple 939 -yyresult /usr/share/bison/bison.simple 947 yyresult /usr/share/bison/bison.simple 932 yyresult /usr/share/bison/bison.simple 939 yyresult /usr/share/bison/bison.simple 947 yyreturn /usr/share/bison/bison.simple 933 yyreturn /usr/share/bison/bison.simple 940 -yyreturn /usr/share/bison/bison.simple 933 -yyreturn /usr/share/bison/bison.simple 940 -yyrhs parse.y 142 -yyrhs cccp.y 174 -yyrline parse.y 171 -yyrline cccp.y 195 yyss /usr/share/bison/bison.simple 85 yyss /usr/share/bison/bison.simple 86 yystate /usr/share/bison/bison.simple 757 yystate /usr/share/bison/bison.simple 761 yystate /usr/share/bison/bison.simple 875 yystate /usr/share/bison/bison.simple 924 -yystate /usr/share/bison/bison.simple 757 -yystate /usr/share/bison/bison.simple 761 -yystate /usr/share/bison/bison.simple 875 -yystate /usr/share/bison/bison.simple 924 yystpcpy /usr/share/bison/bison.simple 316 yystpcpy /usr/share/bison/bison.simple /^yystpcpy (char *yydest, const char *yysrc)$/ yystpcpy /usr/share/bison/bison.simple 317 @@ -4593,19 +4469,10 @@ yystrlen /usr/share/bison/bison.simple 293 yystrlen /usr/share/bison/bison.simple /^yystrlen (const char *yystr)$/ yystrlen /usr/share/bison/bison.simple 294 yystrlen /usr/share/bison/bison.simple /^yystrlen (const char *yystr)$/ -yystype cccp.y 118 -yytable parse.y 269 -yytable cccp.y 277 -yytname parse.y 185 -yytname cccp.y 208 -yytranslate parse.y 101 -yytranslate cccp.y 135 yyvs /usr/share/bison/bison.simple 86 yyvs /usr/share/bison/bison.simple 87 yyvsp /usr/share/bison/bison.simple 746 yyvsp /usr/share/bison/bison.simple 919 -yyvsp /usr/share/bison/bison.simple 746 -yyvsp /usr/share/bison/bison.simple 919 z c.c 144 z c.c 164 z cp-src/clheir.hpp 49 diff --git a/test/manual/etags/ETAGS.good_1 b/test/manual/etags/ETAGS.good_1 index 58661bbf60..2f1a9db81f 100644 --- a/test/manual/etags/ETAGS.good_1 +++ b/test/manual/etags/ETAGS.good_1 @@ -3961,49 +3961,7 @@ y-src/parse.c,520 # define L_NE 26,492 # define L_GE 27,510 -parse.y,1181 -#define obstack_chunk_alloc 46, -#define obstack_chunk_free 47, -VOIDSTAR parse_hash;63, -unsigned char fnin[fnin67, -#define YYSTYPE 71, -typedef struct node *YYSTYPE;YYSTYPE72, -YYSTYPE parse_return;73, -char *instr;instr80, -int parse_error 81, -#define YYSTYPE 85, -# define YYDEBUG 88, -#define YYFINAL 93, -#define YYFLAG 94, -#define YYNTBASE 95, -#define YYTRANSLATE(98, -static const char yytranslate[yytranslate101, -static const short yyprhs[yyprhs134, -static const short yyrhs[yyrhs142, -static const short yyrline[yyrline171, -static const char *const yytname[yytname185, -static const short yyr1[yyr1197, -static const short yyr2[yyr2207, -static const short yydefact[yydefact219, -static const short yydefgoto[yydefgoto237, -static const short yypact[yypact242, -static const short yypgoto[yypgoto260, -#define YYLAST 266, -static const short yytable[yytable269, -static const short yycheck[yycheck330, -yyerror FUN1(285, -make_list FUN2(292, -#define ERROR 303, -yylex FUN0(314, -parse_cell_or_range FUN2(586, -#define CK_ABS_R(670, -#define CK_REL_R(674, -#define CK_ABS_C(679, -#define CK_REL_C(683, -#define MAYBEREL(688, -str_to_col FUN1(846, - -/usr/share/bison/bison.simple,2110 +/usr/share/bison/bison.simple,1693 # define YYSTD(40, # define YYSTD(42, # define YYSTACK_ALLOC 50, @@ -4070,28 +4028,6 @@ yyparse 403, # define YYPOPSTACK 445, # define YYPOPSTACK 447, # undef YYSTACK_RELOCATE548, - *++yyvsp yyvsp746, - *++yylsp yylsp748, - yyn 755, - yystate 757, - yystate 761, - goto yynewstate;763, - goto yyerrlab1;823, - yyerrstatus 846, - goto yyerrhandle;848, - yyn 861, - yystate 875, - yyn 895, - yyn 903, - *++yyvsp yyvsp919, - *++yylsp yylsp921, - yystate 924, - goto yynewstate;925, - yyresult 932, - goto yyreturn;933, - yyresult 939, - goto yyreturn;940, - yyresult 947, y-src/atest.y,9 exp 2,3 @@ -4112,64 +4048,6 @@ y-src/cccp.c,303 # define RSH 17,310 # define UNARY 18,327 -cccp.y,1579 -typedef unsigned char U_CHAR;38, -struct arglist 41, -#define NULL 51, -#define GENERIC_PTR 56, -#define GENERIC_PTR 58, -#define NULL_PTR 63, -int expression_value;68, -static jmp_buf parse_return_error;70, -static int keyword_parsing 73, -#define CHAR_TYPE_SIZE 87, -#define INT_TYPE_SIZE 91, -#define LONG_TYPE_SIZE 95, -#define WCHAR_TYPE_SIZE 99, -#define possible_sum_sign(104, - struct constant 113, - struct name 114, -} yystype;118, -# define YYSTYPE 119, -# define YYDEBUG 122, -#define YYFINAL 127, -#define YYFLAG 128, -#define YYNTBASE 129, -#define YYTRANSLATE(132, -static const char yytranslate[yytranslate135, -static const short yyprhs[yyprhs167, -static const short yyrhs[yyrhs174, -static const short yyrline[yyrline195, -static const char *const yytname[yytname208, -static const short yyr1[yyr1219, -static const short yyr2[yyr2228, -static const short yydefact[yydefact239, -static const short yydefgoto[yydefgoto251, -static const short yypact[yypact256, -static const short yypgoto[yypgoto268, -#define YYLAST 274, -static const short yytable[yytable277, -static const short yycheck[yycheck301, -static char *lexptr;lexptr332, -parse_number 341, -struct token 437, -static struct token tokentab2[tokentab2442, -yylex 459, -parse_escape 740, -yyerror 836, -integer_overflow 844, -left_shift 851, -right_shift 873, -parse_c_expression 893, -main 923, -unsigned char is_idchar[is_idchar948, -unsigned char is_idstart[is_idstart950, -char is_hor_space[is_hor_space953, -initialize_random_junk 958, -error 988, -warning 993, -lookup 999, - /usr/share/bison/bison.simple,2110 # define YYSTD(41, # define YYSTD(43, diff --git a/test/manual/etags/ETAGS.good_2 b/test/manual/etags/ETAGS.good_2 index ecfa7d1988..ffa483b7a8 100644 --- a/test/manual/etags/ETAGS.good_2 +++ b/test/manual/etags/ETAGS.good_2 @@ -4548,59 +4548,7 @@ y-src/parse.c,520 # define L_NE 26,492 # define L_GE 27,510 -parse.y,1464 -#define obstack_chunk_alloc 46, -#define obstack_chunk_free 47, -int yylex 57, -void yyerror 59, -void yyerror 61, -VOIDSTAR parse_hash;63, -extern VOIDSTAR hash_find(64, -unsigned char fnin[fnin67, -#define YYSTYPE 71, -typedef struct node *YYSTYPE;YYSTYPE72, -YYSTYPE parse_return;73, -YYSTYPE make_list 75, -YYSTYPE make_list 77, -char *instr;instr80, -int parse_error 81, -extern struct obstack tmp_mem;82, -#define YYSTYPE 85, -# define YYDEBUG 88, -#define YYFINAL 93, -#define YYFLAG 94, -#define YYNTBASE 95, -#define YYTRANSLATE(98, -static const char yytranslate[yytranslate101, -static const short yyprhs[yyprhs134, -static const short yyrhs[yyrhs142, -static const short yyrline[yyrline171, -static const char *const yytname[yytname185, -static const short yyr1[yyr1197, -static const short yyr2[yyr2207, -static const short yydefact[yydefact219, -static const short yydefgoto[yydefgoto237, -static const short yypact[yypact242, -static const short yypgoto[yypgoto260, -#define YYLAST 266, -static const short yytable[yytable269, -static const short yycheck[yycheck330, -yyerror FUN1(285, -make_list FUN2(292, -#define ERROR 303, -extern struct node *yylval;yylval305, -unsigned char parse_cell_or_range 308, -unsigned char parse_cell_or_range 310, -yylex FUN0(314, -parse_cell_or_range FUN2(586, -#define CK_ABS_R(670, -#define CK_REL_R(674, -#define CK_ABS_C(679, -#define CK_REL_C(683, -#define MAYBEREL(688, -str_to_col FUN1(846, - -/usr/share/bison/bison.simple,2180 +/usr/share/bison/bison.simple,1729 # define YYSTD(40, # define YYSTD(42, # define YYSTACK_ALLOC 50, @@ -4669,30 +4617,6 @@ yyparse 403, # define YYPOPSTACK 445, # define YYPOPSTACK 447, # undef YYSTACK_RELOCATE548, - *++yyvsp yyvsp746, - *++yylsp yylsp748, - yyn 755, - yystate 757, - yystate 761, - goto yynewstate;763, - goto yyerrlab1;823, - yyerrstatus 846, - goto yyerrhandle;848, - yyn 861, - yystate 875, - yyn 895, - yyn 903, - YYDPRINTF 917, - *++yyvsp yyvsp919, - *++yylsp yylsp921, - yystate 924, - goto yynewstate;925, - yyresult 932, - goto yyreturn;933, - yyresult 939, - goto yyreturn;940, - yyerror 946, - yyresult 947, y-src/atest.y,9 exp 2,3 @@ -4713,76 +4637,6 @@ y-src/cccp.c,303 # define RSH 17,310 # define UNARY 18,327 -cccp.y,2005 -typedef unsigned char U_CHAR;38, -struct arglist 41, -#define NULL 51, -#define GENERIC_PTR 56, -#define GENERIC_PTR 58, -#define NULL_PTR 63, -int yylex 66, -void yyerror 67, -int expression_value;68, -static jmp_buf parse_return_error;70, -static int keyword_parsing 73, -extern unsigned char is_idstart[is_idstart76, -extern unsigned char is_idstart[], is_idchar[is_idchar76, -extern unsigned char is_idstart[], is_idchar[], is_hor_space[is_hor_space76, -extern char *xmalloc xmalloc78, -extern int pedantic;81, -extern int traditional;84, -#define CHAR_TYPE_SIZE 87, -#define INT_TYPE_SIZE 91, -#define LONG_TYPE_SIZE 95, -#define WCHAR_TYPE_SIZE 99, -#define possible_sum_sign(104, -static void integer_overflow 106, -static long left_shift 107, -static long right_shift 108, - struct constant 113, - struct name 114, -} yystype;118, -# define YYSTYPE 119, -# define YYDEBUG 122, -#define YYFINAL 127, -#define YYFLAG 128, -#define YYNTBASE 129, -#define YYTRANSLATE(132, -static const char yytranslate[yytranslate135, -static const short yyprhs[yyprhs167, -static const short yyrhs[yyrhs174, -static const short yyrline[yyrline195, -static const char *const yytname[yytname208, -static const short yyr1[yyr1219, -static const short yyr2[yyr2228, -static const short yydefact[yydefact239, -static const short yydefgoto[yydefgoto251, -static const short yypact[yypact256, -static const short yypgoto[yypgoto268, -#define YYLAST 274, -static const short yytable[yytable277, -static const short yycheck[yycheck301, -static char *lexptr;lexptr332, -parse_number 341, -struct token 437, -static struct token tokentab2[tokentab2442, -yylex 459, -parse_escape 740, -yyerror 836, -integer_overflow 844, -left_shift 851, -right_shift 873, -parse_c_expression 893, -extern int yydebug;919, -main 923, -unsigned char is_idchar[is_idchar948, -unsigned char is_idstart[is_idstart950, -char is_hor_space[is_hor_space953, -initialize_random_junk 958, -error 988, -warning 993, -lookup 999, - /usr/share/bison/bison.simple,2180 # define YYSTD(41, # define YYSTD(43, diff --git a/test/manual/etags/ETAGS.good_3 b/test/manual/etags/ETAGS.good_3 index 5f84aa9a0c..ac1f97e9ec 100644 --- a/test/manual/etags/ETAGS.good_3 +++ b/test/manual/etags/ETAGS.good_3 @@ -4323,49 +4323,7 @@ y-src/parse.c,520 # define L_NE 26,492 # define L_GE 27,510 -parse.y,1181 -#define obstack_chunk_alloc 46, -#define obstack_chunk_free 47, -VOIDSTAR parse_hash;63, -unsigned char fnin[fnin67, -#define YYSTYPE 71, -typedef struct node *YYSTYPE;YYSTYPE72, -YYSTYPE parse_return;73, -char *instr;instr80, -int parse_error 81, -#define YYSTYPE 85, -# define YYDEBUG 88, -#define YYFINAL 93, -#define YYFLAG 94, -#define YYNTBASE 95, -#define YYTRANSLATE(98, -static const char yytranslate[yytranslate101, -static const short yyprhs[yyprhs134, -static const short yyrhs[yyrhs142, -static const short yyrline[yyrline171, -static const char *const yytname[yytname185, -static const short yyr1[yyr1197, -static const short yyr2[yyr2207, -static const short yydefact[yydefact219, -static const short yydefgoto[yydefgoto237, -static const short yypact[yypact242, -static const short yypgoto[yypgoto260, -#define YYLAST 266, -static const short yytable[yytable269, -static const short yycheck[yycheck330, -yyerror FUN1(285, -make_list FUN2(292, -#define ERROR 303, -yylex FUN0(314, -parse_cell_or_range FUN2(586, -#define CK_ABS_R(670, -#define CK_REL_R(674, -#define CK_ABS_C(679, -#define CK_REL_C(683, -#define MAYBEREL(688, -str_to_col FUN1(846, - -/usr/share/bison/bison.simple,2168 +/usr/share/bison/bison.simple,1751 # define YYSTD(40, # define YYSTD(42, # define YYSTACK_ALLOC 50, @@ -4435,28 +4393,6 @@ yyparse 403, # define YYPOPSTACK 445, # define YYPOPSTACK 447, # undef YYSTACK_RELOCATE548, - *++yyvsp yyvsp746, - *++yylsp yylsp748, - yyn 755, - yystate 757, - yystate 761, - goto yynewstate;763, - goto yyerrlab1;823, - yyerrstatus 846, - goto yyerrhandle;848, - yyn 861, - yystate 875, - yyn 895, - yyn 903, - *++yyvsp yyvsp919, - *++yylsp yylsp921, - yystate 924, - goto yynewstate;925, - yyresult 932, - goto yyreturn;933, - yyresult 939, - goto yyreturn;940, - yyresult 947, y-src/atest.y,9 exp 2,3 @@ -4477,79 +4413,6 @@ y-src/cccp.c,303 # define RSH 17,310 # define UNARY 18,327 -cccp.y,2106 -typedef unsigned char U_CHAR;38, -struct arglist 41, - struct arglist *next;next42, - U_CHAR *name;name43, - int length;44, - int argno;45, -#define NULL 51, -#define GENERIC_PTR 56, -#define GENERIC_PTR 58, -#define NULL_PTR 63, -int expression_value;68, -static jmp_buf parse_return_error;70, -static int keyword_parsing 73, -#define CHAR_TYPE_SIZE 87, -#define INT_TYPE_SIZE 91, -#define LONG_TYPE_SIZE 95, -#define WCHAR_TYPE_SIZE 99, -#define possible_sum_sign(104, - struct constant 113, - struct constant {long value;113, - struct constant {long value; int unsignedp;113, - struct constant {long value; int unsignedp;} integer;113, - struct name 114, - struct name {U_CHAR *address;address114, - struct name {U_CHAR *address; int length;114, - struct name {U_CHAR *address; int length;} name;114, - struct arglist *keywords;keywords115, - int voidval;116, - char *sval;sval117, -} yystype;118, -# define YYSTYPE 119, -# define YYDEBUG 122, -#define YYFINAL 127, -#define YYFLAG 128, -#define YYNTBASE 129, -#define YYTRANSLATE(132, -static const char yytranslate[yytranslate135, -static const short yyprhs[yyprhs167, -static const short yyrhs[yyrhs174, -static const short yyrline[yyrline195, -static const char *const yytname[yytname208, -static const short yyr1[yyr1219, -static const short yyr2[yyr2228, -static const short yydefact[yydefact239, -static const short yydefgoto[yydefgoto251, -static const short yypact[yypact256, -static const short yypgoto[yypgoto268, -#define YYLAST 274, -static const short yytable[yytable277, -static const short yycheck[yycheck301, -static char *lexptr;lexptr332, -parse_number 341, -struct token 437, - char *operator;operator438, - int token;439, -static struct token tokentab2[tokentab2442, -yylex 459, -parse_escape 740, -yyerror 836, -integer_overflow 844, -left_shift 851, -right_shift 873, -parse_c_expression 893, -main 923, -unsigned char is_idchar[is_idchar948, -unsigned char is_idstart[is_idstart950, -char is_hor_space[is_hor_space953, -initialize_random_junk 958, -error 988, -warning 993, -lookup 999, - /usr/share/bison/bison.simple,2168 # define YYSTD(41, # define YYSTD(43, diff --git a/test/manual/etags/ETAGS.good_4 b/test/manual/etags/ETAGS.good_4 index 12e2a6549c..8184e3a0f6 100644 --- a/test/manual/etags/ETAGS.good_4 +++ b/test/manual/etags/ETAGS.good_4 @@ -4125,49 +4125,7 @@ y-src/parse.c,520 # define L_NE 26,492 # define L_GE 27,510 -parse.y,1181 -#define obstack_chunk_alloc 46, -#define obstack_chunk_free 47, -VOIDSTAR parse_hash;63, -unsigned char fnin[fnin67, -#define YYSTYPE 71, -typedef struct node *YYSTYPE;YYSTYPE72, -YYSTYPE parse_return;73, -char *instr;instr80, -int parse_error 81, -#define YYSTYPE 85, -# define YYDEBUG 88, -#define YYFINAL 93, -#define YYFLAG 94, -#define YYNTBASE 95, -#define YYTRANSLATE(98, -static const char yytranslate[yytranslate101, -static const short yyprhs[yyprhs134, -static const short yyrhs[yyrhs142, -static const short yyrline[yyrline171, -static const char *const yytname[yytname185, -static const short yyr1[yyr1197, -static const short yyr2[yyr2207, -static const short yydefact[yydefact219, -static const short yydefgoto[yydefgoto237, -static const short yypact[yypact242, -static const short yypgoto[yypgoto260, -#define YYLAST 266, -static const short yytable[yytable269, -static const short yycheck[yycheck330, -yyerror FUN1(285, -make_list FUN2(292, -#define ERROR 303, -yylex FUN0(314, -parse_cell_or_range FUN2(586, -#define CK_ABS_R(670, -#define CK_REL_R(674, -#define CK_ABS_C(679, -#define CK_REL_C(683, -#define MAYBEREL(688, -str_to_col FUN1(846, - -/usr/share/bison/bison.simple,2110 +/usr/share/bison/bison.simple,1693 # define YYSTD(40, # define YYSTD(42, # define YYSTACK_ALLOC 50, @@ -4234,28 +4192,6 @@ yyparse 403, # define YYPOPSTACK 445, # define YYPOPSTACK 447, # undef YYSTACK_RELOCATE548, - *++yyvsp yyvsp746, - *++yylsp yylsp748, - yyn 755, - yystate 757, - yystate 761, - goto yynewstate;763, - goto yyerrlab1;823, - yyerrstatus 846, - goto yyerrhandle;848, - yyn 861, - yystate 875, - yyn 895, - yyn 903, - *++yyvsp yyvsp919, - *++yylsp yylsp921, - yystate 924, - goto yynewstate;925, - yyresult 932, - goto yyreturn;933, - yyresult 939, - goto yyreturn;940, - yyresult 947, y-src/atest.y,9 exp 2,3 @@ -4276,64 +4212,6 @@ y-src/cccp.c,303 # define RSH 17,310 # define UNARY 18,327 -cccp.y,1579 -typedef unsigned char U_CHAR;38, -struct arglist 41, -#define NULL 51, -#define GENERIC_PTR 56, -#define GENERIC_PTR 58, -#define NULL_PTR 63, -int expression_value;68, -static jmp_buf parse_return_error;70, -static int keyword_parsing 73, -#define CHAR_TYPE_SIZE 87, -#define INT_TYPE_SIZE 91, -#define LONG_TYPE_SIZE 95, -#define WCHAR_TYPE_SIZE 99, -#define possible_sum_sign(104, - struct constant 113, - struct name 114, -} yystype;118, -# define YYSTYPE 119, -# define YYDEBUG 122, -#define YYFINAL 127, -#define YYFLAG 128, -#define YYNTBASE 129, -#define YYTRANSLATE(132, -static const char yytranslate[yytranslate135, -static const short yyprhs[yyprhs167, -static const short yyrhs[yyrhs174, -static const short yyrline[yyrline195, -static const char *const yytname[yytname208, -static const short yyr1[yyr1219, -static const short yyr2[yyr2228, -static const short yydefact[yydefact239, -static const short yydefgoto[yydefgoto251, -static const short yypact[yypact256, -static const short yypgoto[yypgoto268, -#define YYLAST 274, -static const short yytable[yytable277, -static const short yycheck[yycheck301, -static char *lexptr;lexptr332, -parse_number 341, -struct token 437, -static struct token tokentab2[tokentab2442, -yylex 459, -parse_escape 740, -yyerror 836, -integer_overflow 844, -left_shift 851, -right_shift 873, -parse_c_expression 893, -main 923, -unsigned char is_idchar[is_idchar948, -unsigned char is_idstart[is_idstart950, -char is_hor_space[is_hor_space953, -initialize_random_junk 958, -error 988, -warning 993, -lookup 999, - /usr/share/bison/bison.simple,2110 # define YYSTD(41, # define YYSTD(43, diff --git a/test/manual/etags/ETAGS.good_5 b/test/manual/etags/ETAGS.good_5 index 98de4f2c2f..708ba17beb 100644 --- a/test/manual/etags/ETAGS.good_5 +++ b/test/manual/etags/ETAGS.good_5 @@ -5074,59 +5074,7 @@ y-src/parse.c,520 # define L_NE 26,492 # define L_GE 27,510 -parse.y,1464 -#define obstack_chunk_alloc 46, -#define obstack_chunk_free 47, -int yylex 57, -void yyerror 59, -void yyerror 61, -VOIDSTAR parse_hash;63, -extern VOIDSTAR hash_find(64, -unsigned char fnin[fnin67, -#define YYSTYPE 71, -typedef struct node *YYSTYPE;YYSTYPE72, -YYSTYPE parse_return;73, -YYSTYPE make_list 75, -YYSTYPE make_list 77, -char *instr;instr80, -int parse_error 81, -extern struct obstack tmp_mem;82, -#define YYSTYPE 85, -# define YYDEBUG 88, -#define YYFINAL 93, -#define YYFLAG 94, -#define YYNTBASE 95, -#define YYTRANSLATE(98, -static const char yytranslate[yytranslate101, -static const short yyprhs[yyprhs134, -static const short yyrhs[yyrhs142, -static const short yyrline[yyrline171, -static const char *const yytname[yytname185, -static const short yyr1[yyr1197, -static const short yyr2[yyr2207, -static const short yydefact[yydefact219, -static const short yydefgoto[yydefgoto237, -static const short yypact[yypact242, -static const short yypgoto[yypgoto260, -#define YYLAST 266, -static const short yytable[yytable269, -static const short yycheck[yycheck330, -yyerror FUN1(285, -make_list FUN2(292, -#define ERROR 303, -extern struct node *yylval;yylval305, -unsigned char parse_cell_or_range 308, -unsigned char parse_cell_or_range 310, -yylex FUN0(314, -parse_cell_or_range FUN2(586, -#define CK_ABS_R(670, -#define CK_REL_R(674, -#define CK_ABS_C(679, -#define CK_REL_C(683, -#define MAYBEREL(688, -str_to_col FUN1(846, - -/usr/share/bison/bison.simple,2238 +/usr/share/bison/bison.simple,1787 # define YYSTD(40, # define YYSTD(42, # define YYSTACK_ALLOC 50, @@ -5198,30 +5146,6 @@ yyparse 403, # define YYPOPSTACK 445, # define YYPOPSTACK 447, # undef YYSTACK_RELOCATE548, - *++yyvsp yyvsp746, - *++yylsp yylsp748, - yyn 755, - yystate 757, - yystate 761, - goto yynewstate;763, - goto yyerrlab1;823, - yyerrstatus 846, - goto yyerrhandle;848, - yyn 861, - yystate 875, - yyn 895, - yyn 903, - YYDPRINTF 917, - *++yyvsp yyvsp919, - *++yylsp yylsp921, - yystate 924, - goto yynewstate;925, - yyresult 932, - goto yyreturn;933, - yyresult 939, - goto yyreturn;940, - yyerror 946, - yyresult 947, y-src/atest.y,9 exp 2,3 @@ -5242,91 +5166,6 @@ y-src/cccp.c,303 # define RSH 17,310 # define UNARY 18,327 -cccp.y,2532 -typedef unsigned char U_CHAR;38, -struct arglist 41, - struct arglist *next;next42, - U_CHAR *name;name43, - int length;44, - int argno;45, -#define NULL 51, -#define GENERIC_PTR 56, -#define GENERIC_PTR 58, -#define NULL_PTR 63, -int yylex 66, -void yyerror 67, -int expression_value;68, -static jmp_buf parse_return_error;70, -static int keyword_parsing 73, -extern unsigned char is_idstart[is_idstart76, -extern unsigned char is_idstart[], is_idchar[is_idchar76, -extern unsigned char is_idstart[], is_idchar[], is_hor_space[is_hor_space76, -extern char *xmalloc xmalloc78, -extern int pedantic;81, -extern int traditional;84, -#define CHAR_TYPE_SIZE 87, -#define INT_TYPE_SIZE 91, -#define LONG_TYPE_SIZE 95, -#define WCHAR_TYPE_SIZE 99, -#define possible_sum_sign(104, -static void integer_overflow 106, -static long left_shift 107, -static long right_shift 108, - struct constant 113, - struct constant {long value;113, - struct constant {long value; int unsignedp;113, - struct constant {long value; int unsignedp;} integer;113, - struct name 114, - struct name {U_CHAR *address;address114, - struct name {U_CHAR *address; int length;114, - struct name {U_CHAR *address; int length;} name;114, - struct arglist *keywords;keywords115, - int voidval;116, - char *sval;sval117, -} yystype;118, -# define YYSTYPE 119, -# define YYDEBUG 122, -#define YYFINAL 127, -#define YYFLAG 128, -#define YYNTBASE 129, -#define YYTRANSLATE(132, -static const char yytranslate[yytranslate135, -static const short yyprhs[yyprhs167, -static const short yyrhs[yyrhs174, -static const short yyrline[yyrline195, -static const char *const yytname[yytname208, -static const short yyr1[yyr1219, -static const short yyr2[yyr2228, -static const short yydefact[yydefact239, -static const short yydefgoto[yydefgoto251, -static const short yypact[yypact256, -static const short yypgoto[yypgoto268, -#define YYLAST 274, -static const short yytable[yytable277, -static const short yycheck[yycheck301, -static char *lexptr;lexptr332, -parse_number 341, -struct token 437, - char *operator;operator438, - int token;439, -static struct token tokentab2[tokentab2442, -yylex 459, -parse_escape 740, -yyerror 836, -integer_overflow 844, -left_shift 851, -right_shift 873, -parse_c_expression 893, -extern int yydebug;919, -main 923, -unsigned char is_idchar[is_idchar948, -unsigned char is_idstart[is_idstart950, -char is_hor_space[is_hor_space953, -initialize_random_junk 958, -error 988, -warning 993, -lookup 999, - /usr/share/bison/bison.simple,2238 # define YYSTD(41, # define YYSTD(43, diff --git a/test/manual/etags/ETAGS.good_6 b/test/manual/etags/ETAGS.good_6 index f5e0ad4407..35bb97986c 100644 --- a/test/manual/etags/ETAGS.good_6 +++ b/test/manual/etags/ETAGS.good_6 @@ -5074,59 +5074,7 @@ y-src/parse.c,520 # define L_NE 26,492 # define L_GE 27,510 -parse.y,1464 -#define obstack_chunk_alloc 46, -#define obstack_chunk_free 47, -int yylex 57, -void yyerror 59, -void yyerror 61, -VOIDSTAR parse_hash;63, -extern VOIDSTAR hash_find(64, -unsigned char fnin[fnin67, -#define YYSTYPE 71, -typedef struct node *YYSTYPE;YYSTYPE72, -YYSTYPE parse_return;73, -YYSTYPE make_list 75, -YYSTYPE make_list 77, -char *instr;instr80, -int parse_error 81, -extern struct obstack tmp_mem;82, -#define YYSTYPE 85, -# define YYDEBUG 88, -#define YYFINAL 93, -#define YYFLAG 94, -#define YYNTBASE 95, -#define YYTRANSLATE(98, -static const char yytranslate[yytranslate101, -static const short yyprhs[yyprhs134, -static const short yyrhs[yyrhs142, -static const short yyrline[yyrline171, -static const char *const yytname[yytname185, -static const short yyr1[yyr1197, -static const short yyr2[yyr2207, -static const short yydefact[yydefact219, -static const short yydefgoto[yydefgoto237, -static const short yypact[yypact242, -static const short yypgoto[yypgoto260, -#define YYLAST 266, -static const short yytable[yytable269, -static const short yycheck[yycheck330, -yyerror FUN1(285, -make_list FUN2(292, -#define ERROR 303, -extern struct node *yylval;yylval305, -unsigned char parse_cell_or_range 308, -unsigned char parse_cell_or_range 310, -yylex FUN0(314, -parse_cell_or_range FUN2(586, -#define CK_ABS_R(670, -#define CK_REL_R(674, -#define CK_ABS_C(679, -#define CK_REL_C(683, -#define MAYBEREL(688, -str_to_col FUN1(846, - -/usr/share/bison/bison.simple,2238 +/usr/share/bison/bison.simple,1787 # define YYSTD(40, # define YYSTD(42, # define YYSTACK_ALLOC 50, @@ -5198,30 +5146,6 @@ yyparse 403, # define YYPOPSTACK 445, # define YYPOPSTACK 447, # undef YYSTACK_RELOCATE548, - *++yyvsp yyvsp746, - *++yylsp yylsp748, - yyn 755, - yystate 757, - yystate 761, - goto yynewstate;763, - goto yyerrlab1;823, - yyerrstatus 846, - goto yyerrhandle;848, - yyn 861, - yystate 875, - yyn 895, - yyn 903, - YYDPRINTF 917, - *++yyvsp yyvsp919, - *++yylsp yylsp921, - yystate 924, - goto yynewstate;925, - yyresult 932, - goto yyreturn;933, - yyresult 939, - goto yyreturn;940, - yyerror 946, - yyresult 947, y-src/atest.y,9 exp 2,3 @@ -5242,91 +5166,6 @@ y-src/cccp.c,303 # define RSH 17,310 # define UNARY 18,327 -cccp.y,2532 -typedef unsigned char U_CHAR;38, -struct arglist 41, - struct arglist *next;next42, - U_CHAR *name;name43, - int length;44, - int argno;45, -#define NULL 51, -#define GENERIC_PTR 56, -#define GENERIC_PTR 58, -#define NULL_PTR 63, -int yylex 66, -void yyerror 67, -int expression_value;68, -static jmp_buf parse_return_error;70, -static int keyword_parsing 73, -extern unsigned char is_idstart[is_idstart76, -extern unsigned char is_idstart[], is_idchar[is_idchar76, -extern unsigned char is_idstart[], is_idchar[], is_hor_space[is_hor_space76, -extern char *xmalloc xmalloc78, -extern int pedantic;81, -extern int traditional;84, -#define CHAR_TYPE_SIZE 87, -#define INT_TYPE_SIZE 91, -#define LONG_TYPE_SIZE 95, -#define WCHAR_TYPE_SIZE 99, -#define possible_sum_sign(104, -static void integer_overflow 106, -static long left_shift 107, -static long right_shift 108, - struct constant 113, - struct constant {long value;113, - struct constant {long value; int unsignedp;113, - struct constant {long value; int unsignedp;} integer;113, - struct name 114, - struct name {U_CHAR *address;address114, - struct name {U_CHAR *address; int length;114, - struct name {U_CHAR *address; int length;} name;114, - struct arglist *keywords;keywords115, - int voidval;116, - char *sval;sval117, -} yystype;118, -# define YYSTYPE 119, -# define YYDEBUG 122, -#define YYFINAL 127, -#define YYFLAG 128, -#define YYNTBASE 129, -#define YYTRANSLATE(132, -static const char yytranslate[yytranslate135, -static const short yyprhs[yyprhs167, -static const short yyrhs[yyrhs174, -static const short yyrline[yyrline195, -static const char *const yytname[yytname208, -static const short yyr1[yyr1219, -static const short yyr2[yyr2228, -static const short yydefact[yydefact239, -static const short yydefgoto[yydefgoto251, -static const short yypact[yypact256, -static const short yypgoto[yypgoto268, -#define YYLAST 274, -static const short yytable[yytable277, -static const short yycheck[yycheck301, -static char *lexptr;lexptr332, -parse_number 341, -struct token 437, - char *operator;operator438, - int token;439, -static struct token tokentab2[tokentab2442, -yylex 459, -parse_escape 740, -yyerror 836, -integer_overflow 844, -left_shift 851, -right_shift 873, -parse_c_expression 893, -extern int yydebug;919, -main 923, -unsigned char is_idchar[is_idchar948, -unsigned char is_idstart[is_idstart950, -char is_hor_space[is_hor_space953, -initialize_random_junk 958, -error 988, -warning 993, -lookup 999, - /usr/share/bison/bison.simple,2238 # define YYSTD(41, # define YYSTD(43, diff --git a/test/manual/etags/y-src/cccp.c b/test/manual/etags/y-src/cccp.c index 776e3dad4b..022fbe0a72 100644 --- a/test/manual/etags/y-src/cccp.c +++ b/test/manual/etags/y-src/cccp.c @@ -17,7 +17,7 @@ # define RSH 268 # define UNARY 269 -#line 26 "cccp.y" +#line 26 "y-src/cccp.y" #include "config.h" #include <setjmp.h> @@ -102,7 +102,7 @@ static void integer_overflow (); static long left_shift (); static long right_shift (); -#line 111 "cccp.y" +#line 111 "y-src/cccp.y" #ifndef YYSTYPE typedef union { struct constant {long value; int unsignedp;} integer; @@ -1047,59 +1047,59 @@ yyreduce: switch (yyn) { case 1: -#line 144 "cccp.y" +#line 144 "y-src/cccp.y" { expression_value = yyvsp[0].integer.value; } break; case 3: -#line 150 "cccp.y" +#line 150 "y-src/cccp.y" { if (pedantic) pedwarn ("comma operator in operand of `#if'"); yyval.integer = yyvsp[0].integer; } break; case 4: -#line 157 "cccp.y" +#line 157 "y-src/cccp.y" { yyval.integer.value = - yyvsp[0].integer.value; if ((yyval.integer.value & yyvsp[0].integer.value) < 0 && ! yyvsp[0].integer.unsignedp) integer_overflow (); yyval.integer.unsignedp = yyvsp[0].integer.unsignedp; } break; case 5: -#line 162 "cccp.y" +#line 162 "y-src/cccp.y" { yyval.integer.value = ! yyvsp[0].integer.value; yyval.integer.unsignedp = 0; } break; case 6: -#line 165 "cccp.y" +#line 165 "y-src/cccp.y" { yyval.integer = yyvsp[0].integer; } break; case 7: -#line 167 "cccp.y" +#line 167 "y-src/cccp.y" { yyval.integer.value = ~ yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[0].integer.unsignedp; } break; case 8: -#line 170 "cccp.y" +#line 170 "y-src/cccp.y" { yyval.integer.value = check_assertion (yyvsp[0].name.address, yyvsp[0].name.length, 0, NULL_PTR); yyval.integer.unsignedp = 0; } break; case 9: -#line 174 "cccp.y" +#line 174 "y-src/cccp.y" { keyword_parsing = 1; } break; case 10: -#line 176 "cccp.y" +#line 176 "y-src/cccp.y" { yyval.integer.value = check_assertion (yyvsp[-4].name.address, yyvsp[-4].name.length, 1, yyvsp[-1].keywords); keyword_parsing = 0; yyval.integer.unsignedp = 0; } break; case 11: -#line 181 "cccp.y" +#line 181 "y-src/cccp.y" { yyval.integer = yyvsp[-1].integer; } break; case 12: -#line 186 "cccp.y" +#line 186 "y-src/cccp.y" { yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; if (yyval.integer.unsignedp) yyval.integer.value = (unsigned long) yyvsp[-2].integer.value * yyvsp[0].integer.value; @@ -1113,7 +1113,7 @@ case 12: } } break; case 13: -#line 198 "cccp.y" +#line 198 "y-src/cccp.y" { if (yyvsp[0].integer.value == 0) { error ("division by zero in #if"); @@ -1130,7 +1130,7 @@ case 13: } } break; case 14: -#line 213 "cccp.y" +#line 213 "y-src/cccp.y" { if (yyvsp[0].integer.value == 0) { error ("division by zero in #if"); @@ -1143,7 +1143,7 @@ case 14: yyval.integer.value = yyvsp[-2].integer.value % yyvsp[0].integer.value; } break; case 15: -#line 224 "cccp.y" +#line 224 "y-src/cccp.y" { yyval.integer.value = yyvsp[-2].integer.value + yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; if (! yyval.integer.unsignedp @@ -1152,7 +1152,7 @@ case 15: integer_overflow (); } break; case 16: -#line 231 "cccp.y" +#line 231 "y-src/cccp.y" { yyval.integer.value = yyvsp[-2].integer.value - yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; if (! yyval.integer.unsignedp @@ -1161,7 +1161,7 @@ case 16: integer_overflow (); } break; case 17: -#line 238 "cccp.y" +#line 238 "y-src/cccp.y" { yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp; if (yyvsp[0].integer.value < 0 && ! yyvsp[0].integer.unsignedp) yyval.integer.value = right_shift (&yyvsp[-2].integer, -yyvsp[0].integer.value); @@ -1169,7 +1169,7 @@ case 17: yyval.integer.value = left_shift (&yyvsp[-2].integer, yyvsp[0].integer.value); } break; case 18: -#line 244 "cccp.y" +#line 244 "y-src/cccp.y" { yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp; if (yyvsp[0].integer.value < 0 && ! yyvsp[0].integer.unsignedp) yyval.integer.value = left_shift (&yyvsp[-2].integer, -yyvsp[0].integer.value); @@ -1177,17 +1177,17 @@ case 18: yyval.integer.value = right_shift (&yyvsp[-2].integer, yyvsp[0].integer.value); } break; case 19: -#line 250 "cccp.y" +#line 250 "y-src/cccp.y" { yyval.integer.value = (yyvsp[-2].integer.value == yyvsp[0].integer.value); yyval.integer.unsignedp = 0; } break; case 20: -#line 253 "cccp.y" +#line 253 "y-src/cccp.y" { yyval.integer.value = (yyvsp[-2].integer.value != yyvsp[0].integer.value); yyval.integer.unsignedp = 0; } break; case 21: -#line 256 "cccp.y" +#line 256 "y-src/cccp.y" { yyval.integer.unsignedp = 0; if (yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp) yyval.integer.value = (unsigned long) yyvsp[-2].integer.value <= yyvsp[0].integer.value; @@ -1195,7 +1195,7 @@ case 21: yyval.integer.value = yyvsp[-2].integer.value <= yyvsp[0].integer.value; } break; case 22: -#line 262 "cccp.y" +#line 262 "y-src/cccp.y" { yyval.integer.unsignedp = 0; if (yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp) yyval.integer.value = (unsigned long) yyvsp[-2].integer.value >= yyvsp[0].integer.value; @@ -1203,7 +1203,7 @@ case 22: yyval.integer.value = yyvsp[-2].integer.value >= yyvsp[0].integer.value; } break; case 23: -#line 268 "cccp.y" +#line 268 "y-src/cccp.y" { yyval.integer.unsignedp = 0; if (yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp) yyval.integer.value = (unsigned long) yyvsp[-2].integer.value < yyvsp[0].integer.value; @@ -1211,7 +1211,7 @@ case 23: yyval.integer.value = yyvsp[-2].integer.value < yyvsp[0].integer.value; } break; case 24: -#line 274 "cccp.y" +#line 274 "y-src/cccp.y" { yyval.integer.unsignedp = 0; if (yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp) yyval.integer.value = (unsigned long) yyvsp[-2].integer.value > yyvsp[0].integer.value; @@ -1219,54 +1219,54 @@ case 24: yyval.integer.value = yyvsp[-2].integer.value > yyvsp[0].integer.value; } break; case 25: -#line 280 "cccp.y" +#line 280 "y-src/cccp.y" { yyval.integer.value = yyvsp[-2].integer.value & yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; } break; case 26: -#line 283 "cccp.y" +#line 283 "y-src/cccp.y" { yyval.integer.value = yyvsp[-2].integer.value ^ yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; } break; case 27: -#line 286 "cccp.y" +#line 286 "y-src/cccp.y" { yyval.integer.value = yyvsp[-2].integer.value | yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; } break; case 28: -#line 289 "cccp.y" +#line 289 "y-src/cccp.y" { yyval.integer.value = (yyvsp[-2].integer.value && yyvsp[0].integer.value); yyval.integer.unsignedp = 0; } break; case 29: -#line 292 "cccp.y" +#line 292 "y-src/cccp.y" { yyval.integer.value = (yyvsp[-2].integer.value || yyvsp[0].integer.value); yyval.integer.unsignedp = 0; } break; case 30: -#line 295 "cccp.y" +#line 295 "y-src/cccp.y" { yyval.integer.value = yyvsp[-4].integer.value ? yyvsp[-2].integer.value : yyvsp[0].integer.value; yyval.integer.unsignedp = yyvsp[-2].integer.unsignedp || yyvsp[0].integer.unsignedp; } break; case 31: -#line 298 "cccp.y" +#line 298 "y-src/cccp.y" { yyval.integer = yylval.integer; } break; case 32: -#line 300 "cccp.y" +#line 300 "y-src/cccp.y" { yyval.integer = yylval.integer; } break; case 33: -#line 302 "cccp.y" +#line 302 "y-src/cccp.y" { yyval.integer.value = 0; yyval.integer.unsignedp = 0; } break; case 34: -#line 307 "cccp.y" +#line 307 "y-src/cccp.y" { yyval.keywords = 0; } break; case 35: -#line 309 "cccp.y" +#line 309 "y-src/cccp.y" { struct arglist *temp; yyval.keywords = (struct arglist *) xmalloc (sizeof (struct arglist)); yyval.keywords->next = yyvsp[-2].keywords; @@ -1281,7 +1281,7 @@ case 35: temp->next->length = 1; } break; case 36: -#line 322 "cccp.y" +#line 322 "y-src/cccp.y" { yyval.keywords = (struct arglist *) xmalloc (sizeof (struct arglist)); yyval.keywords->name = yyvsp[-1].name.address; yyval.keywords->length = yyvsp[-1].name.length; @@ -1520,7 +1520,7 @@ yyreturn: #endif return yyresult; } -#line 327 "cccp.y" +#line 327 "y-src/cccp.y" /* During parsing of a C expression, the pointer to the next character diff --git a/test/manual/etags/y-src/parse.c b/test/manual/etags/y-src/parse.c index 9509867427..d21af68b9b 100644 --- a/test/manual/etags/y-src/parse.c +++ b/test/manual/etags/y-src/parse.c @@ -26,7 +26,7 @@ # define L_NE 277 # define L_GE 278 -#line 1 "parse.y" +#line 1 "y-src/parse.y" /* Copyright (C) 1990, 1992-1993, 2016 Free Software Foundation, Inc. @@ -45,7 +45,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Oleo; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#line 41 "parse.y" +#line 41 "y-src/parse.y" #include "funcdef.h" @@ -1125,84 +1125,84 @@ yyreduce: switch (yyn) { case 1: -#line 87 "parse.y" +#line 87 "y-src/parse.y" { parse_return=yyvsp[0]; } break; case 2: -#line 88 "parse.y" +#line 88 "y-src/parse.y" { if(!parse_error) parse_error=PARSE_ERR; parse_return=0; } break; case 5: -#line 96 "parse.y" +#line 96 "y-src/parse.y" { yyval=yyvsp[-2]; } break; case 6: -#line 98 "parse.y" +#line 98 "y-src/parse.y" { (yyvsp[-3])->n_x.v_subs[0]=yyvsp[-1]; (yyvsp[-3])->n_x.v_subs[1]=(struct node *)0; yyval=yyvsp[-3]; } break; case 7: -#line 102 "parse.y" +#line 102 "y-src/parse.y" { (yyvsp[-5])->n_x.v_subs[0]=yyvsp[-3]; (yyvsp[-5])->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-5]; } break; case 8: -#line 106 "parse.y" +#line 106 "y-src/parse.y" { (yyvsp[-7])->n_x.v_subs[0]=make_list(yyvsp[-5],yyvsp[-3]); (yyvsp[-7])->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-7];} break; case 9: -#line 110 "parse.y" +#line 110 "y-src/parse.y" { (yyvsp[-9])->n_x.v_subs[0]=make_list(yyvsp[-7],yyvsp[-5]); (yyvsp[-9])->n_x.v_subs[1]=make_list(yyvsp[-3],yyvsp[-1]); yyval=yyvsp[-9];} break; case 10: -#line 114 "parse.y" +#line 114 "y-src/parse.y" { (yyvsp[-3])->n_x.v_subs[0]=(struct node *)0; (yyvsp[-3])->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-3]; } break; case 11: -#line 118 "parse.y" +#line 118 "y-src/parse.y" { yyvsp[-3]->n_x.v_subs[0]=yyvsp[-1]; yyval=yyvsp[-3]; } break; case 12: -#line 121 "parse.y" +#line 121 "y-src/parse.y" { yyvsp[-3]->n_x.v_subs[0]=yyvsp[-1]; yyval=yyvsp[-3]; } break; case 13: -#line 125 "parse.y" +#line 125 "y-src/parse.y" { yyvsp[-5]->n_x.v_subs[0]=yyvsp[-3]; yyvsp[-5]->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-5]; } break; case 14: -#line 129 "parse.y" +#line 129 "y-src/parse.y" { yyvsp[-5]->n_x.v_subs[0]=yyvsp[-3]; yyvsp[-5]->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-5]; } break; case 15: -#line 135 "parse.y" +#line 135 "y-src/parse.y" { if(yyvsp[-7]->comp_value!=F_INDEX) parse_error=PARSE_ERR; @@ -1212,7 +1212,7 @@ case 15: yyval=yyvsp[-7]; } break; case 16: -#line 142 "parse.y" +#line 142 "y-src/parse.y" { if(yyvsp[-7]->comp_value!=F_INDEX) parse_error=PARSE_ERR; @@ -1222,28 +1222,28 @@ case 16: yyval=yyvsp[-7]; } break; case 17: -#line 150 "parse.y" +#line 150 "y-src/parse.y" { (yyvsp[-7])->n_x.v_subs[0]=make_list(yyvsp[-5],yyvsp[-3]); (yyvsp[-7])->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-7];} break; case 18: -#line 154 "parse.y" +#line 154 "y-src/parse.y" { (yyvsp[-7])->n_x.v_subs[0]=make_list(yyvsp[-5],yyvsp[-3]); (yyvsp[-7])->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-7];} break; case 19: -#line 159 "parse.y" +#line 159 "y-src/parse.y" { (yyvsp[-3])->n_x.v_subs[0]=(struct node *)0; (yyvsp[-3])->n_x.v_subs[1]=yyvsp[-1]; yyval=yyvsp[-3]; } break; case 20: -#line 163 "parse.y" +#line 163 "y-src/parse.y" { yyvsp[-3]->comp_value=IF; yyvsp[-3]->n_x.v_subs[0]=yyvsp[-1]; @@ -1253,98 +1253,98 @@ case 20: yyval=yyvsp[-3]; } break; case 21: -#line 174 "parse.y" +#line 174 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 22: -#line 178 "parse.y" +#line 178 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 23: -#line 182 "parse.y" +#line 182 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 24: -#line 186 "parse.y" +#line 186 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 25: -#line 190 "parse.y" +#line 190 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 26: -#line 194 "parse.y" +#line 194 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 27: -#line 198 "parse.y" +#line 198 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 28: -#line 202 "parse.y" +#line 202 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 29: -#line 206 "parse.y" +#line 206 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 30: -#line 210 "parse.y" +#line 210 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 31: -#line 214 "parse.y" +#line 214 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 32: -#line 218 "parse.y" +#line 218 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 33: -#line 222 "parse.y" +#line 222 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[-2]; yyvsp[-1]->n_x.v_subs[1]=yyvsp[0]; yyval = yyvsp[-1]; } break; case 34: -#line 226 "parse.y" +#line 226 "y-src/parse.y" { if(yyvsp[0]->comp_value==CONST_FLT) { yyvsp[0]->n_x.v_float= -(yyvsp[0]->n_x.v_float); @@ -1362,48 +1362,48 @@ case 34: } } break; case 35: -#line 241 "parse.y" +#line 241 "y-src/parse.y" { yyvsp[-1]->n_x.v_subs[0]=yyvsp[0]; yyvsp[-1]->n_x.v_subs[1]=(struct node *)0; yyval = yyvsp[-1]; } break; case 36: -#line 246 "parse.y" +#line 246 "y-src/parse.y" { yyval = yyvsp[-1]; } break; case 37: -#line 247 "parse.y" +#line 247 "y-src/parse.y" { if(!parse_error) parse_error=NO_CLOSE; } break; case 38: -#line 255 "parse.y" +#line 255 "y-src/parse.y" { if(!parse_error) parse_error=NO_CLOSE; } break; case 39: -#line 263 "parse.y" +#line 263 "y-src/parse.y" { yyval = make_list(yyvsp[0], 0); } break; case 40: -#line 265 "parse.y" +#line 265 "y-src/parse.y" { yyval = make_list(yyvsp[0], yyvsp[-2]); } break; case 43: -#line 273 "parse.y" +#line 273 "y-src/parse.y" { yyval=make_list(yyvsp[0], 0); } break; case 44: -#line 275 "parse.y" +#line 275 "y-src/parse.y" { yyval=make_list(yyvsp[0],yyvsp[-2]); } break; case 45: -#line 279 "parse.y" +#line 279 "y-src/parse.y" { yyval=yyvsp[0]; } break; } @@ -1639,7 +1639,7 @@ yyreturn: #endif return yyresult; } -#line 282 "parse.y" +#line 282 "y-src/parse.y" void |