lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] svn commit: r1183778 - /incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
Date Sun, 16 Oct 2011 01:29:52 GMT
Author: marvin
Date: Sun Oct 16 01:29:52 2011
New Revision: 1183778

URL: http://svn.apache.org/viewvc?rev=1183778&view=rev
Log:
Only check if C file is up to date because Lemon doesn't regenerate the header
file unless it has to.

Modified:
    incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm

Modified: incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm?rev=1183778&r1=1183777&r2=1183778&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm Sun Oct
16 01:29:52 2011
@@ -106,7 +106,7 @@ sub ACTION_parsers {
         my $h_file = $y_file;
         $c_file =~ s/\.y$/.c/ or die "no match";
         $h_file =~ s/\.y$/.h/ or die "no match";
-        next if $self->up_to_date( $y_file, [ $c_file, $h_file ] );
+        next if $self->up_to_date( $y_file, $c_file );
         $self->add_to_cleanup( $c_file, $h_file );
         system( $LEMON_EXE_PATH, '-q', $y_file ) and die "lemon failed";
     }



Mime
View raw message