diff options
author | soc <simon@ochsenreither.de> | 2014-11-16 15:10:03 +0100 |
---|---|---|
committer | soc <simon@ochsenreither.de> | 2014-11-16 15:10:03 +0100 |
commit | 457b73f108c3f1bd39383f0c893f319984348bd4 (patch) | |
tree | 9cdbc4360a8fa5983eeb8b76fcdbd39350a0ca6b /spec | |
parent | 459538ff3c13e6354dbf9ce2b5bc4178464dc0b5 (diff) | |
download | scala-457b73f108c3f1bd39383f0c893f319984348bd4.tar.gz scala-457b73f108c3f1bd39383f0c893f319984348bd4.tar.bz2 scala-457b73f108c3f1bd39383f0c893f319984348bd4.zip |
Add curly brace (zero-or-more) in grammar for Bindings
Missing closing curly brace as reported by Andre at https://groups.google.com/forum/#!topic/scala-language/4Zb6dc6EEFM.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/13-syntax-summary.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/13-syntax-summary.md b/spec/13-syntax-summary.md index 86efcf70a8..ae941f189e 100644 --- a/spec/13-syntax-summary.md +++ b/spec/13-syntax-summary.md @@ -210,7 +210,7 @@ grammar. ClassParams ::= ClassParam {‘,’ ClassParam} ClassParam ::= {Annotation} {Modifier} [(`val' | `var')] id ‘:’ ParamType [‘=’ Expr] - Bindings ::= ‘(’ Binding {‘,’ Binding ‘)’ + Bindings ::= ‘(’ Binding {‘,’ Binding} ‘)’ Binding ::= (id | ‘_’) [‘:’ Type] Modifier ::= LocalModifier |