diff options
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r-- | gdb/m2-lang.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c index 356ed4c..189f513 100644 --- a/gdb/m2-lang.c +++ b/gdb/m2-lang.c @@ -362,7 +362,6 @@ extern const struct language_data m2_language_data = macro_expansion_no, NULL, &exp_descriptor_modula2, - m2_parse, /* parser */ null_post_parser, m2_printchar, /* Print character constant */ m2_printstr, /* function to print string constant */ @@ -430,6 +429,13 @@ public: { return m2_value_print_inner (val, stream, recurse, options); } + + /* See language.h. */ + + int parser (struct parser_state *ps) const override + { + return m2_parse (ps); + } }; /* Single instance of the M2 language. */ |