Changeset 496 for trunk/orca

Show
Ignore:
Timestamp:
11/08/07 22:09:39 (13 months ago)
Author:
krobillard
Message:

Orca - bind now binds lit-words.

Location:
trunk/orca
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/context.c

    r154 r496  
    527527        if( (it->type == OT_WORD) || 
    528528            (it->type == OT_SETWORD) || 
     529            (it->type == OT_LITWORD) || 
    529530            (it->type == OT_GETWORD) ) 
    530531        { 
  • trunk/orca/tests/working/context.r

    r1 r496  
    1717print do blk/7/1 
    1818 
     19 
     20; Shows lit-words are bound to context. 
     21c: context [ 
     22    a: none 
     23    f: func [val] [set 'a val] 
     24] 
     25c/f 5 
     26print c/a