X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0c44220e216f6d253087f96341110c693d3ef2d4..673327449f86fce558adde153bb6cbe54bfebad2:/blib2to3/Grammar.txt?ds=sidebyside diff --git a/blib2to3/Grammar.txt b/blib2to3/Grammar.txt index daecb15..d90710f 100644 --- a/blib2to3/Grammar.txt +++ b/blib2to3/Grammar.txt @@ -108,7 +108,7 @@ assert_stmt: 'assert' test [',' test] compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated | async_stmt async_stmt: ASYNC (funcdef | with_stmt | for_stmt) if_stmt: 'if' namedexpr_test ':' suite ('elif' namedexpr_test ':' suite)* ['else' ':' suite] -while_stmt: 'while' test ':' suite ['else' ':' suite] +while_stmt: 'while' namedexpr_test ':' suite ['else' ':' suite] for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite] try_stmt: ('try' ':' suite ((except_clause ':' suite)+