* parser-defs.h: Add comment about unary postfix operators.
authorPer Bothner <per@bothner.com>
Fri, 16 Sep 1994 07:35:27 +0000 (07:35 +0000)
committerPer Bothner <per@bothner.com>
Fri, 16 Sep 1994 07:35:27 +0000 (07:35 +0000)
gdb/ChangeLog
gdb/parser-defs.h

index 27a8e6c7da5d7dcd5ecc6ae666601389816487c3..398bd4c4e46f0d4f2f17e583ab5452a30e05fc67 100644 (file)
@@ -7,7 +7,8 @@ Fri Sep 16 00:14:40 1994  Per Bothner  (bothner@kalessin.cygnus.com)
 
        * ch-exp.y:  Get rid of some extra non-terminals, and move
        their rules into primitive_value.
-       * ch-lang.c (chill_op_print_tab):  Add '->'.
+       * parser-defs.h:  Add comment about unary postfix operators.
+       * ch-lang.c (chill_op_print_tab):  Add '->', postfix and prefix.
        * expprint.c (print_subexp):  Recognize unary postfix operator.
 
 Wed Sep 14 18:27:42 1994  Jason Molenda  (crash@phydeaux.cygnus.com)
index fd03a6e0649a8b6efa9cc96175c7871b053d4a0d..f2944027aebc51f40718f3a413c9bb5a75ad8bb8 100644 (file)
@@ -180,6 +180,9 @@ struct op_print
   enum exp_opcode opcode;
   /* Precedence of operator.  These values are used only by comparisons.  */
   enum precedence precedence;
+
+  /* For a binary operator:  1 iff right associate.
+     For a unary operator:  1 iff postfix. */
   int right_assoc;
 };
 
This page took 0.029971 seconds and 4 git commands to generate.