summaryrefslogtreecommitdiff
path: root/tests/arr
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-01 14:19:31 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-01 14:19:31 -0500
commit825c98523b8a03733579df33247ab87dae4e3408 (patch)
tree00d908bd7cc0b36607cf9e97ef6062336dbb5db8 /tests/arr
parent88e7c92e76ce771e7a1efd4824060e3905194070 (diff)
improved command line arguments for compiler (added -no-color)
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...