* parser-defs.h: Add comment about unary postfix operators.

This commit is contained in:
Per Bothner 1994-09-16 07:35:27 +00:00
parent 576f97700b
commit ddf54546c9
2 changed files with 5 additions and 1 deletions

View 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)

View 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;
};