OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [ylwrap] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
#! /bin/sh
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
# ylwrap - wrapper for lex/yacc invocations.
 
 
scriptversion=2005-05-14.22
scriptversion=2009-04-28.21; # UTC
 
 
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
#   Free Software Foundation, Inc.
# 2007, 2009 Free Software Foundation, Inc.
#
#
# Written by Tom Tromey .
# Written by Tom Tromey .
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
Line 17... Line 17...
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# along with this program.  If not, see .
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
# 02110-1301, USA.
 
 
 
# As a special exception to the GNU General Public License, if you
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# the same distribution terms that you use for the rest of that program.
Line 99... Line 97...
esac
esac
 
 
# FIXME: add hostname here for parallel makes that run commands on
# FIXME: add hostname here for parallel makes that run commands on
# other machines.  But that might take us over the 14-char limit.
# other machines.  But that might take us over the 14-char limit.
dirname=ylwrap$$
dirname=ylwrap$$
trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
mkdir $dirname || exit 1
mkdir $dirname || exit 1
 
 
cd $dirname
cd $dirname
 
 
case $# in
case $# in
  0) $prog "$input" ;;
  0) "$prog" "$input" ;;
  *) $prog "$@" "$input" ;;
  *) "$prog" "$@" "$input" ;;
esac
esac
ret=$?
ret=$?
 
 
if test $ret -eq 0; then
if test $ret -eq 0; then
  set X $pairlist
  set X $pairlist
Line 217... Line 215...
# mode: shell-script
# mode: shell-script
# sh-indentation: 2
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# time-stamp-time-zone: "UTC"
 
# time-stamp-end: "; # UTC"
# End:
# End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.