Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlei committed Nov 23, 2016
1 parent 65ddc1f commit 2b6913b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smop/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,13 +793,13 @@ def p_transpose_expr(p):
def p_try_catch(p):
"""
try_catch : TRY stmt_list CATCH stmt_list END_STMT
| TRY stmt_list END_STMT
"""
## | TRY stmt_list END_STMT
assert isinstance(p[2], node.stmt_list)
# assert isinstance(p[4],node.stmt_list)
p[0] = node.try_catch(
try_stmt=p[2],
catch_stmt=node.stmt_list(), # FIXME
catch_stmt=p[4],
finally_stmt=node.stmt_list())


Expand Down

0 comments on commit 2b6913b

Please sign in to comment.