https://issues.dlang.org/show_bug.cgi?id=13512
--- Comment #12 from Ketmar Dark <[email protected]> --- (In reply to Andrei Alexandrescu from comment #11) > 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. my attached patch does right that: it just skips shebang line if it is found and not changing other lexing code. and it mostly consists of deleted lines, so we now have less code to test! ;-) --
