X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8cdac18a04b64376e87c716cb9c2eafd182e63ff..b97ec62368ac57b29a0ccd5fc68ba875418eb8cc:/src/blib2to3/Grammar.txt?ds=inline diff --git a/src/blib2to3/Grammar.txt b/src/blib2to3/Grammar.txt index c3001e8..600712c 100644 --- a/src/blib2to3/Grammar.txt +++ b/src/blib2to3/Grammar.txt @@ -168,8 +168,8 @@ subscript: test [':=' test] | [test] ':' [test] [sliceop] sliceop: ':' [test] exprlist: (expr|star_expr) (',' (expr|star_expr))* [','] testlist: test (',' test)* [','] -dictsetmaker: ( ((test ':' test | '**' expr) - (comp_for | (',' (test ':' test | '**' expr))* [','])) | +dictsetmaker: ( ((test ':' asexpr_test | '**' expr) + (comp_for | (',' (test ':' asexpr_test | '**' expr))* [','])) | ((test [':=' test] | star_expr) (comp_for | (',' (test [':=' test] | star_expr))* [','])) )