[Issue 19309] [Reg 2.080.0] Unicode char reference in a comment causes warning

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 06:32:17 UTC 2018


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

--- Comment #1 from Ludovit Lucenic <llucenic at gmail.com> ---
This is the code excerpt (comment):

/**
 * Grammar:
 *      source code characters are defined by the following grammar rules
 * ---
 *Character ::= LineCharacter | EndOfLineCharacter
 *
 *LineCharacter ::= Space
 *              | [#x0021-#x2027] | [#x202A-#xD7FF]
 *              | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
 *
 *
 *Space ::= #x0020 | #x0009 | #x000B | #x000C
 *
 *
 *EndOfLineCharacter ::= #x000D | #x000A | #x2028 | #x2029
 *
 *
 *EndOfLine ::= #x000D #x000A | EndOfLineCharacter | EndOfFile
 *
 *
 *EndOfFile ::= #x0000 | #x001A | < physical-end-of-file >
 * ---
 * See_also:
 *      $(D isNewline()), $(D isWhitespace())
 */

I had to remove all #s from in front of the x0000s in order to compile with
2.080.0.

--


More information about the Digitalmars-d-bugs mailing list