[svn:parrot] r44717 - branches/pcc_hackathon_6Mar10/src/call

allison at svn.parrot.org allison at svn.parrot.org
Sat Mar 6 23:51:16 UTC 2010


Author: allison
Date: Sat Mar  6 23:51:11 2010
New Revision: 44717
URL: https://trac.parrot.org/parrot/changeset/44717

Log:
[pcc] Pick a more robust condition for the test of an empty return signature.

Modified:
   branches/pcc_hackathon_6Mar10/src/call/args.c

Modified: branches/pcc_hackathon_6Mar10/src/call/args.c
==============================================================================
--- branches/pcc_hackathon_6Mar10/src/call/args.c	Sat Mar  6 23:07:24 2010	(r44716)
+++ branches/pcc_hackathon_6Mar10/src/call/args.c	Sat Mar  6 23:51:11 2010	(r44717)
@@ -1517,7 +1517,7 @@
         (pmc_func_t)pmc_constant_from_varargs,
     };
 
-    if (strlen(signature) == 0)
+    if (strlen(signature) < 1)
         return;
 
     parse_signature_string(interp, signature, &raw_sig);


More information about the parrot-commits mailing list