]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: Add correct copyright dates to output of gen-cxxapi-file.py
authorJonathan Wakely <jwakely@redhat.com>
Tue, 27 Aug 2024 11:17:03 +0000 (12:17 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 27 Aug 2024 11:18:21 +0000 (12:18 +0100)
This ensures the generated output says something like 2022-2024 rather
than just 2024.

gcc/cp/ChangeLog:

* gen-cxxapi-file.py: Fix copyright dates in generated output.

gcc/cp/gen-cxxapi-file.py

index 31ed5b16ce4545314ea72fa664814ba041220990..6d08f46069bb5fdfab48c4389ef66dc2796ead66 100644 (file)
@@ -95,7 +95,7 @@ def hints(script, content):
 %struct-type
 %{{
 /* This file is auto-generated by {:s}.  */
-/* Copyright (C) {:s} Free Software Foundation, Inc.
+/* Copyright (C) 2022-{:s} Free Software Foundation, Inc.
 
 This file is part of GCC.