]> git.saurik.com Git - bison.git/blame - src/derives.h
* src/parse-gram.y: Put copyright notice inside %{ %} so it
[bison.git] / src / derives.h
CommitLineData
cc84fd5d 1/* Match rules with nonterminals for bison,
fbfa091d
PE
2
3 Copyright (C) 1984, 1989, 2000, 2001, 2002 Free Software
4 Foundation, Inc.
cc84fd5d
AD
5
6 This file is part of Bison, the GNU Compiler Compiler.
7
8 Bison is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 Bison is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with Bison; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
22
340ef489
AD
23#ifndef DERIVES_H_
24# define DERIVES_H_
25
fbfa091d
PE
26# include "gram.h"
27
bb0027a9
AD
28/* DERIVES[SYMBOL - NTOKENS] points to a vector of the rules that
29 SYMBOL derives, terminated with NULL. */
fbfa091d 30extern rule ***derives;
cc84fd5d 31
80a69750 32/* Compute DERIVES. */
cc84fd5d 33
d33cb3ae
PE
34void derives_compute (void);
35void derives_free (void);
340ef489
AD
36
37#endif /* !DERIVES_H_ */