summaryrefslogtreecommitdiff
path: root/tests/arr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arr')
-rw-r--r--tests/arr/arr.toc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arr/arr.toc b/tests/arr/arr.toc
index a682283..eee514a 100644
--- a/tests/arr/arr.toc
+++ b/tests/arr/arr.toc
@@ -4,14 +4,14 @@ puti ::= fn(x: int) {
extern int printf(const char *fmt, ...);
#endif
");
- #C("printf(\"%ld\\n\", (long)x)");
+ #C("printf(\"%ld\\n\", (long)x);");
};
putf ::= fn(x: float) {
#C("#ifndef __TINYC__
extern int printf(const char *fmt, ...);
#endif
");
- #C("printf(\"%f\\n\", (double)x)");
+ #C("printf(\"%f\\n\", (double)x);");
};
// it would be nice if Arr.data.len == Arr.len (: but this will require some C code...