[PATCH] Remove per-language op_name functions

Tom Tromey tom@tromey.com
Mon Nov 30 08:21:38 GMT 2020


>> #include "std-operator.def"
>> +#include "ada-operator.def"
>> +#include "fortran-operator.def"
>> #undef OP

Andrew> I do wonder if we should have a single file 'all-operator.def' that
Andrew> can be included rather than having to repeatedly include all 3 like
Andrew> this.....

Andrew> .... but something for another day.

I tend to think there should be just a single .def file.
There's no particular benefit, I think, to splitting this up.

Andrew> This looks like a sensible change.

Thanks, I'm going to check it in.

Tom


More information about the Gdb-patches mailing list