From e1e948c76eb5817bac9e6e4dbbc30fe62e010f62 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 13 Nov 2011 11:10:27 +0000 Subject: Rewrite the expression parser for a more concise syntax: apropos [search_type[,...]=]substring apropos search_type[,...][,i]~regex ... and expression evaluation must take the search type into account. This allows to: * drop the global -I option and * drop the enum match, just using a boolean int. "go ahead" kristaps@ --- apropos_db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apropos_db.h') diff --git a/apropos_db.h b/apropos_db.h index 135f6793..6cc14d57 100644 --- a/apropos_db.h +++ b/apropos_db.h @@ -49,7 +49,7 @@ void apropos_search(const struct opts *, const struct expr *, void *, void (*)(struct rec *, size_t, void *)); -struct expr *exprcomp(int, char *[], int); +struct expr *exprcomp(int, char *[]); void exprfree(struct expr *); __END_DECLS -- cgit