[svn:parrot] r39735 - branches/tt761_keys_revamp/lib/Parrot/Pmc2c

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Jun 23 10:09:01 UTC 2009


Author: bacek
Date: Tue Jun 23 10:08:56 2009
New Revision: 39735
URL: https://trac.parrot.org/parrot/changeset/39735

Log:
[pmc2c] Fix handling trailing spaces in "void" MULTIs.

Modified:
   branches/tt761_keys_revamp/lib/Parrot/Pmc2c/Method.pm

Modified: branches/tt761_keys_revamp/lib/Parrot/Pmc2c/Method.pm
==============================================================================
--- branches/tt761_keys_revamp/lib/Parrot/Pmc2c/Method.pm	Tue Jun 23 04:52:48 2009	(r39734)
+++ branches/tt761_keys_revamp/lib/Parrot/Pmc2c/Method.pm	Tue Jun 23 10:08:56 2009	(r39735)
@@ -104,8 +104,8 @@
 
     return $1  if $char =~ /([ISP])/;
     return 'N' if $char eq 'F';
-    return 'v' if $type eq 'void';
     return 'V' if $type =~ /void\s*\*/;
+    return 'v' if $type =~ /void\s*$/;
     return 'P' if $type =~ /opcode_t\*/;
     return 'I' if $type =~ /int(val)?/i;
     return '?';


More information about the parrot-commits mailing list