www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - wrong line numbers when the file starts with "#!"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# #! blah
#
# static assert(__LINE__ == 3); // fails as __LINE__ is 2
#

Added to DStress as
http://dstress.kuehne.cn/run/b/bang_02_A.d
http://dstress.kuehne.cn/run/b/bang_02_B.d
http://dstress.kuehne.cn/nocompile/b/bang_02_C.d


Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFD9Da+3w+/yD4P9tIRAs7gAJ4j2FuLyRyR+eiS+4hVthbpXjLiywCg0D+U
HRnFdPvKkKt3++8bfdDvu+0=
=kI2V
-----END PGP SIGNATURE-----
Feb 16 2006