#!/usr/bin/perl -w
######################################################################
#
# Copyright 2002-2010 by Wilson Snyder.  This program is free software; you
# can redistribute it and/or modify it under the terms of either the GNU
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
######################################################################

# DESCRIPTION: Edits yacc output to get around problem with bison on MacOS 10.4

foreach my $line (<STDIN>) {
    $line =~ s!YYSTYPE yylval;!// YYSTYPE yylval;!g;
    print "$line";
}
