Updated langref to newest grammar

This commit is contained in:
Jimmi Holst Christensen 2019-03-22 09:01:30 +01:00
parent b5cc92f163
commit 23af502d04

View File

@ -9181,7 +9181,8 @@ PrimaryExpr
/ KEYWORD_continue BreakLabel?
/ KEYWORD_resume Expr
/ KEYWORD_return Expr?
/ LabeledExpr
/ BlockLabel? LoopExpr
/ Block
/ CurlySuffixExpr
IfExpr <- IfPrefix Expr (KEYWORD_else Payload? Expr)?
@ -9196,8 +9197,6 @@ ForExpr <- ForPrefix Expr (KEYWORD_else Expr)?
WhileExpr <- WhilePrefix Expr (KEYWORD_else Payload? Expr)?
CurlySuffixExpr <- TypeExpr InitList?
InitList
<- LBRACE FieldInit (COMMA FieldInit)* COMMA? RBRACE
/ LBRACE Expr (COMMA Expr)* COMMA? RBRACE