[svn:parrot] r42570 - trunk/src

darbelo at svn.parrot.org darbelo at svn.parrot.org
Wed Nov 18 23:38:09 UTC 2009


Author: darbelo
Date: Wed Nov 18 23:38:06 2009
New Revision: 42570
URL: https://trac.parrot.org/parrot/changeset/42570

Log:
Use function version of STRING_is_null() in the debugger to make MSVC happy.

Modified:
   trunk/src/parrot_debugger.c

Modified: trunk/src/parrot_debugger.c
==============================================================================
--- trunk/src/parrot_debugger.c	Wed Nov 18 19:31:54 2009	(r42569)
+++ trunk/src/parrot_debugger.c	Wed Nov 18 23:38:06 2009	(r42570)
@@ -252,7 +252,7 @@
         const char source []= ".sub aux :main\nexit 0\n.end\n";
         PMC *code = Parrot_compile_string(interp, compiler, source, &errstr);
 
-        if (!STRING_IS_NULL(errstr))
+        if (!STRING_is_null(interp, errstr))
             Parrot_io_eprintf(interp, "%Ss\n", errstr);
     }
 


More information about the parrot-commits mailing list