Commit 1f0bbb05 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix typo in C generator

parent 4d4e6027
......@@ -1020,7 +1020,7 @@ def _transition(tr, **kwargs):
if tr.terminator.next_id == -1:
if tr.terminator.return_expr:
return_stmt, return_string, return_decls = expression(tr.terminator.return_expr)
stmts.extend(return_stmts)
stmts.extend(return_stmt)
decls.extend(return_decls)
stmts.append('return{};'.format(' ' + return_string if return_string else ''))
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment