aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2002-04-18 15:22:19 +0000
committerPierre Muller <muller@sourceware.org>2002-04-18 15:22:19 +0000
commit29f319b84c97f2799dfdd52caa2383eae0877a66 (patch)
treea258df5fd3478d558376a96b6f8e687ea54a5255
parentebeac11a97f7cd824f5d85fa973a905968945597 (diff)
downloadgdb-29f319b84c97f2799dfdd52caa2383eae0877a66.zip
gdb-29f319b84c97f2799dfdd52caa2383eae0877a66.tar.gz
gdb-29f319b84c97f2799dfdd52caa2383eae0877a66.tar.bz2
2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
* p-exp.y: Add precedence rule for '^' token. This removes the shift/reduce conflicts. Remove the comment concerning these shift/reduce conflicts.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/p-exp.y4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 39aad84..c0689e5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * 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 <ezannoni@redhat.com>
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index b0e4daa..b130e97 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 <ssym> BLOCKNAME
%type <bval> block
%left COLONCOLON