From 2b90a39b34a86978325d7bb743c128842ed439c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 2 Apr 2020 01:21:57 +0200 Subject: [PATCH] :art: Update gwion syntax (vararg.start becomes varloop) --- docs/Reference/Functions/Variadic.mdr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Reference/Functions/Variadic.mdr b/docs/Reference/Functions/Variadic.mdr index 56e7b4ab..ef997e4f 100644 --- a/docs/Reference/Functions/Variadic.mdr +++ b/docs/Reference/Functions/Variadic.mdr @@ -8,9 +8,9 @@ Well, a function that takes a fixed number of arguments, and additionnal ones. @``` variadic.gw fun void variadic_test(int i, ...) { <<< "first argument is ", i >>>; - vararg.start; - <<< "\tadditionnal argument", vararg.i >>>; - vararg.end; + varloop vararg { + <<< "\tadditionnal argument", vararg.i >>>; + } } variadic_test(1); variadic_test(1, 2); -- 2.43.0