[Issue 18836] New: DMD erroneously reports Warning: C preprocessor directive #Author is not supported inside a string.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun May  6 21:43:26 UTC 2018
    
    
  
https://issues.dlang.org/show_bug.cgi?id=18836
          Issue ID: 18836
           Summary: DMD erroneously reports Warning: C preprocessor
                    directive #Author is not supported inside a string.
           Product: D
           Version: D2
          Hardware: x86_64
               URL: http://dlang.org/
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: viserion.thrall at gmail.com
In DMD64 D Compiler v2.080.0 I get the following warning from dmd:
Warning: C preprocessor directive #Author is not supported
The code from the unittest:
        immutable string tocData = q{
                ## Author: Alan
                ## Description: A short description.
                ## Number: 100
                file.d
                app.d
                app.lua
        };
I'm parsing a TOC file like those used in World of Warcraft. See
https://wow.gamepedia.com/TOC_format.
Thanks!
--
    
    
More information about the Digitalmars-d-bugs
mailing list