File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " ungrammar"
33description = " A DSL for describing concrete syntax trees"
4- version = " 1.15 .0"
4+ version = " 1.16 .0"
55license = " MIT OR Apache-2.0"
66repository = " https://github.com/matklad/ungrammar"
77edition = " 2018"
Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ Expr =
358358| WhileExpr
359359| YieldExpr
360360| LetExpr
361+ | UnderscoreExpr
361362
362363Literal =
363364 Attr* value:(
@@ -426,7 +427,7 @@ RecordExprFieldList =
426427 '{'
427428 Attr*
428429 fields:(RecordExprField (',' RecordExprField)* ','?)?
429- ('..' spread:Expr)?
430+ ('..' spread:Expr? )?
430431 '}'
431432
432433RecordExprField =
@@ -500,6 +501,9 @@ YieldExpr =
500501LetExpr =
501502 Attr* 'let' Pat '=' Expr
502503
504+ UnderscoreExpr =
505+ Attr* '_'
506+
503507AwaitExpr =
504508 Attr* Expr '.' 'await'
505509
You can’t perform that action at this time.
0 commit comments