January 16, 2022
https://issues.dlang.org/show_bug.cgi?id=22679

          Issue ID: 22679
           Summary: "Error: identifier expected following `package'" when
                    module has 'debug' in it's name
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: dlang@jarmuszz.anonaddy.com

Created attachment 1839
  --> https://issues.dlang.org/attachment.cgi?id=1839&action=edit
File which fails to compile

Hello,
Having 'debug' in the module name results in dmd (2.098.1) and ldc2 (1.28.0,
llvm-13) throwing out "Error: identifier expected following `package`" at a
line in which the module declaration is present.

I tested this on the following hardware:
Devuan linux bookworm/sid x86_64
i5-3320M (ivybridge, Litte Edian)

I attach an example file which throws said error.

Sincerely,
Mariusz Jakoniuk (jarmuszz)

--