www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15277] New: unable to compile .d flies with numbers at the

https://issues.dlang.org/show_bug.cgi?id=15277

          Issue ID: 15277
           Summary: unable to compile .d flies with numbers at the
                    beginning of the name
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: steven_kladitis yahoo.com

any .d file with a number in the beginning of the name will not compile with
dmd.

filename -> 1.d
or       -> 1a1aa1.d
-----
void main () {}

--------------------
if I rename with a leading letter dmd seems to like it.
I see
1.d: Error: module 1 has non-identifier characters in filename, use module
declaration instead.


this is dmd 2.069 rc2
I am looking to see if imports have this problem also.

--
Nov 02 2015