]> git.ipfire.org Git - thirdparty/gcc.git/commit
regex.tcc: Remove incorrect `nosubs` handling.
authorTim Shen <timshen91@gmail.com>
Tue, 21 Jan 2014 19:54:03 +0000 (19:54 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Tue, 21 Jan 2014 19:54:03 +0000 (19:54 +0000)
commit8f7082f5ea8da41cf909c6f06b036f01c4485b5a
treee10e5ddc41df84347c547d00a76777c63ab6e931
parent6ff956e3c2b0369d8312e9fb3f9fab0b67720b07
regex.tcc: Remove incorrect `nosubs` handling.

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

* include/bits/regex.tcc: Remove incorrect `nosubs` handling.
* include/bits/regex_scanner.tcc: Handle `nosubs` correctly.
* testsuite/28_regex/constants/syntax_option_type.cc: Add a test case.

From-SVN: r206906
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.tcc
libstdc++-v3/include/bits/regex_scanner.tcc
libstdc++-v3/testsuite/28_regex/constants/syntax_option_type.cc