summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Barclay <dbarclay@savi.com>2016-10-03 13:25:01 -0400
committerDaniel Barclay <dbarclay@savi.com>2016-10-03 13:25:01 -0400
commiteaa425a29be45199f7790c10d2fe79e5f5043cef (patch)
tree77db711d1ff6f31a48021c92405d6c26e610047a
parentdef0abcfd92b5c6bdcf67aceee729f13a46e101d (diff)
downloadscala-eaa425a29be45199f7790c10d2fe79e5f5043cef.tar.gz
scala-eaa425a29be45199f7790c10d2fe79e5f5043cef.tar.bz2
scala-eaa425a29be45199f7790c10d2fe79e5f5043cef.zip
Fixed some ‘...‘ (two open quotes) to ‘...’ (open vs. close quotes) in ENBF.
-rw-r--r--spec/13-syntax-summary.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/13-syntax-summary.md b/spec/13-syntax-summary.md
index bc5b029c4d..dd042824f4 100644
--- a/spec/13-syntax-summary.md
+++ b/spec/13-syntax-summary.md
@@ -11,7 +11,7 @@ The following descriptions of Scala tokens uses literal characters `‘c’` whe
_Unicode escapes_ are used to represent the Unicode character with the given hexadecimal code:
```ebnf
-UnicodeEscape ::= ‘\‘ ‘u‘ {‘u‘} hexDigit hexDigit hexDigit hexDigit
+UnicodeEscape ::= ‘\’ ‘u’ {‘u’} hexDigit hexDigit hexDigit hexDigit
hexDigit ::= ‘0’ | … | ‘9’ | ‘A’ | … | ‘F’ | ‘a’ | … | ‘f’
```
@@ -30,7 +30,7 @@ delim ::= ‘`’ | ‘'’ | ‘"’ | ‘.’ | ‘;’ | ‘,’
opchar ::= // printableChar not matched by (whiteSpace | upper | lower |
// letter | digit | paren | delim | opchar | Unicode_Sm | Unicode_So)
printableChar ::= // all characters in [\u0020, \u007F] inclusive
-charEscapeSeq ::= ‘\‘ (‘b‘ | ‘t‘ | ‘n‘ | ‘f‘ | ‘r‘ | ‘"‘ | ‘'‘ | ‘\‘)
+charEscapeSeq ::= ‘\’ (‘b’ | ‘t’ | ‘n’ | ‘f’ | ‘r’ | ‘"’ | ‘'’ | ‘\’)
op ::= opchar {opchar}
varid ::= lower idrest