projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make internal lookup ec function static. Reformat a little
[idzebra-moved-to-github.git]
/
dict
/
scan.c
diff --git
a/dict/scan.c
b/dict/scan.c
index
2e300b6
..
6c8704f
100644
(file)
--- a/
dict/scan.c
+++ b/
dict/scan.c
@@
-1,5
+1,5
@@
-/* $Id: scan.c,v 1.19 2005-01-15 19:38:24 adam Exp $
- Copyright (C) 1995-2005
+/* $Id: scan.c,v 1.22 2006-08-29 12:31:12 adam Exp $
+ Copyright (C) 1995-2006
Index Data ApS
This file is part of the Zebra server.
Index Data ApS
This file is part of the Zebra server.
@@
-15,9
+15,9
@@
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra. If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
*/
*/
@@
-218,7
+218,7
@@
int dict_scan (Dict dict, char *str, int *before, int *after, void *client,
yaz_log (YLOG_DEBUG, "dict_scan");
for (i = 0; str[i]; i++)
{
yaz_log (YLOG_DEBUG, "dict_scan");
for (i = 0; str[i]; i++)
{
- yaz_log (YLOG_DEBUG, " %3d %c", str[i],
+ yaz_log (YLOG_DEBUG, "start_term pos %d %3d %c", i, str[i],
(str[i] > ' ' && str[i] < 127) ? str[i] : '?');
}
if (!dict->head.root)
(str[i] > ' ' && str[i] < 127) ? str[i] : '?');
}
if (!dict->head.root)
@@
-226,3
+226,11
@@
int dict_scan (Dict dict, char *str, int *before, int *after, void *client,
return dict_scan_r (dict, dict->head.root, 0, (Dict_char *) str,
before, after, client, f);
}
return dict_scan_r (dict, dict->head.root, 0, (Dict_char *) str,
before, after, client, f);
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+