diff options
author | Martin Odersky <odersky@gmail.com> | 2015-12-19 18:15:21 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-12-19 18:15:38 +0100 |
commit | 6c335b750fb65b1a605b9c8ad3a459113ffdbabf (patch) | |
tree | 3a3bf2f9a43f27bcf759ac225ada23582d092a7f /docs/SyntaxSummary.txt | |
parent | ec54cd557f3a9f52db9e280043a5b9657ca6fc30 (diff) | |
download | dotty-6c335b750fb65b1a605b9c8ad3a459113ffdbabf.tar.gz dotty-6c335b750fb65b1a605b9c8ad3a459113ffdbabf.tar.bz2 dotty-6c335b750fb65b1a605b9c8ad3a459113ffdbabf.zip |
Fix parsing of blocks that end in an import
Diffstat (limited to 'docs/SyntaxSummary.txt')
-rw-r--r-- | docs/SyntaxSummary.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/SyntaxSummary.txt b/docs/SyntaxSummary.txt index 764275f92..11f23da94 100644 --- a/docs/SyntaxSummary.txt +++ b/docs/SyntaxSummary.txt @@ -129,7 +129,7 @@ grammar. | `_' ExprInParens ::= PostfixExpr `:' Type | Expr - BlockResult ::= (FunParams | [`implicit'] id `:' InfixType) => Block + BlockResult ::= (FunParams | [`implicit'] id `:' InfixType) `=>' Block | Expr1 Expr1 ::= `if' `(' Expr `)' {nl} Expr [[semi] else Expr] If(Parens(cond), thenp, elsep?) | `if' Expr `then' Expr [[semi] else Expr] If(cond, thenp, elsep?) |