]> git.saurik.com Git - bison.git/commitdiff
(braced_code, current_braced_code): Remove.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Dec 2002 07:45:22 +0000 (07:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Dec 2002 07:45:22 +0000 (07:45 +0000)
(token_name): New decl.

src/reader.h

index 7e7cb5f2adebaf90d7acfe82d27d3598507892d9..7a8bb705334b53baa332c3a33bb998ea329ddcb2 100644 (file)
@@ -1,4 +1,5 @@
-/* Input parser for bison
+/* Input parser for Bison
+
    Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
    Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
@@ -48,17 +49,7 @@ YY_DECL;
 /* From the parser.  */
 extern int gram_debug;
 int gram_parse (void);
 /* From the parser.  */
 extern int gram_debug;
 int gram_parse (void);
-
-/* 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;
+char const *token_name (int);
 
 
 /* From reader.c. */
 
 
 /* From reader.c. */