aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos_db.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-13 11:10:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-13 11:10:27 +0000
commit26a93b19ed081622643e47785d2ba7810a015efc (patch)
treec41300d6ea4daf7a1ac68e335f9bbe97bd276bf8 /apropos_db.h
parent58b2b9f4741e56383779973cc412ca087987b114 (diff)
downloadmandoc-26a93b19ed081622643e47785d2ba7810a015efc.tar.gz
mandoc-26a93b19ed081622643e47785d2ba7810a015efc.tar.zst
mandoc-26a93b19ed081622643e47785d2ba7810a015efc.zip
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apropos_db.h b/apropos_db.h
index 7801b126..a30cbedb 100644
--- a/apropos_db.h
+++ b/apropos_db.h
@@ -1,4 +1,4 @@
-/* $Id: apropos_db.h,v 1.2 2011/11/13 10:49:57 schwarze Exp $ */
+/* $Id: apropos_db.h,v 1.3 2011/11/13 11:10:27 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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