diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-12 14:27:21 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-12 14:27:21 -0700 |
commit | 622ffd476c21a097407f18d024bc143f42d920f5 (patch) | |
tree | 6077f37b9f8bb28a3b146792a2e884b677a0f86a /03-lexical-syntax.md | |
parent | be3b73e4837d1dd3fc9db945118f38b6338c4f0b (diff) | |
download | scala-622ffd476c21a097407f18d024bc143f42d920f5.tar.gz scala-622ffd476c21a097407f18d024bc143f42d920f5.tar.bz2 scala-622ffd476c21a097407f18d024bc143f42d920f5.zip |
wip
Diffstat (limited to '03-lexical-syntax.md')
-rw-r--r-- | 03-lexical-syntax.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/03-lexical-syntax.md b/03-lexical-syntax.md index 8d9f7645e1..3c4cca1b64 100644 --- a/03-lexical-syntax.md +++ b/03-lexical-syntax.md @@ -5,14 +5,14 @@ Scala programs are written using the Unicode Basic Multilingual Plane 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 +to Scala mode, and literal characters `‘c’` refer to the ASCII fragment +`\u0000-\u007F`. In Scala mode, _Unicode escapes_ are replaced by the corresponding Unicode character with the given hexadecimal code. ``` -UnicodeEscape ::= ‘\‘‘u‘{‘u‘} hexDigit hexDigit hexDigit hexDigit +UnicodeEscape ::= ‘\‘ ‘u‘ {‘u‘} hexDigit hexDigit hexDigit hexDigit hexDigit ::= ‘0’ | … | ‘9’ | ‘A’ | … | ‘F’ | ‘a’ | … | ‘f’ ``` |