diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-01 14:19:31 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-01 14:19:31 -0500 |
commit | 825c98523b8a03733579df33247ab87dae4e3408 (patch) | |
tree | 00d908bd7cc0b36607cf9e97ef6062336dbb5db8 /tests/arr | |
parent | 88e7c92e76ce771e7a1efd4824060e3905194070 (diff) |
improved command line arguments for compiler (added -no-color)
Diffstat (limited to 'tests/arr')
-rw-r--r-- | tests/arr/arr.toc | 4 |
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... |