diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:42 -0700 |
commit | 48fa6f23ec1aaf2ad031673f4c98adb6d411f043 (patch) | |
tree | f1d75323868eb32b0af19e8bf0bde69efe2ca416 | |
parent | 43f542e3211c1328050d2c4b30c094a13aba7c1e (diff) | |
download | gdb-48fa6f23ec1aaf2ad031673f4c98adb6d411f043.zip gdb-48fa6f23ec1aaf2ad031673f4c98adb6d411f043.tar.gz gdb-48fa6f23ec1aaf2ad031673f4c98adb6d411f043.tar.bz2 |
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 <tom@tromey.com>
* expression.h (enum exp_opcode) <OP_UNUSED_LAST>: Remove.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/expression.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 451f27b..82b2c45 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2021-03-08 Tom Tromey <tom@tromey.com> + * expression.h (enum exp_opcode) <OP_UNUSED_LAST>: Remove. + +2021-03-08 Tom Tromey <tom@tromey.com> + * std-operator.def (OP_EXTENDED0): Remove. 2021-03-08 Tom Tromey <tom@tromey.com> diff --git a/gdb/expression.h b/gdb/expression.h index 31482be..eae986a 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. */ |