This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/5] Updates d_language_defn to not use macro expansion


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]