mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-29 05:03:34 +08:00
py2llvm: support raise statement
This commit is contained in:
parent
ec7a92983d
commit
a8df1703fb
@ -276,3 +276,7 @@ class Visitor:
|
||||
|
||||
def _visit_stmt_Pass(self, node):
|
||||
pass
|
||||
|
||||
def _visit_stmt_Raise(self, node):
|
||||
eid = node.exc.args[0].n
|
||||
self.env.build_raise(eid, self.builder)
|
||||
|
Loading…
Reference in New Issue
Block a user