summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-08 16:17:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-08 16:17:32 +0000
commit4d6b4052f6d8ee82bf0dff017df8eaa089f29e9f (patch)
tree1335ca3f1cbd363bfd41d9a99f7cc1075b3049b2 /makedef.pl
parent1d59c5938585e57d4e63102254ee53b59b0bd9ac (diff)
downloadperl-4d6b4052f6d8ee82bf0dff017df8eaa089f29e9f.tar.gz
Integrate changes #11193, 11205, 11209 from macperl.
Fix up AutoLoader to fudge for Mac paths in import(). Allow symbols in try_symbol() to begin with "_". Small portability fix for Mac OS. p4raw-link: @11209 on //depot/maint-5.6/macperl: 6ad6b2be750c4cb30e974afa9b2e179a2f381679 p4raw-link: @11205 on //depot/maint-5.6/macperl: 85661f92e975162c5b6280ce9e0b3cd6ee7563fd p4raw-link: @11193 on //depot/maint-5.6/macperl: 87cd12a80943bf11d0d777d1855d8572168f9887 p4raw-id: //depot/perl@11219 p4raw-integrated: from //depot/maint-5.6/macperl@11217 'merge in' lib/AutoLoader.pm lib/Cwd.pm makedef.pl (@11007..)
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 12eab67d02..a1713f401b 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -749,7 +749,7 @@ else {
sub try_symbol {
my $symbol = shift;
- return if $symbol !~ /^[A-Za-z]/;
+ return if $symbol !~ /^[A-Za-z_]/;
return if $symbol =~ /^\#/;
$symbol =~s/\r//g;
chomp($symbol);