From 3e7338bd09f2dcadbec99df07586469f36d5eb26 Mon Sep 17 00:00:00 2001
From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org>
Date: Fri, 11 Aug 2000 10:52:10 +0200
Subject: [PATCH] bugfix in variable keyword

Rev: bin/mkwmml.pike:1.22
---
 bin/mkwmml.pike | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/mkwmml.pike b/bin/mkwmml.pike
index 35904dc9a6..e9264cd0c5 100644
--- a/bin/mkwmml.pike
+++ b/bin/mkwmml.pike
@@ -1,4 +1,4 @@
-/* $Id: mkwmml.pike,v 1.21 2000/07/12 19:37:21 mirar Exp $ */
+/* $Id: mkwmml.pike,v 1.22 2000/08/11 08:52:10 mirar Exp $ */
 
 import Stdio;
 import Array;
@@ -524,6 +524,7 @@ void document(string enttype,
       {
 	 werror("%O\n",m);
 	 sscanf(m->decl,"%s %s",string type,string name);
+	 if (!name) name=m->decl,type="mixed";
 	 sscanf(name,"%s=%s",name,string value);
 	 document("variable",m,prefix+name,prefix+name+".",f);
       }
-- 
GitLab