Bug 427 – source files starting with a number are accepted by dmd

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-10-11T15:35:00Z
Last change time
2014-02-15T13:21:02Z
Keywords
accepts-invalid
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-10-11T15:35:21Z
sample: dmd 2.d cause: module.c:575: if (*p != '_' && !isalnum(*p))
Comment #1 by thomas-dloop — 2006-10-12T10:15:56Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] schrieb am 2006-10-11: > http://d.puremagic.com/issues/show_bug.cgi?id=427 > sample: > dmd 2.d > > cause: > module.c:575: if (*p != '_' && !isalnum(*p)) Added to DStress as http://dstress.kuehne.cn/nocompile/1_source.html http://dstress.kuehne.cn/nocompile/2_source.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFLmEJLK5blCcjpWoRAmZNAJoD5N25EHIy2JaDdn7P8aU7El8dzACeLl2P /miLieYxshfzDIB8A9BwaRQ= =zuNI -----END PGP SIGNATURE-----
Comment #2 by bugzilla — 2006-10-18T13:29:18Z
Fixed DMD 0.170