Author: leo
Date: Thu Sep 29 08:11:13 2005
New Revision: 9275

Modified:
   trunk/runtime/parrot/library/Data/Escape.imc
   trunk/src/embed.c
Log:
really fix string.escape; add a comment WRT interpreter startup in embed.c

Modified: trunk/runtime/parrot/library/Data/Escape.imc
==============================================================================
--- trunk/runtime/parrot/library/Data/Escape.imc        (original)
+++ trunk/runtime/parrot/library/Data/Escape.imc        Thu Sep 29 08:11:13 2005
@@ -67,7 +67,7 @@ This function returns the quoted string.
     .local int mask
 
     .include 'cclass.pasm'
-    mask = .CCLASS_ALPHANUMERIC
+    mask = .CCLASS_PRINTING
 
     index = 0
     str_len = length str

Modified: trunk/src/embed.c
==============================================================================
--- trunk/src/embed.c   (original)
+++ trunk/src/embed.c   Thu Sep 29 08:11:13 2005
@@ -507,6 +507,15 @@ setup_argv(Interp *interpreter, int argc
     PMC_cont(cont)->from_ctx = interpreter->ctx;
     PMC_cont(cont)->to_ctx = interpreter->ctx;
     /*
+     * TODO replace interpreter startup with runops_args_fromc
+     * This needs the following changes:
+     * - inter_create: place a dummy Sub with offset 0 in initial 
context->current_sub
+     * - during packfile loading, if a sub is labeled SUB_FLAG_PF_MAIN, 
replace it
+     * - remove  set_current_sub
+     * - run the sub with argv, instead of runops_args
+     */
+
+    /*
      * set current subroutine
      */
     set_current_sub(interpreter);

Reply via email to