diff --git a/bin/mkwmml.pike b/bin/mkwmml.pike
index 35904dc9a65c2ab2207bd3ba2b8a4359ed5b8b14..e9264cd0c5a4c8330d28df2c9498076125480810 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);
       }