mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Unify all operators into std-operator.def
This removes ada-operator.def and fortran-operator.def, merging their contents into std-operator.def. Note that the comment for OP_EXTENDED0 is a bit wrong. IMO this constant could be removed, as it is only used for a single assert that does not provide much value. However, I haven't done so here. gdb/ChangeLog 2020-12-09 Tom Tromey <tromey@adacore.com> * expprint.c (op_name): Update. * expression.h (enum exp_opcode): Update. * std-operator.def: Add more opcodes. * ada-operator.def, fortran-operator.def: Remove, moving contents into std-operator.def.
This commit is contained in:
@ -61,15 +61,6 @@ enum exp_opcode : uint8_t
|
||||
|
||||
#include "std-operator.def"
|
||||
|
||||
/* First extension operator. Individual language modules define extra
|
||||
operators in *.def include files below with numbers higher than
|
||||
OP_EXTENDED0. */
|
||||
OP (OP_EXTENDED0)
|
||||
|
||||
/* Language specific operators. */
|
||||
#include "ada-operator.def"
|
||||
#include "fortran-operator.def"
|
||||
|
||||
#undef OP
|
||||
|
||||
/* Existing only to swallow the last comma (',') from last .inc file. */
|
||||
|
Reference in New Issue
Block a user