Changeset 54 for trunk/orca/util
- Timestamp:
- 02/17/06 15:30:01 (3 years ago)
- Files:
-
- 1 modified
-
trunk/orca/util/cbparse.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/util/cbparse.c
r1 r54 1 1 /*============================================================================ 2 2 ORCA - CBParser 3 Copyright (C) 2005 Karl Robillard3 Copyright (C) 2005-2006 Karl Robillard 4 4 5 5 This library is free software; you can redistribute it and/or … … 97 97 // continue; 98 98 99 if( vmatch->type == OT_LITWORD)99 if( orIs(vmatch, OT_LITWORD) ) 100 100 { 101 if( ( stream->type!= OT_WORD) ||102 ( vmatch->word.atom != stream->word.atom) )101 if( (orType(stream) != OT_WORD) || 102 (orAtom(vmatch) != orAtom(stream)) ) 103 103 break; 104 104 } 105 else if( vmatch->type == OT_WORD)105 else if( orIs(vmatch, OT_WORD) ) 106 106 { 107 107 #if 0 … … 111 111 orWordVal( vmatch, ctx, wval ); 112 112 113 if( wval->type == OT_DATATYPE)113 if( orIs(wval, OT_DATATYPE) ) 114 114 #else 115 if( vmatch->word.atom< OT_COUNT )115 if( orAtom(vmatch) < OT_COUNT ) 116 116 #endif 117 117 { 118 118 #if 0 119 int dt = wval->integer;119 int dt = orInt(wval); 120 120 #else 121 int dt = vmatch->word.atom;121 int dt = orAtom(vmatch); 122 122 #endif 123 123 if( dt == OT_NUMBER ) 124 124 { 125 if( ( stream->type!= OT_INTEGER) &&126 ( stream->type!= OT_DECIMAL) )125 if( (orType(stream) != OT_INTEGER) && 126 (orType(stream) != OT_DECIMAL) ) 127 127 break; 128 128 }
