From: Jérémie Astor Date: Fri, 18 Sep 2020 07:21:54 +0000 (+0200) Subject: Fix variadic example X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7bebed626e44aebe068b2b1c2cf0593b1be7e7e3;p=gwion.git Fix variadic example --- diff --git a/docs/Reference/Functions/Variadic.mdr b/docs/Reference/Functions/Variadic.mdr index 46099fb2..b53da62f 100644 --- a/docs/Reference/Functions/Variadic.mdr +++ b/docs/Reference/Functions/Variadic.mdr @@ -9,7 +9,7 @@ Well, a function that takes a fixed number of arguments, and additionnal ones. fun void variadic_test(int i, ...) { <<< "first argument is ", i >>>; varloop vararg { - <<< "\tadditionnal argument", vararg.i >>>; + <<< "\tadditionnal argument", vararg $ int >>>; } } variadic_test(1);