| 1 | /* Tags file maker to go with GNU Emacs -*- coding: latin-1 -*- |
| 2 | |
| 3 | Copyright (C) 1984 The Regents of the University of California |
| 4 | |
| 5 | Redistribution and use in source and binary forms, with or without |
| 6 | modification, are permitted provided that the following conditions are |
| 7 | met: |
| 8 | 1. Redistributions of source code must retain the above copyright |
| 9 | notice, this list of conditions and the following disclaimer. |
| 10 | 2. 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. |
| 14 | 3. 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. |
| 17 | |
| 18 | THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' |
| 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 20 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 21 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS |
| 22 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 25 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 27 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 28 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | |
| 30 | |
| 31 | Copyright (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 | |
| 35 | This file is not considered part of GNU Emacs. |
| 36 | |
| 37 | This program is free software; you can redistribute it and/or modify |
| 38 | it under the terms of the GNU General Public License as published by |
| 39 | the Free Software Foundation; either version 2 of the License, or |
| 40 | (at your option) any later version. |
| 41 | |
| 42 | This program is distributed in the hope that it will be useful, |
| 43 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 44 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 45 | GNU General Public License for more details. |
| 46 | |
| 47 | You should have received a copy of the GNU General Public License |
| 48 | along with this program; if not, write to the Free Software Foundation, |
| 49 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
| 50 | |
| 51 | |
| 52 | /* NB To comply with the above BSD license, copyright information is |
| 53 | reproduced in etc/ETAGS.README. That file should be updated when the |
| 54 | above notices are. |
| 55 | |
| 56 | To the best of our knowledge, this code was originally based on the |
| 57 | ctags.c distributed with BSD4.2, which was copyrighted by the |
| 58 | University of California, as described above. */ |
| 59 | |
| 60 | |
| 61 | /* |
| 62 | * Authors: |
| 63 | * 1983 Ctags originally by Ken Arnold. |
| 64 | * 1984 Fortran added by Jim Kleckner. |
| 65 | * 1984 Ed Pelegri-Llopart added C typedefs. |
| 66 | * 1985 Emacs TAGS format by Richard Stallman. |
| 67 | * 1989 Sam Kendall added C++. |
| 68 | * 1992 Joseph B. Wells improved C and C++ parsing. |
| 69 |