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: Iain Buclaw <ibuclaw at gdcproject dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 9 Jan 2014 18:32:44 +0000
- 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> <871u0h9g41 dot fsf at fleche dot redhat dot com>
On 9 January 2014 18:15, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "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.
>
It was a comment found in every other language file, it was useful
when I was studying how things were set-up. Can remove it.