Fresco/Babylon/utils UnicodePluginGenerator.pl,1.7,1.8

Tobias Hunger <[email protected]> Tue, 05 Aug 2003 11:29:32 -0500
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Babylon/utils
In directory purcel:/tmp/cvs-serv1349/Babylon/utils

Modified Files:
	UnicodePluginGenerator.pl 
Log Message:
Fix DerivedCoreProperties unit test. Now all unit tests pass!

Update the character database while we need to modify the modules anyway
and fix up some parsing problems in the perl scripts generating the
modules while doing so.


Index: UnicodePluginGenerator.pl
===================================================================
RCS file: /cvs/fresco/Fresco/Babylon/utils/UnicodePluginGenerator.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- UnicodePluginGenerator.pl	1 Aug 2003 16:47:16 -0000	1.7
+++ UnicodePluginGenerator.pl	5 Aug 2003 16:29:30 -0000	1.8
@@ -4,7 +4,8 @@
 use UnicodePluginGenerator qw( Defined Category CombClass Bidir DecompClass
 			       DecompString DecDigitVal DigitVal NumericVal
 			       Mirror Upper Lower Title Linebreak EAWidth
-			       Compositions CompExclude Block Prop);
+			       Compositions CompExclude Block Prop
+			       DerivedProps);
 
 my $UCD_File     = "UnicodeData.txt";
 my $Block_File   = "Blocks.txt";
@@ -12,6 +13,7 @@
 my $LB_File      = "LineBreak.txt";
 my $Exclude_File = "CompositionExclusions.txt";
 my $Prop_File    = "PropList.txt";
+my $DerivedProp_File = "DerivedCoreProperties.txt";
 my $Prefix       = "./modules/";
 
 # make directory if it doesnt exist
@@ -54,6 +56,7 @@
 my $COMP   = UnicodePluginGenerator::Compositions->new($UCD_File); print "  ...composition excludes\n";
 my $EXCL   = UnicodePluginGenerator::CompExclude->new($Exclude_File); print "  ...props\n";
 my $PROPS  = UnicodePluginGenerator::Props->new($Prop_File); print "  ...categories\n";
+my $DE_PROPS = UnicodePluginGenerator::DerivedProps->new($DerivedProp_File); print "  ...derived core properties\n";
 my $CAT    = UnicodePluginGenerator::Category->new($UCD_File); print "  ...defines\n";
 my $DEF    = UnicodePluginGenerator::Defined->new($UCD_File); print "  ...combining classes\n";
 my $CCLASS = UnicodePluginGenerator::CombClass->new($UCD_File); print "  ...bidir properties\n";
@@ -70,7 +73,7 @@
 my $LB     = UnicodePluginGenerator::Linebreak->new($LB_File); print "  ...EA width properties\n";
 my $EA     = UnicodePluginGenerator::EAWidth->new($EA_File);
 
-my @MODULES = ( $DEF, $UPPER, $LOWER, $TITLE, $DDVAL, $DVAL, $NVAL, $CAT, $CCLASS, $BIDIR, $DCLASS, $DSTR, $MIRROR, $LB, $EA, $COMP, $EXCL, $PROPS );
+my @MODULES = ( $DEF, $UPPER, $LOWER, $TITLE, $DDVAL, $DVAL, $NVAL, $CAT, $CCLASS, $BIDIR, $DCLASS, $DSTR, $MIRROR, $LB, $EA, $COMP, $EXCL, $PROPS, $DE_PROPS);
 
 print "Creating plugins...\n";