Skip to content

Commit

Permalink
simplified a regex
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@34185 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
petdance committed Dec 21, 2008
1 parent de47a92 commit e94a1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parrot/Pmc2c/Method.pm
Expand Up @@ -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 '?';
Expand Down

0 comments on commit e94a1fd

Please sign in to comment.