From 29f319b84c97f2799dfdd52caa2383eae0877a66 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 18 Apr 2002 15:22:19 +0000 Subject: [PATCH] 2002-04-18 Pierre Muller * p-exp.y: Add precedence rule for '^' token. This removes the shift/reduce conflicts. Remove the comment concerning these shift/reduce conflicts. --- gdb/ChangeLog | 6 ++++++ gdb/p-exp.y | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 39aad843b61..c0689e5b41c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-04-18 Pierre Muller + + * p-exp.y: Add precedence rule for '^' token. + This removes the shift/reduce conflicts. + Remove the comment concerning these shift/reduce conflicts. + 2002-04-18 Elena Zannoni * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. diff --git a/gdb/p-exp.y b/gdb/p-exp.y index b0e4daa4040..b130e970e4b 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -37,8 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ too messy, particularly when such includes can be inserted at random times by the parser generator. */ -/* FIXME: there are still 21 shift/reduce conflicts - Other known bugs or limitations: +/* Known bugs or limitations: - pascal string operations are not supported at all. - there are some problems with boolean types. - Pascal type hexadecimal constants are not supported @@ -212,6 +211,7 @@ parse_number (char *, int, int, YYSTYPE *); %left '*' '/' %right UNARY INCREMENT DECREMENT %right ARROW '.' '[' '(' +%left '^' %token BLOCKNAME %type block %left COLONCOLON -- 2.30.2