aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 5ec5daa..a2a970e 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -168,9 +168,6 @@ extern const char *default_word_break_characters (void);
struct language_data
{
- /* Style of macro expansion, if any, supported by this language. */
- enum macro_expansion la_macro_expansion;
-
/* Definitions related to expression printing, prefixifying, and
dumping. */
@@ -562,6 +559,12 @@ struct language_defn : language_data
virtual enum array_ordering array_ordering () const
{ return array_row_major; }
+ /* Style of macro expansion, if any, supported by this language. The
+ default is no macro expansion. */
+
+ virtual enum macro_expansion macro_expansion () const
+ { return macro_expansion_no; }
+
protected:
/* This is the overridable part of the GET_SYMBOL_NAME_MATCHER method.