This is the mail archive of the
gnats-cvs@sourceware.cygnus.com
mailing list for the GNATS project.
gnats/gnats ChangeLog field.h gnats.h gnatsd.h ...
- To: gnats-cvs at sourceware dot cygnus dot com
- Subject: gnats/gnats ChangeLog field.h gnats.h gnatsd.h ...
- From: bmanson at sourceware dot cygnus dot com
- Date: 29 Sep 1999 21:29:39 -0000
CVSROOT: /cvs/gnats
Module name: gnats
Changes by: bmanson@egcs.cygnus.com 99/09/29 14:29:39
Modified files:
gnats : ChangeLog field.h gnats.h gnatsd.h query-pr.c
query.c query.h
Log message:
* query.c (pr_match_field): Read in the PR if the field we're
checking doesn't appear in the index.
(parseQueryExpression): New function. Parses a query expression
into a QueryExpr.
(queryExprToString): New function. Converts a QueryExpr into
a string query expression.
* query-pr.c (long_options): Added new option "expr", which
accepts a boolean query expression; uses parseQueryExpression()
to parse the expression.
* gnats.h: Moved gnats_* variables here; they will eventually be
deleted.
* field.h (struct field_def): Rearrangement of members to
make a bit more sense.
Allows fully-parenthesized query expressions; also allows queries on
any fields, not just indexed ones.