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

          Issue ID: 17782
           Summary: The identifier delimiter of a delimited string can not
                    begin with '_'
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: nmtigor.w...@googlemail.com

The following code does not compile:

@safe unittest
{
    string str = q"_DLANG
123
_DLANG";
    assert( str == "123\n" );
}

Replacing "_DLANG" with "DLANG", it then compiles.

--

Reply via email to