Bug 19623 – HERE string identifier cannot start with Unicode letter

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-27T04:40:43Z
Last change time
2022-11-07T22:57:32Z
Keywords
pull, rejects-valid, trivial
Assigned to
No Owner
Creator
Marco Leise

Comments

Comment #0 by Marco.Leise — 2019-01-27T04:40:43Z
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"
Comment #1 by dlang-bot — 2022-11-06T16:30:20Z
@dkorpel created dlang/dmd pull request #14625 "Fix 19623 - HERE string identifier cannot start with Unicode letter" fixing this issue: - Fix 19623 - HERE string identifier cannot start with Unicode letter https://github.com/dlang/dmd/pull/14625
Comment #2 by dlang-bot — 2022-11-07T22:57:32Z
dlang/dmd pull request #14625 "Fix 19623 - HERE string identifier cannot start with Unicode letter" was merged into master: - c0403e605bee1cfcba4ba31c2f06f2b77fc769d9 by Dennis Korpel: Fix 19623 - HERE string identifier cannot start with Unicode letter https://github.com/dlang/dmd/pull/14625