X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Flookgrep.c;h=d4e9873b3259fb28692d42da0c2f7c5403199a35;hb=9eab10a0c1473a3f4c81af8421d49e1c32892415;hp=3e094e1e49f6681113d3fc028109f3e7537b19f3;hpb=3d01abbe1238c82d62e4c01eb7cac760d3d53377;p=idzebra-moved-to-github.git diff --git a/dict/lookgrep.c b/dict/lookgrep.c index 3e094e1..d4e9873 100644 --- a/dict/lookgrep.c +++ b/dict/lookgrep.c @@ -1,10 +1,17 @@ /* - * Copyright (C) 1994-1996, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: lookgrep.c,v $ - * Revision 1.20 1997-10-27 14:33:03 adam + * Revision 1.22 1999-02-02 14:50:23 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.21 1998/06/24 12:16:12 adam + * Support for relations on text operands. Open range support in + * DFA module (i.e. [-j], [g-]). + * + * Revision 1.20 1997/10/27 14:33:03 adam * Moved towards generic character mapping depending on "structure" * field in abstract syntax file. Fixed a few memory leaks. Fixed * bug with negative integers when doing searches with relational @@ -419,6 +426,13 @@ int dict_lookup_grep (Dict dict, const char *pattern, int range, void *client, struct DFA *dfa = dfa_init(); int i, d; +#if 0 + debug_dfa_trav = 1; + debug_dfa_tran = 1; + debug_dfa_followpos = 1; + dfa_verbose = 1; +#endif + logf (LOG_DEBUG, "dict_lookup_grep range=%d", range); for (i = 0; pattern[i]; i++) {