X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2Flookgrep.c;h=23369702f7a18c7cb1ddbe0a7ba13025a6a57463;hb=65615b66e805376b23f24a51e7d048f4f58e6525;hp=e9623a7f35af80950245e2e0cb6a4217efec0503;hpb=65752ce7054586c724bd1e972a290594eeae85d0;p=idzebra-moved-to-github.git diff --git a/dict/lookgrep.c b/dict/lookgrep.c index e9623a7..2336970 100644 --- a/dict/lookgrep.c +++ b/dict/lookgrep.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: lookgrep.c,v $ - * Revision 1.12 1995-12-11 09:04:48 adam + * Revision 1.13 1996-01-08 09:09:30 adam + * Function dfa_parse got 'const' string argument. + * + * Revision 1.12 1995/12/11 09:04:48 adam * Bug fix: the lookup/scan/lookgrep didn't handle empty dictionary. * * Revision 1.11 1995/12/06 14:43:02 adam @@ -371,7 +374,7 @@ int dict_lookup_grep (Dict dict, Dict_char *pattern, int range, void *client, { MatchWord *Rj; Dict_char prefix[MAX_LENGTH+1]; - char *this_pattern = pattern; + const char *this_pattern = pattern; MatchContext *mc; struct DFA *dfa = dfa_init(); int i, d;