From def83bb2ae78f12c5c9588bd6cdc639b8aaaf27e Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 6 Jan 2020 11:31:25 -0500 Subject: cleaning up; fixed a few bugs --- point.toc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'point.toc') diff --git a/point.toc b/point.toc index e37f37a..ede3c7c 100644 --- a/point.toc +++ b/point.toc @@ -4,9 +4,7 @@ pkg "point"; x, y: int; }; -#export mk_point ::= fn(x, y: int) Point { - p : Point; +#export mk_point ::= fn(x, y: int) p : Point { p.x = x; p.y = y; - p }; -- cgit v1.2.3