[Issue 19623] New: HERE string identifier cannot start with Unicode letter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 27 04:40:43 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19623
Issue ID: 19623
Summary: HERE string identifier cannot start with Unicode
letter
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: rejects-valid, trivial
Severity: trivial
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: Marco.Leise at gmx.de
The character c is actually not a decoded dchar, but the first byte from the
sequence. Subsequently the test for Unicode letters fails here:
https://github.com/dlang/dmd/blob/77260f78e45675bb1418feb9836ed0c6252fd1b9/src/dmd/lexer.d#L1504
So this would fail:
q"übel
übel"
--
More information about the Digitalmars-d-bugs
mailing list