From 825c98523b8a03733579df33247ab87dae4e3408 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 1 Mar 2020 14:19:31 -0500 Subject: improved command line arguments for compiler (added -no-color) --- tests/arr/arr.toc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/arr') 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... -- cgit v1.2.3