Branch: Tag:

2002-12-07

2002-12-07 17:03:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oops, forgot robustness fix...

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

475:    parseError(sprintf("@%s with too many parameters", keyword));    for (int i = 0; i < sizeof(args); ++i)    res[attrnames[i]] = attributequote(args[i]); -  foreach(required_attributes[keyword], string attrname) { +  foreach(required_attributes[keyword]||({}), string attrname) {    if (!res[attrname]) {    parseError(sprintf("@%s lacking required parameter %s",    keyword, attrname));