www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23870] New: ImportC doesn't accept '\' followed by newline,

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

          Issue ID: 23870
           Summary: ImportC doesn't accept '\' followed by newline,
                    whereas VC does
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Keywords: ImportC
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: maxsamukha gmail.com

void HRESULT_FROM_SETUPAPI(void) { \
}

windows.c(3): Error: character '\' is not a valid token

--
Apr 30 2023