diff options
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index a6d9575..0defac0f 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -535,6 +535,8 @@ length_of_subexp (expr, endpos) break; case TERNOP_COND: + case TERNOP_SLICE: + case TERNOP_SLICE_COUNT: args = 3; break; @@ -677,6 +679,8 @@ prefixify_subexp (inexpr, outexpr, inend, outbeg) break; case TERNOP_COND: + case TERNOP_SLICE: + case TERNOP_SLICE_COUNT: args = 3; break; |