1 |
/* Input parser for bison |
/* Input parser for Bison |
2 |
|
|
3 |
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. |
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of Bison, the GNU Compiler Compiler. |
This file is part of Bison, the GNU Compiler Compiler. |
49 |
/* From the parser. */ |
/* From the parser. */ |
50 |
extern int gram_debug; |
extern int gram_debug; |
51 |
int gram_parse (void); |
int gram_parse (void); |
52 |
|
char const *token_name (int); |
|
/* The sort of braced code we are in. */ |
|
|
typedef enum |
|
|
{ |
|
|
action_braced_code, |
|
|
destructor_braced_code, |
|
|
printer_braced_code |
|
|
} braced_code; |
|
|
/* FIXME: This is really a dirty hack which demonstrates that we |
|
|
should probably not try to parse the actions now. */ |
|
|
extern braced_code current_braced_code; |
|
53 |
|
|
54 |
|
|
55 |
/* From reader.c. */ |
/* From reader.c. */ |