bug#18707: [PATCH] dfa: print detail of DFA states in a debug mode

2014-10-13 Thread Norihiro Tanaka
If compile grep with -DDEBUG option, it outputs tokens etc. In addition to them, DFA states and transitions are output by this patch. Debugging them, the patch will be very useful. BTW, the patch doesn't make any changes without -DDEBUG option. From 26b2316b96c0c5e5a977485ea040d58222faf465 Mon S

bug#18645: [PATCH] dfa: after search potential match at initial state, set 0 to previous state

2014-10-13 Thread Norihiro Tanaka
Jim Meyering wrote: > > Thanks, I agree to the change. Could you push it? > > Pushed. Thanks, closed.

bug#18685: [PATCH] dfa: treat a multibyte character even with constraints

2014-10-13 Thread Norihiro Tanaka
Sorry, I found and fixed a bug in a previous patch. A context should be checked for a previous wide character instead of a next after skip. From 2e384f68e0bf0ce29b8c801bc6f0479319c14678 Mon Sep 17 00:00:00 2001 From: Norihiro Tanaka Date: Sat, 11 Oct 2014 11:38:09 +0900 Subject: [PATCH] dfa: trea