This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc tweaks
[perl5.git]
/
toke.c
diff --git
a/toke.c
b/toke.c
index
5a9c267
..
2561451
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-6517,7
+6517,7
@@
Perl_scan_num(pTHX_ char *start)
s += 2;
}
/* check for a decimal in disguise */
- else if (s
trchr(".Ee", s[1])
)
+ else if (s
[1] == '.' || s[1] == 'e' || s[1] == 'E'
)
goto decimal;
/* so it must be octal */
else