Branch: Tag:

2000-02-08

2000-02-08 00:37:46 by Martin Stjernholm <mast@lysator.liu.se>

Look for a *_flags identifier accompanying the simpletag functions in
query_simple_tag_callers().

Rev: server/base_server/module.pike:1.76

1: - /* $Id: module.pike,v 1.75 2000/02/06 11:48:54 nilsson Exp $ */ + /* $Id: module.pike,v 1.76 2000/02/08 00:37:46 mast Exp $ */   #include <module.h>   #include <request_trace.h>   
637:    mapping m = ([]);    foreach(glob("simpletag_*", indices(this_object())), string q)    if(functionp(this_object()[q])) -  m[replace(q[10..],"_","-")] = ({ 0, this_object()[q] }); +  m[replace(q[10..],"_","-")] = +  ({ intp (this_object()[q + "_flags"]) && this_object()[q + "_flags"], +  this_object()[q] });    return m;   }