Branch: Tag:

2001-06-14

2001-06-14 08:34:28 by David Norlin <norlin@roxen.com>

Commented out debug werror()'s.

Rev: lib/modules/Search.pmod/Query.pmod:1.14

84:    Search.RankingProfile defaultRanking)   {    Search.Grammar.ParseNode q = parser->parse(query); +     q = Search.Grammar.optimize(q);       if (!q) // The query was a null query
93:    if (error)    throw (error);    -  werror("Search.Query.execute:\n%s\n", q->print()); -  +     return class {    static Search.RankingProfile defaultRanking;    static Search.Database.Base db;
113:    static array(array(string)|string) words = ({ });    static array(Search.ResultSet) stack = ({ });    static void push(Search.ResultSet r) { -  werror("---PUSH\n"); +  // werror("---PUSH\n");    stack = ({ r }) + stack;    }    static Search.ResultSet pop() { -  werror("---POP\n"); +  // werror("---POP\n");    if (!sizeof(stack))    error("Very bad!");    Search.ResultSet r = stack[0];
133:    }       void exec(ParseNode q) { -  werror("EXEC %s\n", q->op); +  // werror("EXEC %s\n", q->op);    switch (q->op) {    case "and":    {