aboutsummaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1994-09-16 07:35:27 +0000
committerPer Bothner <per@bothner.com>1994-09-16 07:35:27 +0000
commitddf54546c961930d2e4fb9c70ec2da94d82ccff4 (patch)
treeec8e2fd7e3210121fbae867355b3ec00b48f7ca2 /gdb/parser-defs.h
parent576f97700b15b15f404fee452f862b1949cb30de (diff)
downloadgdb-ddf54546c961930d2e4fb9c70ec2da94d82ccff4.zip
gdb-ddf54546c961930d2e4fb9c70ec2da94d82ccff4.tar.gz
gdb-ddf54546c961930d2e4fb9c70ec2da94d82ccff4.tar.bz2
* parser-defs.h: Add comment about unary postfix operators.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index fd03a6e..f294402 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -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;
};