Mercurial > hg > Members > masakoha > testcode
diff c/regexParser/bitVector.cc @ 140:84a2a5209d3a pairPro
change some variable name
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 09 Dec 2015 19:57:22 +0900 |
parents | ea2810db8d87 |
children |
line wrap: on
line diff
--- a/c/regexParser/bitVector.cc Mon Dec 07 02:20:13 2015 +0900 +++ b/c/regexParser/bitVector.cc Wed Dec 09 19:57:22 2015 +0900 @@ -2,13 +2,11 @@ #include <stdlib.h> #include <string.h> #include "bitVector.h" -const BitVectorPtr allocateBitVector(); -void bitSet(BitVectorPtr bi, int bitSetPosition); BitVectorPtr createBitVector(NodePtr n) { - BitVectorPtr nextBvl = allocateBitVector(); - bitSet(nextBvl,n->nodeNumber); - return nextBvl; + BitVectorPtr bi = allocateBitVector(); + bitSet(bi,n->nodeNumber); + return bi; } const BitVectorPtr allocateBitVector() {