Thread overview | |||||
---|---|---|---|---|---|
|
February 23, 2006 Shebangs and line numbers | ||||
---|---|---|---|---|
| ||||
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. |
February 23, 2006 Re: Shebangs and line numbers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kazuhiro Inaba | Kazuhiro Inaba wrote:
> 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.
>
>
Already reported by Thomas a few days ago. (digitalmars.D.bugs:6280)
|
February 24, 2006 Re: Shebangs and line numbers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wang Zhen | Oops, sorry for cluttering the ng. Thanks for pointing it out! In article <dtk7e0$297a$1@digitaldaemon.com>, Wang Zhen says... > >Already reported by Thomas a few days ago. (digitalmars.D.bugs:6280) |
Copyright © 1999-2021 by the D Language Foundation