summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-11 18:00:39 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-11 18:00:39 -0400
commit57ee07f1261684171731b231f0b6ef100420d262 (patch)
treefd57a8711d68cbf9ec0d9049dbd4aaeeffde5488 /test.toc
parent91b74e90fb1e3b59058a7dc7045795c32e53c5a5 (diff)
cleanup and varargs bugfix
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index 21cd2c0..86d3b9f 100644
--- a/test.toc
+++ b/test.toc
@@ -1,6 +1,6 @@
#include "std/io.toc";
-g ::= fn(modulator: int, x : ..) int {
+g ::= fn(modulator:: int, x : ..) int {
total := 0;
for e := x {
total += modulator * (e as int);