aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:12:15 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:12:15 +0000
commitc806c55a0672b52f228ce56f5bf57f065c447506 (patch)
tree1ba1bd00de1325503ac16e28493fec8e1d0ef10a /gdb/parse.c
parentfbb06eb1ba120adde645d64133f5a9bbf2d62ec7 (diff)
downloadfsf-binutils-gdb-c806c55a0672b52f228ce56f5bf57f065c447506.zip
fsf-binutils-gdb-c806c55a0672b52f228ce56f5bf57f065c447506.tar.gz
fsf-binutils-gdb-c806c55a0672b52f228ce56f5bf57f065c447506.tar.bz2
* expression.h (enum exp_opcode): Document OP_COMPLEX to take
a type parameter as expression element. * eval.c (evaluate_subexp_standard) [OP_COMPLEX]: Retrieve result type as expression element. * f-exp.y: Pass in type when buildin OP_COMPLEX expression. * parse.c (operator_length_standard): Update length of OP_COMPLEX.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index e3a62c7..2a6b8cb 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -767,7 +767,7 @@ operator_length_standard (struct expression *expr, int endpos,
break;
case OP_COMPLEX:
- oplen = 1;
+ oplen = 3;
args = 2;
break;