projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
381aa1c
)
B::Deparse was chocking on variable names with colons (like foo::::bar)
Rafael Garcia-Suarez [Tue, 28 Jun 2005 11:17:30 +0000 (11:17 +0000)]
p4raw-id: //depot/perl@25005
ext/B/B/Deparse.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/B/B/Deparse.pm
b/ext/B/B/Deparse.pm
index
c2a24a0
..
1f00928
100644
(file)
--- a/
ext/B/B/Deparse.pm
+++ b/
ext/B/B/Deparse.pm
@@
-1225,7
+1225,7
@@
Carp::confess() unless ref($gv) eq "B::GV";
my $name = $gv->SAFENAME;
if (($stash eq 'main' && $globalnames{$name})
or ($stash eq $self->{'curstash'} && !$globalnames{$name})
- or $name =~ /^[^A-Za-z_]/)
+ or $name =~ /^[^A-Za-z_:]/)
{
$stash = "";
} else {