aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ch-lang.c')
-rw-r--r--gdb/ch-lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c
index f8be814..1e681f5 100644
--- a/gdb/ch-lang.c
+++ b/gdb/ch-lang.c
@@ -272,6 +272,7 @@ static const struct op_print chill_op_print_tab[] = {
{"-", UNOP_NEG, PREC_PREFIX, 0},
{"->", UNOP_IND, PREC_SUFFIX, 1},
{"->", UNOP_ADDR, PREC_PREFIX, 0},
+ {":", BINOP_RANGE, PREC_ASSIGN, 0},
{NULL, 0, 0, 0}
};
@@ -453,6 +454,9 @@ evaluate_subexp_chill (expect_type, exp, pos, noside)
arg1 = (*exp->language_defn->evaluate_exp) (NULL_TYPE, exp, pos, noside);
return value_chill_length (arg1);
+ case BINOP_COMMA:
+ error ("',' operator used in invalid context");
+
default:
break;
}