Changeset 154 for trunk/orca/context.c

Show
Ignore:
Timestamp:
05/17/06 15:48:03 (3 years ago)
Author:
krobillard
Message:

Orca - Replaced atom variables with fixed atom defines.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/context.c

    r144 r154  
    2323#include "ovalue.h" 
    2424#include "internal.h" 
     25#include "orca_atoms.h" 
    2526 
    2627 
     
    321322    // Intern words. 
    322323    it = pblk->values + blkI; 
    323     orInternA( wblk, orEnv->atom_self ); 
     324    orInternA( wblk, OR_ATOM_SELF ); 
    324325    internSetWords( ctx, it, end ); 
    325326 
     
    572573            (it->type == OT_GETWORD) ) 
    573574        { 
    574             if( (orAtom(it) == orEnv->atom_func) || 
    575                 (orAtom(it) == orEnv->atom_does) ) 
     575            if( (orAtom(it) == OR_ATOM_FUNC) || 
     576                (orAtom(it) == OR_ATOM_DOES) ) 
    576577                return 1; 
    577578        }