www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13212] New: Windows line endings handled incorrectly by ddoc

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

          Issue ID: 13212
           Summary: Windows line endings handled incorrectly by ddoc
                    macros
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: alix.pexton gmail.com

In a file with windows line endings (CR; + LF;) a macro declaration that is
followed by a blank line will have a line ending included in its expansion.
Saving the file with single-char line endings "fixes" the expansion, as does
removing blank lines between/after macro declarations.

--
Jul 27 2014