summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2016-09-18 00:31:11 -0700
committerSom Snytt <som.snytt@gmail.com>2016-11-15 13:13:07 -0800
commit10c0b39ceec845035878059aefadd8eb35485649 (patch)
tree47f144d7ac6c7d5db1930d1a84a49429918cff68 /spec
parent371bc2c7fcd128deb61e8249588138b7e2b0d2b0 (diff)
downloadscala-10c0b39ceec845035878059aefadd8eb35485649.tar.gz
scala-10c0b39ceec845035878059aefadd8eb35485649.tar.bz2
scala-10c0b39ceec845035878059aefadd8eb35485649.zip
SI-9557 Backquoted id spec
Diffstat (limited to 'spec')
-rw-r--r--spec/01-lexical-syntax.md2
-rw-r--r--spec/13-syntax-summary.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/01-lexical-syntax.md b/spec/01-lexical-syntax.md
index e4764c10dc..78f1a1a408 100644
--- a/spec/01-lexical-syntax.md
+++ b/spec/01-lexical-syntax.md
@@ -55,7 +55,7 @@ plainid ::= upper idrest
| varid
| op
id ::= plainid
- | ‘`’ stringLiteral ‘`’
+ | ‘`’ { charNoBackQuoteOrNewline | UnicodeEscape | charEscapeSeq } ‘`’
idrest ::= {letter | digit} [‘_’ op]
```
diff --git a/spec/13-syntax-summary.md b/spec/13-syntax-summary.md
index dd042824f4..be5cc1324e 100644
--- a/spec/13-syntax-summary.md
+++ b/spec/13-syntax-summary.md
@@ -38,7 +38,7 @@ plainid ::= upper idrest
| varid
| op
id ::= plainid
- | ‘`’ stringLiteral ‘`’
+ | ‘`’ { charNoBackQuoteOrNewline | UnicodeEscape | charEscapeSeq } ‘`’
idrest ::= {letter | digit} [‘_’ op]
integerLiteral ::= (decimalNumeral | hexNumeral) [‘L’ | ‘l’]