Skip to content
Snippets Groups Projects
Commit 3e7338bd authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

bugfix in variable keyword

Rev: bin/mkwmml.pike:1.22
parent 2c3cdd4f
No related branches found
No related tags found
No related merge requests found
/* $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 Stdio;
import Array; import Array;
...@@ -524,6 +524,7 @@ void document(string enttype, ...@@ -524,6 +524,7 @@ void document(string enttype,
{ {
werror("%O\n",m); werror("%O\n",m);
sscanf(m->decl,"%s %s",string type,string name); sscanf(m->decl,"%s %s",string type,string name);
if (!name) name=m->decl,type="mixed";
sscanf(name,"%s=%s",name,string value); sscanf(name,"%s=%s",name,string value);
document("variable",m,prefix+name,prefix+name+".",f); document("variable",m,prefix+name,prefix+name+".",f);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment