D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 426 - source files starting with a non-ASCI letter are rejected by dmd
Summary: source files starting with a non-ASCI letter are rejected by dmd
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 normal
Assignee: Walter Bright
URL:
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2006-10-11 15:34 UTC by Thomas Kühne
Modified: 2020-08-06 05:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Thomas Kühne 2006-10-11 15:34:35 UTC
sample:
dmd ä.d
ä.d: module ä has non-identifier characters in filename, use module declaration instead

cause:
module.c:575: if (*p != '_' && !isalnum(*p))
Comment 1 Thomas Kühne 2006-10-12 10:15:58 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail@puremagic.com schrieb am 2006-10-11:
> http://d.puremagic.com/issues/show_bug.cgi?id=426

> sample:
> dmd ä.d
> ä.d: module ä has non-identifier characters in filename, use module
> declaration instead
>
> cause:
> module.c:575: if (*p != '_' && !isalnum(*p))

Added to DStress as
http://dstress.kuehne.cn/run/ä日_source.d
http://dstress.kuehne.cn/run/ö本_source.html

Thomas


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

iD8DBQFFLmO/LK5blCcjpWoRAj05AJ4wtoGBoZXsjJI2P8C4FdnITwCwCQCffl/y
gevLkP8IeOs2Bx+QwpEfOaE=
=y3YY
-----END PGP SIGNATURE-----

Comment 2 Walter Bright 2006-10-18 13:28:56 UTC
Fixed DMD 0.170
Comment 3 Dlang Bot 2020-08-06 05:25:23 UTC
dlang-community/libdparse pull request #427 "Fix 426: Storage classes for C style variadic functions" was merged into master:

- d3395cc86c3621477b09e9648ee1e9c50e1ece60 by MoonlightSentinel:
  Fix 426: Storage classes for C style variadic functions

https://github.com/dlang-community/libdparse/pull/427