diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-12 14:58:51 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-12 14:58:51 -0700 |
commit | 1130d1016a131fc3be5358c36bf56a29bf0a2a44 (patch) | |
tree | af66c636e61e22827acb4b82030e008edac127fa /03-lexical-syntax.md | |
parent | e197cf8e72ad126d9bcdd0bb1d79b888e80cfca9 (diff) | |
download | scala-1130d1016a131fc3be5358c36bf56a29bf0a2a44.tar.gz scala-1130d1016a131fc3be5358c36bf56a29bf0a2a44.tar.bz2 scala-1130d1016a131fc3be5358c36bf56a29bf0a2a44.zip |
formatting
Diffstat (limited to '03-lexical-syntax.md')
-rw-r--r-- | 03-lexical-syntax.md | 4 |
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 `‘(’ | ‘)’ | ‘[’ | ‘]’ | ‘{’ | ‘}’ `. |