Commit ea702d7d authored by Pekka Pessi's avatar Pekka Pessi

su_taglist.c: if tag class does not support scanning, t_scan returns -2.

darcs-hash:20060825114510-65a35-371eba1a6cd55adfff700cf504774c42f12ac9e2.gz
parent e890d8f4
......@@ -752,9 +752,10 @@ int t_scan(tag_type_t tt, su_home_t *home, char const *s,
if (tt->tt_class->tc_scan) {
return tt->tt_class->tc_scan(tt, home, s, return_value);
} else {
}
else { /* Not implemented */
*return_value = (tag_value_t)0;
return 0;
return -2;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment