diff options
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r-- | gdb/d-lang.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 5689b6c..e2765b5 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -142,7 +142,6 @@ extern const struct language_data d_language_data = macro_expansion_no, d_extensions, &exp_descriptor_c, - d_parse, null_post_parser, c_printchar, /* Print a character constant. */ c_printstr, /* Function to print string constant. */ @@ -273,6 +272,13 @@ public: { return d_lookup_symbol_nonlocal (this, name, block, domain); } + + /* See language.h. */ + + int parser (struct parser_state *ps) const override + { + return d_parse (ps); + } }; /* Single instance of the D language class. */ |