diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-03-19 12:43:29 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-03-19 15:20:07 +0000 |
commit | ef2efc53fd89920a864fa076cabe03873b7f1bdc (patch) | |
tree | a52026918c28ad02384ee47ca88ecbec913e0550 /libstdc++-v3/include | |
parent | f5118546a8d0a99edb34fd672e7847370a1adae1 (diff) | |
download | gcc-ef2efc53fd89920a864fa076cabe03873b7f1bdc.zip gcc-ef2efc53fd89920a864fa076cabe03873b7f1bdc.tar.gz gcc-ef2efc53fd89920a864fa076cabe03873b7f1bdc.tar.bz2 |
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.
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/text_encoding-data.h | 3 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/unicode-data.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/text_encoding-data.h b/libstdc++-v3/include/bits/text_encoding-data.h index 81bd94e..d6c34f8 100644 --- a/libstdc++-v3/include/bits/text_encoding-data.h +++ b/libstdc++-v3/include/bits/text_encoding-data.h @@ -1,4 +1,5 @@ -// Generated by gen_text_encoding_data.py, do not edit. +// Generated by scripts/gen_text_encoding_data.py, do not edit. + // Copyright The GNU Toolchain Authors. // diff --git a/libstdc++-v3/include/bits/unicode-data.h b/libstdc++-v3/include/bits/unicode-data.h index 69b8f29..e39a6c4 100644 --- a/libstdc++-v3/include/bits/unicode-data.h +++ b/libstdc++-v3/include/bits/unicode-data.h @@ -1,4 +1,4 @@ -// Generated by contrib/unicode/gen_std_format_width.py, do not edit. +// Generated by contrib/unicode/gen_libstdcxx_unicode_data.py, do not edit. // Copyright The GNU Toolchain Authors. // |