From 622ffd476c21a097407f18d024bc143f42d920f5 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 12 Mar 2014 14:27:21 -0700 Subject: wip --- 03-lexical-syntax.md | 6 +++--- 1 file 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’ ``` -- cgit v1.2.3