diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-11-13 11:10:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-11-13 11:10:27 +0000 |
commit | e1e948c76eb5817bac9e6e4dbbc30fe62e010f62 (patch) | |
tree | 5fac405ee4a36b94824d008fc8fb1ffc50aeca73 /apropos_db.h | |
parent | 3b6c23580b17850eb580cf7bf023bd9f04563ca0 (diff) | |
download | mandoc-e1e948c76eb5817bac9e6e4dbbc30fe62e010f62.tar.gz |
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@
Diffstat (limited to 'apropos_db.h')
-rw-r--r-- | apropos_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |