Mercurial > hg > Members > masakoha > testcode
diff regexParser/subsetConstruction.cc @ 218:d10fa72d8f31
looks like working ...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 31 Dec 2015 11:39:58 +0900 |
parents | a9e3512120e2 |
children | 4dc8d327cc7d |
line wrap: on
line diff
--- a/regexParser/subsetConstruction.cc Wed Dec 30 18:37:01 2015 +0900 +++ b/regexParser/subsetConstruction.cc Thu Dec 31 11:39:58 2015 +0900 @@ -228,7 +228,7 @@ TGValue tgvRight = tgv; if (tgvLeft.asterisk) { n->right->state = tgv.endState; - tgvRight.startState = tgvRight.asterisk; + tgvRight.startState = tgvLeft.asterisk; tgvRight = generateTransition(n->right,tgvRight,pass); tgvLeft.asterisk = tgvRight.asterisk; return tgvLeft;