Re: [PATCH 3/5] Add d_main_name to dlang.c

Iain Buclaw
2014-01-10T19:36:58Z

On 10 January 2014 18:57, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Iain" == Iain Buclaw <ibuclaw@gdcproject.org> writes:
>
> Iain> So would you prefer that _Dmain were used here?
>
> It's fine as-is.
>
> In that note I was actually asking about the generic problem of
> specifying demangled D names to the linespec parser. But since spaces
> don't generally appear there, there's no big issue. This is kind of
> tangential to the patch at hand, just seeing that space made me wonder.
>

Currently all demangled symbols have to be 'quoted' because they are
in the format foo.bar.baz. Incidentally, I was just looking into
writing a separate expression parser for D (d-exp.y). I don't suppose
you'd know off the bat whether - if written properly - it would be
able to handle D demangled symbols without the need to quote them?

Thanks
Iain.