You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/10/21 04:46:45 UTC
[lucy-commits] svn commit: r1187171 -
/incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
Author: marvin
Date: Fri Oct 21 02:46:45 2011
New Revision: 1187171
URL: http://svn.apache.org/viewvc?rev=1187171&view=rev
Log:
Don't compress the Lemon "action table".
Add the -c flag to the command line invocation of lemon to suppress
compression of the action table. This seems to work around a Lemon bug,
because otherwise the content of the next commit triggers an assertion failure
within the Lemon-generated parser.
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=1187171&r1=1187170&r2=1187171&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm Fri Oct 21 02:46:45 2011
@@ -107,7 +107,7 @@ sub ACTION_parsers {
$h_file =~ s/\.y$/.h/ or die "no match";
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";
+ system( $LEMON_EXE_PATH, '-c', '-q', $y_file ) and die "lemon failed";
}
}