summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2016-11-29 16:06:40 -0800
committerGitHub <noreply@github.com>2016-11-29 16:06:40 -0800
commit6659c3ac3d29084583c47bf9f51eb2a5f1b77308 (patch)
tree8d5d7b205cc1f699c7ba8a58ef2f4db864cb3e3d /spec
parentb02e3914b6dee6b7da1c3da1864343ccdce5ca3c (diff)
parent10c0b39ceec845035878059aefadd8eb35485649 (diff)
downloadscala-6659c3ac3d29084583c47bf9f51eb2a5f1b77308.tar.gz
scala-6659c3ac3d29084583c47bf9f51eb2a5f1b77308.tar.bz2
scala-6659c3ac3d29084583c47bf9f51eb2a5f1b77308.zip
Merge pull request #5407 from som-snytt/issue/9557
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’]