File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
APPLIEDreference/dropped-features Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Expr ::= (Bindings | id | ‘_’) ‘=>’ Expr
1212Expr1 ::= ‘if’ ‘(’ Expr ‘)’ {nl} Expr [[semi] ‘else’ Expr]
1313 | ‘while’ ‘(’ Expr ‘)’ {nl} Expr
1414 | ‘try’ Expr [‘catch’ Expr] [‘finally’ Expr]
15- | ‘do’ Expr [semi] ‘while’ ‘(’ Expr ‘)’
1615 | ‘for’ (‘(’ Enumerators ‘)’ | ‘{’ Enumerators ‘}’) {nl} [‘yield’] Expr
1716 | ‘throw’ Expr
1817 | ‘return’ [Expr]
@@ -717,15 +716,6 @@ def whileLoop(cond: => Boolean)(body: => Unit): Unit =
717716 if (cond) { body ; whileLoop(cond)(body) } else {}
718717```
719718
720- ## Do Loop Expressions
721-
722- ``` ebnf
723- Expr1 ::= ‘do’ Expr [semi] ‘while’ ‘(’ Expr ‘)’
724- ```
725-
726- The _ do loop expression_ ` do ´e_1´ while (´e_2´) ` is typed and evaluated as if it was the expression ` (´e_1´ ; while (´e_2´) ´e_1´) ` .
727- A semicolon preceding the ` while ` symbol of a do loop expression is ignored.
728-
729719## For Comprehensions and For Loops
730720
731721``` ebnf
File renamed without changes.
You can’t perform that action at this time.
0 commit comments