[PATCH 194/203] Remove OP_EXTENDED0

Tom Tromey
2021-01-01T21:49:55Z

OP_EXTENDED0 was only used for an assertion in the code to rewrite an
expression into prefix form. That code is gone, so this patch removes
the constant.

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

* std-operator.def (OP_EXTENDED0): Remove.
---
gdb/ChangeLog | 4 ++++
gdb/std-operator.def | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gdb/std-operator.def b/gdb/std-operator.def
index dbd920974da..980f9cd7850 100644
--- a/gdb/std-operator.def
+++ b/gdb/std-operator.def
@@ -326,10 +326,6 @@ OP (OP_TYPEID)
takes two expression arguments. */
OP (OP_RUST_ARRAY)

-/* First extension operator. Some language modules define extra
- operators below with numbers higher than OP_EXTENDED0. */
-OP (OP_EXTENDED0)
-
/* ================ Ada operators ================ */

/* X IN A'RANGE(N). N is an immediate operand, surrounded by
--
2.26.2