Skip to content

Commit

Permalink
Merge pull request #1722 from CyberShadow/pull-20170618-061956
Browse files Browse the repository at this point in the history
Fix Issue 17510 - How could 509 be a byte value?
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
  • Loading branch information
dlang-bot committed Jun 22, 2017
2 parents b5ae51c + 48f6e44 commit 9ca5314
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/lex.dd
Expand Up @@ -574,8 +574,10 @@ $(H4 Escape Sequences)
specified as two hexadecimal digits.$(BR)For example: $(D \xFF)
represents the character with the value 255.)
$(TROW $(D \)$(I n)$(BR)$(D \)$(I nn)$(BR)$(D \)$(I nnn), Byte value in
octal.$(BR)For example: $(D \775) represents the character with the
value 509.)
octal.$(BR)For example: $(D \101) represents the character with the
value 65 ($(D 'A')). Analogous to hexadecimal characters$(COMMA)
the largest byte value is $(D \377) (= $(D \xFF) in hexadecimal
or $(D 255) in decimal))
$(TROW $(D \u)$(I nnnn), Unicode character U+$(I nnnn)$(COMMA) where
$(I nnnn) are four hexadecimal digits.$(BR)For example$(COMMA)
$(D \u042F) represents the Unicode character Я (U+42F).)
Expand Down

0 comments on commit 9ca5314

Please sign in to comment.