Mercurial > emacs
changeset 43759:492830d6693c
(put_entries): Use #if !CTAGS, to fix link error on
compilers that don't optimize out dead code.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 06 Mar 2002 23:14:29 +0000 |
parents | 300d944f45f6 |
children | 0d2e63aa9d91 |
files | lib-src/etags.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Wed Mar 06 21:57:10 2002 +0000 +++ b/lib-src/etags.c Wed Mar 06 23:14:29 2002 +0000 @@ -1895,7 +1895,7 @@ put_entries (np->left); /* Output this entry */ - if (!CTAGS) +#if !CTAGS { /* Etags mode */ if (file != np->file @@ -1918,7 +1918,7 @@ else fprintf (tagf, "%ld\n", np->cno); } - else +#else { /* Ctags mode */ if (np->name == NULL) @@ -1957,7 +1957,7 @@ putc ('\n', tagf); } } - +#endif /* Output subentries that follow this one */ put_entries (np->right);