From cece7e36f9f54a591d61bd014e05de229b9f6294 Mon Sep 17 00:00:00 2001 From: David Hedbor <david@hedbor.org> Date: Fri, 6 Mar 1998 17:11:46 -0800 Subject: [PATCH] Fixed to work with Pike 0.6 as well... :-) Rev: src/modules/Image/mkwmml.pike:1.8 Rev: tutorial/html.pike:1.13 --- src/modules/Image/mkwmml.pike | 6 +++--- tutorial/html.pike | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/Image/mkwmml.pike b/src/modules/Image/mkwmml.pike index 0772d6f550..462870424e 100644 --- a/src/modules/Image/mkwmml.pike +++ b/src/modules/Image/mkwmml.pike @@ -1,4 +1,4 @@ -/* $Id: mkwmml.pike,v 1.7 1997/12/13 19:13:07 mirar Exp $ */ +/* $Id: mkwmml.pike,v 1.8 1998/03/07 01:11:46 neotron Exp $ */ import Stdio; import Array; @@ -315,8 +315,8 @@ void document(string enttype, { string rarg=""; f->write("<man_arguments>\n"); - - foreach (huh->args,mapping arg) + mapping arg; + foreach (huh->args, arg) { if (arg->desc) { diff --git a/tutorial/html.pike b/tutorial/html.pike index d1728bb32f..4c180858ad 100644 --- a/tutorial/html.pike +++ b/tutorial/html.pike @@ -105,7 +105,7 @@ void add_target_to_links(SGML foo, string target) } } -varargs SGML low_toc_to_wmml(SGML toc) +SGML low_toc_to_wmml(SGML|void toc) { int app; SGML ret=({}); -- GitLab