mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(braced_code, current_braced_code): Remove.
(token_name): New decl.
This commit is contained in:
15
src/reader.h
15
src/reader.h
@@ -1,4 +1,5 @@
|
|||||||
/* Input parser for bison
|
/* Input parser for Bison
|
||||||
|
|
||||||
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
@@ -48,17 +49,7 @@ YY_DECL;
|
|||||||
/* From the parser. */
|
/* From the parser. */
|
||||||
extern int gram_debug;
|
extern int gram_debug;
|
||||||
int gram_parse (void);
|
int gram_parse (void);
|
||||||
|
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;
|
|
||||||
|
|
||||||
|
|
||||||
/* From reader.c. */
|
/* From reader.c. */
|
||||||
|
|||||||
Reference in New Issue
Block a user