예제 #1
0
 def stmt_list_block_new_line(s):
     """parse block of statement list"""
     return AST.Block_Stmt(s[2])
예제 #2
0
 def stmt_list_block(s):
     """parse block of statement list"""
     return AST.Block_Stmt(s[1])