Changeset 137 for trunk/orca
- Timestamp:
- 05/04/06 20:26:28 (3 years ago)
- Location:
- trunk/orca
- Files:
-
- 2 modified
-
ovalue.c (modified) (2 diffs)
-
tests/working/op_path.r (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/ovalue.c
r108 r137 2082 2082 if( end->type == OT_INTEGER ) 2083 2083 { 2084 result->series.it = orInt(end) - 1;2084 result->series.it += orInt(end) - 1; 2085 2085 } 2086 2086 else if( end->type == OT_GETWORD ) … … 2091 2091 if( val->type != OT_INTEGER ) 2092 2092 goto invalid; 2093 result->series.it = orInt(val) - 1;2093 result->series.it += orInt(val) - 1; 2094 2094 } 2095 2095 else if( end->type == OT_WORD ) -
trunk/orca/tests/working/op_path.r
r1 r137 4 4 print 4 + a/1: 7 5 5 probe a 6 7 a: ["a" 0 "b" 0] 8 it: find a "b" 9 it/2: it/2 or 3 10 print a
