diff options
author | Daniel Barclay <dbarclay@savi.com> | 2016-10-03 12:40:41 -0400 |
---|---|---|
committer | Daniel Barclay <dbarclay@savi.com> | 2016-10-03 12:40:41 -0400 |
commit | def0abcfd92b5c6bdcf67aceee729f13a46e101d (patch) | |
tree | 9cf1b1be513c00316597ec5c40fd47a755d2897b /spec/13-syntax-summary.md | |
parent | 388053544829c53c95cb6f9bf24ac366e950bac0 (diff) | |
download | scala-def0abcfd92b5c6bdcf67aceee729f13a46e101d.tar.gz scala-def0abcfd92b5c6bdcf67aceee729f13a46e101d.tar.bz2 scala-def0abcfd92b5c6bdcf67aceee729f13a46e101d.zip |
Change `...' to ‘...’ (Unicode quotes) in ENBF (per intent per README.md).
Also added a missing closing quote in SimplePattern production
involving StableId.
Diffstat (limited to 'spec/13-syntax-summary.md')
-rw-r--r-- | spec/13-syntax-summary.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/spec/13-syntax-summary.md b/spec/13-syntax-summary.md index 44c481f9f6..bc5b029c4d 100644 --- a/spec/13-syntax-summary.md +++ b/spec/13-syntax-summary.md @@ -129,18 +129,18 @@ grammar: Expr ::= (Bindings | [‘implicit’] id | ‘_’) ‘=>’ Expr | Expr1 - Expr1 ::= `if' `(' Expr `)' {nl} Expr [[semi] `else' Expr] - | `while' `(' Expr `)' {nl} Expr - | `try' (`{' Block `}' | Expr) [`catch' `{' CaseClauses `}'] [`finally' Expr] - | `do' Expr [semi] `while' `(' Expr `)' - | `for' (`(' Enumerators `)' | `{' Enumerators `}') {nl} [`yield'] Expr - | `throw' Expr - | `return' [Expr] - | [SimpleExpr `.'] id `=' Expr - | SimpleExpr1 ArgumentExprs `=' Expr + Expr1 ::= ‘if’ ‘(’ Expr ‘)’ {nl} Expr [[semi] ‘else’ Expr] + | ‘while’ ‘(’ Expr ‘)’ {nl} Expr + | ‘try’ (‘{’ Block ‘}’ | Expr) [‘catch’ ‘{’ CaseClauses ‘}’] [‘finally’ Expr] + | ‘do’ Expr [semi] ‘while’ ‘(’ Expr ‘)’ + | ‘for’ (‘(’ Enumerators ‘)’ | ‘{’ Enumerators ‘}’) {nl} [‘yield’] Expr + | ‘throw’ Expr + | ‘return’ [Expr] + | [SimpleExpr ‘.’] id ‘=’ Expr + | SimpleExpr1 ArgumentExprs ‘=’ Expr | PostfixExpr | PostfixExpr Ascription - | PostfixExpr `match' `{' CaseClauses `}' + | PostfixExpr ‘match’ ‘{’ CaseClauses ‘}’ PostfixExpr ::= InfixExpr [id [nl]] InfixExpr ::= PrefixExpr | InfixExpr id [nl] InfixExpr @@ -213,7 +213,7 @@ grammar: [[nl] ‘(’ ‘implicit’ ClassParams ‘)’] ClassParamClause ::= [nl] ‘(’ [ClassParams] ‘)’ ClassParams ::= ClassParam {‘,’ ClassParam} - ClassParam ::= {Annotation} {Modifier} [(`val' | `var')] + ClassParam ::= {Annotation} {Modifier} [(‘val’ | ‘var’)] id ‘:’ ParamType [‘=’ Expr] Bindings ::= ‘(’ Binding {‘,’ Binding} ‘)’ Binding ::= (id | ‘_’) [‘:’ Type] |