From 5871f0a38dd0f2403765e60d7b00f511fcc4a6cc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2021 07:27:57 -0700 Subject: Remove now-unused Modula-2 evaluator code Now that the Modula-2 parser has switched to the new style, there is no need for the old Modula-2 evaluation code. gdb/ChangeLog 2021-03-08 Tom Tromey * m2-lang.h (class m2_language) : Remove. * m2-lang.c (evaluate_subexp_modula2) (m2_language::exp_descriptor_modula2): Remove. --- gdb/m2-lang.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gdb/m2-lang.h') diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h index 650942b..2094142 100644 --- a/gdb/m2-lang.h +++ b/gdb/m2-lang.h @@ -150,19 +150,10 @@ public: /* See language.h. */ - const struct exp_descriptor *expression_ops () const override - { return &exp_descriptor_modula2; } - - /* See language.h. */ - const struct op_print *opcode_print_table () const override { return op_print_tab; } private: - /* Table of expression handling functions for use by EXPRESSION_OPS - member function. */ - static const struct exp_descriptor exp_descriptor_modula2; - /* Table of opcode data for use by OPCODE_PRINT_TABLE member function. */ static const struct op_print op_print_tab[]; }; -- cgit v1.1