aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r--gdb/d-lang.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c
index 95175af..4b8020e 100644
--- a/gdb/d-lang.c
+++ b/gdb/d-lang.c
@@ -128,7 +128,6 @@ enum d_primitive_types {
extern const struct language_data d_language_data =
{
- &exp_descriptor_c,
d_op_print_tab, /* Expression operators for printing. */
};
@@ -276,6 +275,11 @@ public:
const char *name_of_this () const override
{ return "this"; }
+
+ /* See language.h. */
+
+ const struct exp_descriptor *expression_ops () const override
+ { return &exp_descriptor_c; }
};
/* Single instance of the D language class. */