projects
/
idzebra-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:
3f2d764
)
Preserve behavior as well..
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 20 Apr 2009 12:02:39 +0000
(14:02 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 20 Apr 2009 12:02:39 +0000
(14:02 +0200)
dfa/bset.c
patch
|
blob
|
history
diff --git
a/dfa/bset.c
b/dfa/bset.c
index
49d4212
..
701778e
100644
(file)
--- a/
dfa/bset.c
+++ b/
dfa/bset.c
@@
-258,9
+258,9
@@
void pr_charBSet (BSetHandle *sh, BSet src, void (*f) (int))
i1 = trav_BSet (sh, src, ++i);
if (i1 == i)
{
- ++i;
- while ((i1=trav_BSet (sh, src, i)) == i)
- ;
+ do
+ ++i;
+ while ((i1=trav_BSet (sh, src, i)) == i);
if (i != i0+2)
f ('-');
if (i-1 == '-')