On Monday, 1 October 2018 at 08:14:07 UTC, dokutoku wrote:
I get a compiler error when I try to put non-ASCII characters in a string literal in the inline assembler.Is this part of the specifications?
It's not clear, see https://dlang.org/spec/iasm.html#raw_data:"if an operand is a string literal, it is as if there were length operands, where length is the number of characters in the string"
db "e"; // ok db "é"; // error it seems that the second case should be accepted as db 195 db 169