[PATCH 195/203] Remove OP_UNUSED_LAST

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

OP_UNUSED_LAST is no longer needed with C++ -- the trailing comma is
fine.

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

* expression.h (enum exp_opcode) <OP_UNUSED_LAST>: Remove.
---
gdb/ChangeLog | 4 ++++
gdb/expression.h | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gdb/expression.h b/gdb/expression.h
index bca4c6d9fe2..3f0ab4ec38b 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -47,9 +47,6 @@ enum exp_opcode : uint8_t
#include "std-operator.def"

#undef OP
-
- /* Existing only to swallow the last comma (',') from last .inc file. */
- OP_UNUSED_LAST
};

/* Values of NOSIDE argument to eval_subexp. */
--
2.26.2