aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.y
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-12-14 04:32:51 +0000
committerPer Bothner <per@bothner.com>1993-12-14 04:32:51 +0000
commite909f287a8340e2fe7a99f6fc1649801ec807768 (patch)
treec63edf815aaacd4fd20ca3cd370799843151bc34 /gdb/ch-exp.y
parent1400cdc51d7a0264cea808e46f22a0a35faebac9 (diff)
downloadgdb-e909f287a8340e2fe7a99f6fc1649801ec807768.zip
gdb-e909f287a8340e2fe7a99f6fc1649801ec807768.tar.gz
gdb-e909f287a8340e2fe7a99f6fc1649801ec807768.tar.bz2
Implement support for Chill POWERSETs.
* ch-exp.y (operand_2): Implement 'Element IN PowerSet'. * ch-typeprint.c (chill_type_print_base): Handle POWERSETs. * ch-valprint.c (chill_val_print): Handle TYPE_CODE_SET. * eval.c (evaluate_subexp): Implement BINOP_IN. * expression.h (enum exp_opcode): Added BINOP_IN. * gdbtypes.c (create_set_type), gdbtypes.h: New function. * stabsread.c (read_type): If 'S', create a set type. * valarith.c (value_bit_index, value_in), value.h: New functions, for indexing in SETs.
Diffstat (limited to 'gdb/ch-exp.y')
-rw-r--r--gdb/ch-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y
index 3900f77..b6be4a2 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -774,7 +774,7 @@ operand_2 : operand_3
}
| operand_2 IN operand_3
{
- $$ = 0; /* FIXME */
+ write_exp_elt_opcode (BINOP_IN);
}
;