Split out eval_op_f_cmplx
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:06 +0000 (07:28 -0700)
commit00f2db6f7d52b718d5436e76184c92006713f531
tree543efdd1d2c7df269b5a8b4fddb17e6a0b9633a6
parent93b2b5fae269c9a8e249e81d3549392c8ff70f38
Split out eval_op_f_cmplx

This splits BINOP_FORTRAN_CMPLX into a new function for future use.

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

* f-lang.c (eval_op_f_cmplx): New function.
(evaluate_subexp_f): Use it.
gdb/ChangeLog
gdb/f-lang.c