]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/28_regex/basic_regex/multiple_quantifiers.cc
regex_compiler.h (_Comipler<>::_M_quantifier()): Fix parse error of multiple consecut...
authorTim Shen <timshen91@gmail.com>
Sun, 19 Jan 2014 21:59:20 +0000 (21:59 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sun, 19 Jan 2014 21:59:20 +0000 (21:59 +0000)
commit053eb1f31ede72c00e8502d541a6beda5d0a9f26
treef636e0790ccdbf601305aa0cee588dcfbc4e30bc
parente2a9b2cdf0cc7a3807fcf41940d56b47c6e51e8a
regex_compiler.h (_Comipler<>::_M_quantifier()): Fix parse error of multiple consecutive quantifiers like "a**".

2014-01-19  Tim Shen  <timshen91@gmail.com>

* include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()):
Fix parse error of multiple consecutive quantifiers like "a**".
* include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()):
Likewise.
* testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New.

From-SVN: r206783
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/include/bits/regex_compiler.tcc
libstdc++-v3/testsuite/28_regex/basic_regex/multiple_quantifiers.cc [new file with mode: 0644]