Shebangs and line numbers

Kazuhiro Inaba Kazuhiro_member at pathlink.com
Thu Feb 23 03:22:32 PST 2006


On DMD 0.147 (both Windows and Linux version), this program

#!dmd -run
void main() { assert(false); }

signals "Error: AssertError Failure test.d(1)," since dmd just simplely
ignores the first line beginning with "#!".
But I think it is more convenient to see "test.d(2)" here.





More information about the Digitalmars-d-bugs mailing list