summaryrefslogtreecommitdiff
path: root/devel/p5-ParseLex/files/patch-lib-Parse-Template.pm
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-08-21 10:59:35 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-08-21 10:59:35 +0000
commit57a3e704b38590181a7c921e6fe39110c60ee9ab (patch)
tree07622e33fd27879a2e54677cc933571619fbe38a /devel/p5-ParseLex/files/patch-lib-Parse-Template.pm
parentUpdated to 1.07 (diff)
The Parse::Lex.pm module for perl5 is an object-oriented generator of
lexical analyzers. PR: ports/62936 Submitted by: Jim Pirzyk <pirzyk@uiuc.edu>
Notes
Notes: svn path=/head/; revision=116905
Diffstat (limited to 'devel/p5-ParseLex/files/patch-lib-Parse-Template.pm')
-rw-r--r--devel/p5-ParseLex/files/patch-lib-Parse-Template.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/p5-ParseLex/files/patch-lib-Parse-Template.pm b/devel/p5-ParseLex/files/patch-lib-Parse-Template.pm
new file mode 100644
index 000000000000..4fa68fea4bc1
--- /dev/null
+++ b/devel/p5-ParseLex/files/patch-lib-Parse-Template.pm
@@ -0,0 +1,17 @@
+--- lib/Parse/Template.pm.orig Thu Sep 23 12:16:28 1999
++++ lib/Parse/Template.pm Fri Aug 20 16:03:23 2004
+@@ -1,4 +1,4 @@
+-use strict
++use strict;
+ require 5.004;
+ package Parse::Template;
+ $Parse::Template::VERSION = '0.32';
+@@ -132,7 +132,7 @@
+ }
+ # evaluated expressions are not always available in (caller(1))[6];
+ if (defined($1) and $1 ne '') {
+- $expr = $1; # what is the template expression?
++ my $expr = $1; # what is the template expression?
+ { package DB; # what is the part name?
+ @DB::caller = caller(2); # why is this needed? /ee?
+ @DB::caller = caller(1);