From 48fa6f23ec1aaf2ad031673f4c98adb6d411f043 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: [PATCH] Remove OP_UNUSED_LAST OP_UNUSED_LAST is no longer needed with C++ -- the trailing comma is fine. gdb/ChangeLog 2021-03-08 Tom Tromey * expression.h (enum exp_opcode) : Remove. --- gdb/ChangeLog | 4 ++++ gdb/expression.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 451f27b8a07..82b2c45ea53 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2021-03-08 Tom Tromey + + * expression.h (enum exp_opcode) : Remove. + 2021-03-08 Tom Tromey * std-operator.def (OP_EXTENDED0): Remove. diff --git a/gdb/expression.h b/gdb/expression.h index 31482be11c9..eae986af747 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.30.2