summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/utils/h2ph.PL
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/utils/h2ph.PL')
-rw-r--r--gnu/usr.bin/perl/utils/h2ph.PL10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/perl/utils/h2ph.PL b/gnu/usr.bin/perl/utils/h2ph.PL
index c1809ecf854..fc072532016 100644
--- a/gnu/usr.bin/perl/utils/h2ph.PL
+++ b/gnu/usr.bin/perl/utils/h2ph.PL
@@ -192,11 +192,11 @@ exit $Exit;
sub expr {
while ($_ ne '') {
s/^\&//; # hack for things that take the address of
- s/^(\s+)// && do {$new .= ' '; next;};
- s/^(0x[0-9a-fA-F]+)// && do {$new .= $1; next;};
- s/^(\d+)\s*[LlUu]*// && do {$new .= $1; next;};
- s/^("(\\"|[^"])*")// && do {$new .= $1; next;};
- s/^'((\\"|[^"])*)'// && do {
+ s/^(\s+)// && do {$new .= ' '; next;};
+ s/^(0x[0-9a-fA-F]+)\s*[LlUu]*// && do {$new .= $1; next;};
+ s/^(\d+)\s*[LlUu]*// && do {$new .= $1; next;};
+ s/^("(\\"|[^"])*")// && do {$new .= $1; next;};
+ s/^'((\\"|[^"])*)'// && do {
if ($curargs{$1}) {
$new .= "ord('\$$1')";
}