projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0650925
)
Removed a debug print I had forgotten in
author
Heikki Levanto
<heikki@indexdata.dk>
Fri, 5 May 2006 14:04:03 +0000
(14:04 +0000)
committer
Heikki Levanto
<heikki@indexdata.dk>
Fri, 5 May 2006 14:04:03 +0000
(14:04 +0000)
src/nfa.c
patch
|
blob
|
history
diff --git
a/src/nfa.c
b/src/nfa.c
index
126f940
..
90bb040
100644
(file)
--- a/
src/nfa.c
+++ b/
src/nfa.c
@@
-1,7
+1,7
@@
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
*
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: nfa.c,v 1.7 2006-05-05 14:02:27 heikki Exp $
+ * $Id: nfa.c,v 1.8 2006-05-05 14:04:03 heikki Exp $
*/
/**
*/
/**
@@
-520,7
+520,6
@@
static int range_convert (
yaz_nfa_char *cp1,*cp2;
int i;
i = yaz_nfa_get_backref(n,c->backref_no, &cp1, &cp2);
yaz_nfa_char *cp1,*cp2;
int i;
i = yaz_nfa_get_backref(n,c->backref_no, &cp1, &cp2);
- printf ("range_convert: i=%d d=%d, cp1=%p cp2=%p \n",i,c->char_diff,cp1,cp2);
if (i == 2) /* no backref, produce no output, not ok */
return 1; /* should not happen */
if (i == 1) /* no match in dfa */
if (i == 2) /* no backref, produce no output, not ok */
return 1; /* should not happen */
if (i == 1) /* no match in dfa */
@@
-528,9
+527,7
@@
static int range_convert (
while (cp2 >= cp1) {
if ((*outcharsleft)-- <= 0)
return 2;
while (cp2 >= cp1) {
if ((*outcharsleft)-- <= 0)
return 2;
- printf(" range_convert: %d '%c' -> ",*cp1,*cp1);
**outbuff=(*cp1++) + c->char_diff ;
**outbuff=(*cp1++) + c->char_diff ;
- printf("%d '%c'\n",**outbuff, **outbuff);
(*outbuff)++;
}
return 0;
(*outbuff)++;
}
return 0;