printers.py (build_libstdcxx_dictionary): Fix std::_Fwd_list_iterator and std::_Fwd_l...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 9 Mar 2018 05:56:07 +0000 (05:56 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 9 Mar 2018 05:56:07 +0000 (05:56 +0000)
2018-03-09  François Dumont  <fdumont@gcc.gnu.org>

* python/libstdcxx/v6/printers.py (build_libstdcxx_dictionary):
Fix std::_Fwd_list_iterator and std::_Fwd_list_const_iterator printers
registration.

From-SVN: r258380

libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py

index ae464dd..7db7e81 100644 (file)
@@ -1,3 +1,9 @@
+2018-03-09  François Dumont  <fdumont@gcc.gnu.org>
+
+       * python/libstdcxx/v6/printers.py (build_libstdcxx_dictionary):
+       Fix std::_Fwd_list_iterator and std::_Fwd_list_const_iterator printers
+       registration.
+
 2018-03-09  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/84769
index b5f76f2..45aaa12 100644 (file)
@@ -1744,10 +1744,10 @@ def build_libstdcxx_dictionary ():
                                       StdVectorIteratorPrinter)
         libstdcxx_printer.add_version('__gnu_cxx::', '_Slist_iterator',
                                       StdSlistIteratorPrinter)
-        libstdcxx_printer.add_version('__gnu_cxx::', '_Fwd_list_iterator',
-                                      StdFwdListIteratorPrinter)
-        libstdcxx_printer.add_version('__gnu_cxx::', '_Fwd_list_const_iterator',
-                                      StdFwdListIteratorPrinter)
+        libstdcxx_printer.add_container('std::', '_Fwd_list_iterator',
+                                        StdFwdListIteratorPrinter)
+        libstdcxx_printer.add_container('std::', '_Fwd_list_const_iterator',
+                                        StdFwdListIteratorPrinter)
 
         # Debug (compiled with -D_GLIBCXX_DEBUG) printer
         # registrations.