Bug 15415 – documentation doesn't explictly specify that string literals are multi-line

Status
NEW
Severity
minor
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-12-07T04:43:32Z
Last change time
2024-12-15T15:23:04Z
Assigned to
No Owner
Creator
Pavel Vozenilek
Moved to GitHub: dlang.org#4044 →

Comments

Comment #0 by pavel_vozenilek — 2015-12-07T04:43:32Z
The documentation page http://dlang.org/spec/lex.html should say more about combination of hex strings and 'w'/'d' postfix. Do such strings get transformed from UTF8? If yes, what happens with invalid ones? If not, is there a way to write UTF8 in hex and have it transformed by the compiler w/o any runtime cost?
Comment #1 by pavel_vozenilek — 2015-12-07T05:15:24Z
Also the information on multi-line strings should be expanded. Right now they are mentioned once and only q"..." syntax seems to support them. This would be better said explicitly.
Comment #2 by b2.temp — 2020-02-20T11:26:51Z
hex strings are deprecated. only the second problem is still valid.
Comment #3 by robert.schadek — 2024-12-15T15:23:04Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/4044 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB