Mercurial > hg > Applications > Grep
diff regexParser/test/ccMerge.cc @ 310:df27e6cab846
CharClassMerge with Word ( no match implementation )
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Feb 2016 19:23:37 +0900 |
parents | 1188debbef10 |
children |
line wrap: on
line diff
--- a/regexParser/test/ccMerge.cc Mon Feb 08 18:04:28 2016 +0900 +++ b/regexParser/test/ccMerge.cc Mon Feb 08 19:23:37 2016 +0900 @@ -24,6 +24,8 @@ NodePtr n = NULL; StatePtr s = NULL; TGValue tgv = createTGValue(); + State dummy; + tgv.tg->stateEnd = &dummy; for (int i = 1; i < argc; i++) { if (strcmp(argv[i],"-regex") == 0) { ri.ptr = (unsigned char*)argv[i+1]; i++;