[Issue 16436] Implement pragma(switches, "")

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 28 11:44:14 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16436

--- Comment #6 from b2.temp at gmx.com ---
(In reply to Andrej Mitrovic from comment #5)
> I don't see why `rdmd` couldn't try to parse the file manually for shebangs
> and do something special on Windows. This could be an RDMD enhancement
> request.

I don't know I've never used rdmd at all. Idea is old:
https://forum.dlang.org/post/dtlb84$1ibm$1@digitaldaemon.com

Under windows this pragma could allow to execute with "open with..." directly.
(assuming -run is among the pragma args).

--


More information about the Digitalmars-d-bugs mailing list