Mercurial > hg > Applications > Grep
diff c/regexParser/transition.cc @ 116:66c633575b53 pairPro
remove error and warning
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Nov 2015 17:07:08 +0900 |
parents | ec485345daf9 |
children | 84a2a5209d3a |
line wrap: on
line diff
--- a/c/regexParser/transition.cc Tue Nov 24 14:38:26 2015 +0900 +++ b/c/regexParser/transition.cc Tue Nov 24 17:07:08 2015 +0900 @@ -1,3 +1,4 @@ +#include <stdlib.h> #include "transition.h" TransitionPtr createTransition(CharClass,BitVectorPtr); @@ -15,7 +16,7 @@ TransitionPtr x0 = x; for(;;) { if (x->next == NULL) { - x->next = y + x->next = y; return x0; } }