summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2015-06-17 15:29:19 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-06-17 15:29:19 -0700
commit7de08154a98bf63cfd9e61cc114bb28648c508da (patch)
treec8f3f906c2b7612d76eb0377629735a5af3b4f7c /spec
parent39afd1393da3b66ec9a46f53f8a726319a1089d0 (diff)
parentb295f43e3f1968e3db21c6f5127554c885d2e3b8 (diff)
downloadscala-7de08154a98bf63cfd9e61cc114bb28648c508da.tar.gz
scala-7de08154a98bf63cfd9e61cc114bb28648c508da.tar.bz2
scala-7de08154a98bf63cfd9e61cc114bb28648c508da.zip
Merge pull request #4550 from YawarRaza7349/patch-2
Fix missing quotes in EBNF of type alias
Diffstat (limited to 'spec')
-rw-r--r--spec/04-basic-declarations-and-definitions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/04-basic-declarations-and-definitions.md b/spec/04-basic-declarations-and-definitions.md
index a8fd4cb60c..8437d2ea71 100644
--- a/spec/04-basic-declarations-and-definitions.md
+++ b/spec/04-basic-declarations-and-definitions.md
@@ -298,7 +298,7 @@ the sequence of variable definitions
```ebnf
Dcl ::= ‘type’ {nl} TypeDcl
TypeDcl ::= id [TypeParamClause] [‘>:’ Type] [‘<:’ Type]
-Def ::= type {nl} TypeDef
+Def ::= ‘type’ {nl} TypeDef
TypeDef ::= id [TypeParamClause] ‘=’ Type
```