From 1cce79c818f00a74a8838e06bfea03330683a96a Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 12 Oct 2004 15:46:17 +0000 Subject: [PATCH] Add coment to generated files to say that they are generated, reported by "Gisle Vanem" . --- lib/gen-unicode-tables.pl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/gen-unicode-tables.pl b/lib/gen-unicode-tables.pl index 5e600ba..ae0624c 100755 --- a/lib/gen-unicode-tables.pl +++ b/lib/gen-unicode-tables.pl @@ -1,5 +1,6 @@ #! /usr/bin/perl -w +# Copyright (C) 2004 Simon Josefsson # Copyright (C) 1998, 1999 Tom Tromey # Copyright (C) 2001 Red Hat Software @@ -809,7 +810,9 @@ sub print_decomp open (OUT, "> $outfile") || exit 1; - print OUT "/* This file is automatically generated. DO NOT EDIT! */\n\n"; + print OUT "/* This file is automatically generated. DO NOT EDIT!\n"; + print OUT " Instead, edit gen-unicode-tables.pl and re-run. */\n\n"; + print OUT "#ifndef DECOMP_H\n"; print OUT "#define DECOMP_H\n\n"; @@ -1172,7 +1175,10 @@ sub output_composition_table my %vals; open OUT, ">gunicomp.h" or die "Cannot open gunicomp.h: $!\n"; - + + print OUT "/* This file is automatically generated. DO NOT EDIT!\n"; + print OUT " Instead, edit gen-unicode-tables.pl and re-run. */\n\n"; + # Assign values in lookup table for all code points involved my $total = 1; -- 2.11.4.GIT