diff options
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r-- | gdb/p-lang.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c index 5c1b273..ce812d1 100644 --- a/gdb/p-lang.c +++ b/gdb/p-lang.c @@ -393,7 +393,6 @@ extern const struct language_data pascal_language_data = macro_expansion_no, p_extensions, &exp_descriptor_standard, - pascal_parse, null_post_parser, pascal_printchar, /* Print a character constant */ pascal_printstr, /* Function to print string constant */ @@ -492,6 +491,13 @@ public: { return pascal_value_print_inner (val, stream, recurse, options); } + + /* See language.h. */ + + int parser (struct parser_state *ps) const override + { + return pascal_parse (ps); + } }; /* Single instance of the Pascal language class. */ |