You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2012/12/28 22:34:30 UTC

[lucy-commits] [5/12] git commit: refs/heads/master - Make CFC use Charmonizer's Strings probe.

Make CFC use Charmonizer's Strings probe.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/af810016
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/af810016
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/af810016

Branch: refs/heads/master
Commit: af8100164641de9b6fbe4be215f3d988c16d8c61
Parents: 6360a7c
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Wed Dec 26 19:29:58 2012 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Fri Dec 28 22:23:10 2012 +0100

----------------------------------------------------------------------
 clownfish/compiler/common/charmonizer.main |    1 +
 devel/bin/regen_charmonizer.pl             |    9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/af810016/clownfish/compiler/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/clownfish/compiler/common/charmonizer.main b/clownfish/compiler/common/charmonizer.main
index d9902ea..8590d1d 100644
--- a/clownfish/compiler/common/charmonizer.main
+++ b/clownfish/compiler/common/charmonizer.main
@@ -85,6 +85,7 @@ int main(int argc, char **argv) {
 
     /* Run probe modules. */
     chaz_Integers_run();
+    chaz_Strings_run();
 
     /* Clean up. */
     chaz_Probe_clean_up();

http://git-wip-us.apache.org/repos/asf/lucy/blob/af810016/devel/bin/regen_charmonizer.pl
----------------------------------------------------------------------
diff --git a/devel/bin/regen_charmonizer.pl b/devel/bin/regen_charmonizer.pl
index 05c5496..8629034 100755
--- a/devel/bin/regen_charmonizer.pl
+++ b/devel/bin/regen_charmonizer.pl
@@ -27,13 +27,14 @@ chdir catdir( $Bin, updir(), updir() );
 my $CHAZ_DIR = 'charmonizer';
 my $MELD_EXE = catfile( $CHAZ_DIR, 'buildbin', 'meld.pl' );
 
-# Clowfish compiler.
+# Clownfish compiler.
 {
-    my $main = catfile(qw( clownfish compiler common charmonizer.main ));
-    my $out  = $main;
+    my $probes = "Integers,Strings";
+    my $main   = catfile(qw( clownfish compiler common charmonizer.main ));
+    my $out    = $main;
     $out =~ s/\.main/.c/ or die "no match";
     unlink $out;
-    system( $MELD_EXE, '--probes=Integers', "--files=$main", "--out=$out" );
+    system( $MELD_EXE, "--probes=$probes", "--files=$main", "--out=$out" );
 }
 
 # Clownfish runtime.