]> git.saurik.com Git - bison.git/blobdiff - src/gram.h
* acconfig.h: Remove, no longer used.
[bison.git] / src / gram.h
index 1b18232055cfec8a4385ff2c1563ec2361542aab..e270db5c7c7c6ee0cd365a467152cdd6e825faaf 100644 (file)
@@ -1,5 +1,5 @@
 /* Data definitions for internal representation of bison's input,
-   Copyright (C) 1984, 1986, 1989, 1992 Free Software Foundation, Inc.
+   Copyright 1984, 1986, 1989, 1992 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
@@ -97,10 +97,13 @@ extern int start_symbol;
 
 
 /* associativity values in elements of rassoc, sassoc.  */
+typedef enum
+{
+  right_assoc,
+  left_assoc,
+  non_assoc
+} associativity;
 
-#define RIGHT_ASSOC 1
-#define LEFT_ASSOC 2
-#define NON_ASSOC 3
 
 /* token translation table: indexed by a token number as returned by
    the user's yylex routine, it yields the internal token number used