Changeset 22335 for v6

Show
Ignore:
Timestamp:
09/24/08 13:50:47 (2 months ago)
Author:
pmurias
Message:

[pugs] pugs -Bm0ld creates a simple mold frame

Location:
v6/smop
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • v6/smop/src/smop_s1p_root_namespace.c

    r22313 r22335  
    1010 
    1111void smop_s1p_root_namespace_insert(SMOP__Object* interpreter,char* name,SMOP__Object* obj) { 
    12  
    1312  SMOP__Object* cell = SMOP_DISPATCH(interpreter, 
    1413                                     SMOP_RI(SMOP__S1P__RootNamespace), 
    1514                                     SMOP__ID__postcircumfix_curly, 
    1615                                     SMOP__NATIVE__capture_create(interpreter, 
    17                                                                   SMOP__S1P__RootNamespace, 
    18                                                                   (SMOP__Object*[]) {SMOP__S1P__Str_create(name),NULL}, 
     16                                                                  SMOP_REFERENCE(interpreter,SMOP__S1P__RootNamespace), 
     17                                                                  (SMOP__Object*[]) {SMOP__NATIVE__idconst_create(name),NULL}, 
    1918                                                                  NULL)); 
    2019 
     
    3130  smop_s1p_root_namespace_insert(SMOP__GlobalInterpreter,"::Code", SMOP__S1P__Code); 
    3231  smop_s1p_root_namespace_insert(SMOP__GlobalInterpreter,"::Scalar", SMOP__S1P__Scalar); 
     32  smop_s1p_root_namespace_insert(SMOP__GlobalInterpreter,"::MoldFrame", SMOP__Mold__Frame); 
    3333} 
    3434 
  • v6/smop/test/23_mold.sm0p

    r22230 r22335  
    3939     NULL, NULL)); 
    4040 
    41   SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), 
     41  /*SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), 
    4242   SMOP__ID__loop, SMOP__NATIVE__capture_create(interpreter, 
    4343     SMOP_REFERENCE(interpreter,interpreter), 
    44      NULL, NULL)); 
     44     NULL, NULL));*/ 
    4545 
    4646