Commit ed76fd1e authored by Akim Demaille's avatar Akim Demaille

bison: update to fbaf

* assignments.texi (bisonversion): here.
* Text/Shellwords.pm: Remove, no longer used.
* Makefile.am: Adjust.
* README: Update.
parent ef07bac1
......@@ -36,8 +36,7 @@ makehtml = $(MAKEINFO) --html $(AM_MAKEHTMLFLAGS)
EXTRA_DIST = \
assignments-body.css \
tiger-body.css \
Text/Shellwords.pm
tiger-body.css
## ------------- ##
## config.texi. ##
......
......@@ -3,9 +3,12 @@
This package contains the specifications of the Tiger Project as done
at EPITA, École Pour l'Informatique et les Techniques Avancées.
To work properly, you should really be on a GNU/Linux box, since we
run IA32 code generated with the ELF syntax, not the Mach-O one.
-----
Copyright (C) 2003 Akim Demaille
Copyright (C) 2003-2015 Akim Demaille
This file is part of the Tiger Project.
......
package Text::Shellwords;
# simple wrapper around perl4-based shellwords.pl
use strict;
require Exporter;
use vars qw(@ISA @EXPORT $VERSION);
@ISA = 'Exporter';
$VERSION = '1.03';
@EXPORT = qw(shellwords);
sub shellwords {
my @args = @_ ? @_
: defined $_ ? $_
: ();
return unless @args;
Text::Shellwords::Raw::shellwords(map {$_||''} @args); # prevent uninit variable warnings from shellwords.pl
}
1;
package Text::Shellwords::Raw;
require 'shellwords.pl';
__END__
=head1 NAME
Text::Shellwords
=head1 SYNOPSIS
use Text::Shellwords;
@words = shellwords($line);
@words = shellwords(@lines);
@words = shellwords();
=head1 DESCRIPTION
This is a thin wrapper around the shellwords.pl package, which comes
preinstalled with Perl. This module imports a single subroutine,
shellwords(). The shellwords() routine parses lines of text and
returns a set of tokens using the same rules that the Unix shell does
for its command-line arguments. Tokens are separated by whitespace,
and can be delimited by single or double quotes. The module also
respects backslash escapes.
If called with one or more arguments, shellwords() will treat each
argument as a line of text, parse it, and return the tokens. If
called without any arguments, shellwords() will parse B<$_> and
clobber it.
=head1 BUGS
Please report them.
=head1 SEE ALSO
L<shellwords.pl>
=head1 AUTHOR
Lincoln Stein <lstein@cshl.org>.
Copyright (c) 2001 Cold Spring Harbor Laboratory
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself. See DISCLAIMER.txt for
disclaimers of warranty.
=cut
......@@ -5,7 +5,7 @@
@settitle The Tiger Compiler Project Assignment
@c Updated when you save this file:
@set lastupdate January 9, 2015
@set lastupdate January 29, 2015
@set class 2017
@c Name of the project.
......@@ -20,7 +20,7 @@
@set libtoolversion 2.2.6
@set makeversion 3.81
@set flexversion 2.5.35
@set bisonversion 3.0.2.13-5e63
@set bisonversion 3.0.4.19-fbaf
@set monoburgversion 1.0.6a
@set doxygenversion 1.5.1
@set pythonversion 2.5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment