]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix Python scripts to output the correct filename
authorJonathan Wakely <jwakely@redhat.com>
Tue, 19 Mar 2024 12:43:29 +0000 (12:43 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 19 Mar 2024 15:20:07 +0000 (15:20 +0000)
commitef2efc53fd89920a864fa076cabe03873b7f1bdc
treea52026918c28ad02384ee47ca88ecbec913e0550
parentf5118546a8d0a99edb34fd672e7847370a1adae1
libstdc++: Fix Python scripts to output the correct filename

These scripts both print "generated by $file, do not edit" header but
one of them prints the wrong filename. Use the built-in __file__
attribute to ensure it's correct.

contrib/ChangeLog:

* unicode/gen_libstdcxx_unicode_data.py: Fix header of generated
file to name the correct script.

libstdc++-v3/ChangeLog:

* include/bits/text_encoding-data.h: Regenerate.
* include/bits/unicode-data.h: Regenerate.
* scripts/gen_text_encoding_data.py: Fix header of generated
file to name the correct script.
contrib/unicode/gen_libstdcxx_unicode_data.py
libstdc++-v3/include/bits/text_encoding-data.h
libstdc++-v3/include/bits/unicode-data.h
libstdc++-v3/scripts/gen_text_encoding_data.py
This page took 0.055982 seconds and 5 git commands to generate.