Skip to content
Snippets Groups Projects
Commit c8b45fd2 authored by Aseem Rastogi's avatar Aseem Rastogi
Browse files

return statement at the end

parent 592d5b7f
No related branches found
No related tags found
No related merge requests found
......@@ -750,7 +750,7 @@ let o_one_program ((globals, main):global list * codegen_stmt) (ofname:string) :
in
let file = seq (seq main_prelude (seq main_body main_end)) (o_codegen_stmt g out_files_close_stmt |> fst) in
let file = seq file (o_str "\n}\n") in
let file = seq file (o_str "\nreturn 0;\n}\n") in
let b = Buffer.create 0 in
file b;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment