From 06bf91843640a060c5e17072e02dc9d7deea920b Mon Sep 17 00:00:00 2001 From: hryx Date: Tue, 23 Apr 2019 21:02:10 -0700 Subject: [PATCH] Sync grammar with spec - Remove rule LabeledExpr - Add rule CurlySuffixExpr --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 95c1d2eee0..7217d4786e 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9443,8 +9443,6 @@ PrimaryExpr IfExpr <- IfPrefix Expr (KEYWORD_else Payload? Expr)? -LabeledExpr <- BlockLabel? (Block / LoopExpr) - Block <- LBRACE Statement* RBRACE LoopExpr <- KEYWORD_inline? (ForExpr / WhileExpr) @@ -9453,6 +9451,8 @@ 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