[Issue 13512] dmd cannot compile perfectly valid code with shebang

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 22 10:50:54 PDT 2014


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

Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at erdani.com

--- Comment #11 from Andrei Alexandrescu <andrei at erdani.com> ---
Not sure what best to do about this. I'd say if #! is detected, the first line
should be just scanned through the first \n and ignored. In a way the semantics
of the shebang line is determined by the environment. Regular scanning
shouldn't be affected.

--


More information about the Digitalmars-d-bugs mailing list