Tweak previous change.
[bpt/emacs.git] / lib-src / etags.c
CommitLineData
76a91ae2 1/* Tags file maker to go with GNU Emacs -*- coding: latin-1 -*-
3b7ad313 2
b7e1b21b 3Copyright (C) 1984 The Regents of the University of California
c6d46f5f 4
b7e1b21b
GM
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions are
7met:
81. Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
102. Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in the
12 documentation and/or other materials provided with the
13 distribution.
143. Neither the name of the University nor the names of its
15 contributors may be used to endorse or promote products derived
16 from this software without specific prior written permission.
c6d46f5f 17
b7e1b21b
GM
18THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
22BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
25BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
27OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
28IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30
31Copyright (C) 1984, 1987, 1988, 1989, 1993, 1994, 1995, 1998, 1999,
32 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
33 Free Software Foundation, Inc.
34
35This file is not considered part of GNU Emacs.
36
37This program is free software; you can redistribute it and/or modify
38it under the terms of the GNU General Public License as published by
39the Free Software Foundation; either version 2 of the License, or
40(at your option) any later version.
41
42This program is distributed in the hope that it will be useful,
43but WITHOUT ANY WARRANTY; without even the implied warranty of
44MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45GNU General Public License for more details.
46
47You should have received a copy of the GNU General Public License
48along with this program; if not, write to the Free Software Foundation,
49Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
50
51
52/* NB To comply with the above BSD license, copyright information is
53reproduced in etc/ETAGS.README. That file should be updated when the
54above notices are.
55
56To the best of our knowledge, this code was originally based on the
57ctags.c distributed with BSD4.2, which was copyrighted by the
58University of California, as described above. */
c6d46f5f 59
c6d46f5f
JB
60
61/*
62 * Authors:
63 * Ctags originally by Ken Arnold.
6dd5561c 64 * Fortran added by Jim Kleckner.
c6d46f5f
JB
65 * Ed Pelegri-Llopart added C typedefs.
66 * Gnu Emacs TAGS format and modifications by RMS?
b28e26be 67 * 1989 Sam Kendall added C++.
eaaacacd
FP
68 * 1992 Joseph B. Wells improved C and C++ parsing.
69