This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/5] Updates d_language_defn to not use macro expansion
- From: Tom Tromey <tromey at redhat dot com>
- To: Iain Buclaw <ibuclaw at gdcproject dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 09 Jan 2014 11:15:10 -0700
- Subject: Re: [PATCH 2/5] Updates d_language_defn to not use macro expansion
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+cJ34G1FA240ZdV8xNsn0fqGezDNcu0aY5k7KZ8=X6_jA at mail dot gmail dot com>
>>>>> "Iain" == Iain Buclaw <ibuclaw@gdcproject.org> writes:
Iain> D doesn't have macros, so it makes little sense to use macro_expansion_c.
Iain> 2014-01-09 Iain Buclaw <ibuclaw@gdcproject.org>
Iain> * d-lang.c (d_language_defn): Change macro_expansion_c to
Iain> macro_expansion_no.
Iain> @@ -259,8 +259,8 @@ static const struct language_defn d_language_defn =
Iain> c_value_print, /* Print a top-level value. */
Iain> default_read_var_value, /* la_read_var_value */
Iain> NULL, /* Language specific skip_trampoline. */
Iain> - "this",
Iain> - basic_lookup_symbol_nonlocal,
Iain> + "this", /* name_of_this */
Iain> + basic_lookup_symbol_nonlocal,
Iain> basic_lookup_transparent_type,
Iain> d_demangle, /* Language specific symbol demangler. */
Iain> NULL, /* Language specific
Spurious change.
This patch is ok with this removed.
Tom