1 |
/* Allocate input grammar variables for bison, |
/* Allocate input grammar variables for bison, |
2 |
Copyright 1984, 1986, 1989, 2001 Free Software Foundation, Inc. |
Copyright 1984, 1986, 1989, 2001 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of Bison, the GNU Compiler Compiler. |
This file is part of Bison, the GNU Compiler Compiler. |
5 |
|
|
6 |
Bison is free software; you can redistribute it and/or modify |
Bison is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
Bison is distributed in the hope that it will be useful, |
Bison is distributed in the hope that it will be useful, |
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
GNU General Public License for more details. |
GNU General Public License for more details. |
15 |
|
|
16 |
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License |
17 |
along with Bison; see the file COPYING. If not, write to |
along with Bison; see the file COPYING. If not, write to |
18 |
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 |
Boston, MA 02111-1307, USA. */ |
Boston, MA 02111-1307, USA. */ |
20 |
|
|
21 |
|
|
22 |
#include "system.h" |
#include "system.h" |
23 |
#include "gram.h" |
#include "gram.h" |
24 |
#include "reader.h" |
#include "reader.h" |
25 |
|
|
|
void dummy PARAMS((void)); |
|
|
|
|
26 |
/* comments for these variables are in gram.h */ |
/* comments for these variables are in gram.h */ |
27 |
|
|
28 |
int nitems; |
int nitems; |
39 |
short *rassoc = NULL; |
short *rassoc = NULL; |
40 |
short *sassoc = NULL; |
short *sassoc = NULL; |
41 |
short *token_translations = NULL; |
short *token_translations = NULL; |
|
short *rline = NULL; |
|
42 |
|
|
43 |
int start_symbol; |
int start_symbol; |
44 |
|
|