Skip to content

Commit

Permalink
print_int(), new external function
Browse files Browse the repository at this point in the history
  • Loading branch information
perezzini committed Dec 4, 2017
1 parent bfa12e6 commit 86f4375
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tigerseman.sml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ val tab_vars : (string, EnvEntry) Tabla = tabInserList(
("not", Func{level=topLevel(), label="not",
formals=[TInt], result=TInt, extern=true}),
("exit", Func{level=topLevel(), label="exit",
formals=[TInt], result=TUnit, extern=true}),
("print_int", Func{level=topLevel(), label="print_int",
formals=[TInt], result=TUnit, extern=true})
])

Expand Down

0 comments on commit 86f4375

Please sign in to comment.