changeset 9470:9c3682683624 HEAD

Make unicodemap.pl give correct return code when it fails to complete, so that make will stop processing.
author J?rgen P. Tjern? <jorgen@devsoft.no>
date Sun, 08 Nov 2009 22:54:01 -0800
parents 2a6e47b50ee5
children 4e001a34078e
files src/lib/unicodemap.pl
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/unicodemap.pl	Mon Nov 09 21:04:45 2009 -0500
+++ b/src/lib/unicodemap.pl	Sun Nov 08 22:54:01 2009 -0800
@@ -33,7 +33,7 @@
       my $value = eval("0x$1");
       if ($value > 0xffff) {
 	print STDERR "Error: We've assumed decomposition codes are max. 16bit\n";
-	exit;
+	exit 1;
       }
       if ($code <= 0xffff) {
 	push @uni16_decomp_keys, $code;
@@ -46,7 +46,7 @@
       # multicharacter decomposition.
       if ($code > 0xffffffff) {
 	print STDERR "Error: We've assumed multi-decomposition key codes are max. 32bit\n";
-	exit;
+	exit 1;
       }
       
       push @multidecomp_keys, $code;
@@ -56,7 +56,7 @@
 	my $value = eval("0x$dcode");
 	if ($value > 0xffff) {
 	  print STDERR "Error: We've assumed decomposition codes are max. 16bit\n";
-	  exit;
+	  exit 1;
 	}
 	push @multidecomp_values, $value;
       }