summaryrefslogtreecommitdiff
path: root/03-lexical-syntax.md
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-12 14:58:51 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-12 14:58:51 -0700
commit1130d1016a131fc3be5358c36bf56a29bf0a2a44 (patch)
treeaf66c636e61e22827acb4b82030e008edac127fa /03-lexical-syntax.md
parente197cf8e72ad126d9bcdd0bb1d79b888e80cfca9 (diff)
downloadscala-1130d1016a131fc3be5358c36bf56a29bf0a2a44.tar.gz
scala-1130d1016a131fc3be5358c36bf56a29bf0a2a44.tar.bz2
scala-1130d1016a131fc3be5358c36bf56a29bf0a2a44.zip
formatting
Diffstat (limited to '03-lexical-syntax.md')
-rw-r--r--03-lexical-syntax.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/03-lexical-syntax.md b/03-lexical-syntax.md
index 3c4cca1b64..7c2ec30181 100644
--- a/03-lexical-syntax.md
+++ b/03-lexical-syntax.md
@@ -6,7 +6,7 @@ presently supported. This chapter defines the two modes of Scala's
lexical syntax, the Scala mode and the _XML_ mode. If not
otherwise mentioned, the following descriptions of Scala tokens refer
to Scala mode, and literal characters `‘c’` refer to the ASCII fragment
-`\u0000-\u007F`.
+`\u0000` – `\u007F`.
In Scala mode, _Unicode escapes_ are replaced by the corresponding
Unicode character with the given hexadecimal code.
@@ -29,7 +29,7 @@ classes (Unicode general category given in parentheses):
1. Whitespace characters. `\u0020 | \u0009 | \u000D | \u000A`.
1. Letters, which include lower case letters (`Ll`), upper case letters (`Lu`),
titlecase letters (`Lt`), other letters (`Lo`), letter numerals (`Nl`) and the
- two characters `\u0024` `‘$’` and `\u005F` `‘_’`, which both count as upper case
+ two characters `\u0024 ‘$’` and `\u005F ‘_’`, which both count as upper case
letters.
1. Digits `‘0’ | … | ‘9’`.
1. Parentheses `‘(’ | ‘)’ | ‘[’ | ‘]’ | ‘{’ | ‘}’ `.