Branch: Tag:

2001-07-26

2001-07-26 11:57:35 by David Norlin <norlin@roxen.com>

Fixed [bug 1902] and [bug 1903].

Rev: lib/modules/Tools.pmod/AutoDoc.pmod/DocParser.pmod:1.39

373:    parseError("@member: expected type, got %O", arg);    // werror("%%%%%% got type == %O\n", t->xml());    parser->eat(EOF); -  return xmltag("type", t->xml()); +  return t->xml();    }       static string valueArgHandler(string keyword, string arg) { -  // werror("This is the @type arg handler "); +  // werror("This is the @value arg handler ");    .PikeParser parser = .PikeParser(arg, currentPosition);    // werror("&&& %O\n", arg);    string s = parser->parseLiteral() || parser->parseIdents();
394:    return xmltag("minvalue", xmlquote(s))    + xmltag("maxvalue", xmlquote(s2));    else -  return xmltag(dots ? "minvalue" : "value", xmlquote(s)); +  return dots ? xmltag("minvalue", xmlquote(s)) : xmlquote(s);    else    if (s2)    return xmltag("maxvalue", xmlquote(s2));