From e94a1fd5269f00beed75812ec35e6359c4808243 Mon Sep 17 00:00:00 2001 From: petdance Date: Sun, 21 Dec 2008 05:22:34 +0000 Subject: [PATCH] simplified a regex git-svn-id: https://svn.parrot.org/parrot/trunk@34185 d31e2699-5ff4-0310-a27c-f18f2fbe73fe --- lib/Parrot/Pmc2c/Method.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Parrot/Pmc2c/Method.pm b/lib/Parrot/Pmc2c/Method.pm index cdd6947517..2cff217636 100644 --- a/lib/Parrot/Pmc2c/Method.pm +++ b/lib/Parrot/Pmc2c/Method.pm @@ -94,7 +94,7 @@ sub trans { return $1 if $char =~ /([ISP])/; return 'N' if $char eq 'F'; return 'v' if $type eq 'void'; - return 'V' if $type =~ /void\s*\*\s*/; + return 'V' if $type =~ /void\s*\*/; return 'P' if $type =~ /opcode_t\*/; return 'I' if $type =~ /int(val)?/i; return '?';