Mercurial > hg > Applications > Grep
comparison regexParser/subsetConstraction.cc @ 203:e809a2dd0731
add scValue
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 26 Dec 2015 20:03:38 +0900 |
parents | 39ca25ed0607 |
children | e6e862e92fdc |
comparison
equal
deleted
inserted
replaced
202:39ca25ed0607 | 203:e809a2dd0731 |
---|---|
355 scv.stateTop = tgv.tg->stateList; | 355 scv.stateTop = tgv.tg->stateList; |
356 scv.stateEnd = scv.stateTop; | 356 scv.stateEnd = scv.stateTop; |
357 while (scv.stateEnd->next) { | 357 while (scv.stateEnd->next) { |
358 scv.stateEnd = scv.stateEnd->next; | 358 scv.stateEnd = scv.stateEnd->next; |
359 } | 359 } |
360 return; | 360 return scv; |
361 } | 361 } |
362 | 362 |
363 SCValue createState(SCValue scv,BitVector bi) { | 363 SCValue createState(SCValue scv,BitVector bi) { |
364 StatePtr s = NEW(State); | 364 StatePtr s = NEW(State); |
365 s->stateNum = ++scv.tg->totalStateCount; | 365 s->stateNum = ++scv.tg->totalStateCount; |