Author: paultcochrane
Date: Sat Jan 6 14:00:42 2007
New Revision: 16446
Modified:
trunk/ (props changed)
trunk/lib/Parrot/Distribution.pm
Log:
[lib] Removed grep to remove yacc/lex generated files from C language file
list
Modified: trunk/lib/Parrot/Distribution.pm
==============================================================================
--- trunk/lib/Parrot/Distribution.pm (original)
+++ trunk/lib/Parrot/Distribution.pm Sat Jan 6 14:00:42 2007
@@ -469,7 +469,7 @@
sub get_c_language_files {
my $self = shift;
- my @c_language_files = (
+ return (
$self->c_source_files,
$self->c_header_files,
$self->pmc_source_files,
@@ -479,9 +479,6 @@
$self->ops_source_files,
);
- return grep $_->path !~ m{ \b (cola|imc)(parser|lexer)\.[hc] $ }x,
- @c_language_files;
-
# XXX: lex_source_files() collects lisp files as well... how to fix ???
#grep( $_->{PATH} !~ m{ \b imc(parser|lexer)\.[hc] $ }x,