(braced_code, current_braced_code): Remove.

(token_name): New decl.
This commit is contained in:
Paul Eggert
2002-12-24 07:45:22 +00:00
parent e9ce56889c
commit ef4479de37

View File

@@ -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. */