X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/38609c34559fb86f2fb827dfed929ba9c396dc6f..23d13411c85d3a8705f9507219f61eddea57a218:/src/assoc.h diff --git a/src/assoc.h b/src/assoc.h index 3168f998..44f8573b 100644 --- a/src/assoc.h +++ b/src/assoc.h @@ -1,5 +1,6 @@ /* Associativity information. - Copyright (C) 2002, 2006, 2009 Free Software Foundation, Inc. + + Copyright (C) 2002, 2006, 2008-2012 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -22,10 +23,11 @@ /* Associativity values for tokens and rules. */ typedef enum { - undef_assoc, - right_assoc, - left_assoc, - non_assoc + undef_assoc, /** Not defined. */ + right_assoc, /** %right */ + left_assoc, /** %left */ + non_assoc, /** %nonassoc */ + precedence_assoc /** %precedence */ } assoc; char const *assoc_to_string (assoc a);