Introduce ada_binop_exp_operation

This adds class ada_binop_exp_operation, which implements BINOP_EXP
for Ada.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

	* ada-lang.c (ada_binop_exp): No longer static.
	* ada-exp.h (ada_binop_exp_operation): New typedef.
This commit is contained in:
Tom Tromey 2021-03-08 07:27:57 -07:00
parent 9e99f48f27
commit 065ec8268d
3 changed files with 12 additions and 2 deletions

View file

@ -10416,7 +10416,7 @@ ada_binop_minmax (struct type *expect_type,
/* A helper function for BINOP_EXP. */
static struct value *
struct value *
ada_binop_exp (struct type *expect_type,
struct expression *exp,
enum noside noside, enum exp_opcode op,