Should #line create a new namespace ?

Bauss via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 24 14:56:50 PDT 2016


On Saturday, 24 September 2016 at 07:14:47 UTC, Basile B. wrote:
> When the file is specified, Shouldn't #line create a new module 
> ?
>
> ===========
> module m;
>
> int a;
>
> #line 0 "other.d"
>
> int a;
> ===========
>
> Currently this is not allowed, but what's the value added by 
> the filename then ?

Debugging in mixins is the usage of it.


More information about the Digitalmars-d mailing list