Introduce ternop_slice_operation
This adds class ternop_slice_operation, which implements TERNOP_SLICE. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * expop.h (class ternop_slice_operation): New. * eval.c (eval_op_ternop): No longer static.
This commit is contained in:
parent
b50db09ff9
commit
1594e0bb3d
3 changed files with 35 additions and 1 deletions
|
@ -1327,7 +1327,7 @@ eval_op_concat (struct type *expect_type, struct expression *exp,
|
|||
|
||||
/* A helper function for TERNOP_SLICE. */
|
||||
|
||||
static struct value *
|
||||
struct value *
|
||||
eval_op_ternop (struct type *expect_type, struct expression *exp,
|
||||
enum noside noside,
|
||||
struct value *array, struct value *low, struct value *upper)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue