bool bookmark_tree::magic_category_comparison(const astring &a, const astring &b)
{
-// FUNCDEF("magic_category_comparison");
+ FUNCDEF("magic_category_comparison");
//LOG(astring("compare: a=") + a + " b=" + b);
if (a.iequals(b)) return true;
astring a_name, a_nick;
}
LOG(astring("category name \"") + category_name
+ "\" in conflict with existing: " + catnames);
- inner_mark_tree *fake_it = NIL;
+ inner_mark_tree *fake_it = NULL_POINTER;
//hmmm: neither of these are right; they need to use a comparator that
// uses our magic comparison function.
LOG("==> failure to find a match for either category!");
deadly_error(class_name(), func, "collision resolution code failed; "
"please fix category error");
- return NIL;
+ return NULL_POINTER;
}
// now that we know these names are unique, we'll add them into the list
// so future categories can't reuse these.
void bookmark_tree::process_comment(const astring ¤t_line_in)
{
-/// FUNCDEF("process_comment");
+ FUNCDEF("process_comment");
astring current_line = current_line_in;
// output the comment as simple text.