Changeset 480
- Timestamp:
- 09/24/07 23:27:09 (13 months ago)
- Location:
- trunk/thune
- Files:
-
- 4 modified
-
doc/UserManual (modified) (1 diff)
-
eval.c (modified) (1 diff)
-
make.c (modified) (1 diff)
-
tokenize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/doc/UserManual
r476 r480 646 646 "Hello world" :s 647 647 s 2,4 slice . ; "ello" 648 s -2 slice . ; " "Hello wor"648 s -2 slice . ; "Hello wor" 649 649 650 650 -
trunk/thune/eval.c
r471 r480 170 170 goto set_none; 171 171 } 172 ur_throwErr( UR_ERR_SCRIPT, "Invalid select!" ); 173 return 0; 172 174 } 173 175 else 174 176 { 175 if( ur_pick( ut, val, ur_sel(sel) - 1, res ) ) 176 return 1; 177 } 178 179 ur_throwErr( UR_ERR_SCRIPT, "Invalid select!" ); 180 return 0; 177 int n = ur_sel(sel); 178 if( n ) 179 { 180 if( n > 0 ) 181 --n; 182 if( ur_pick( ut, val, n, res ) ) 183 return 1; 184 } 185 } 181 186 182 187 set_none: -
trunk/thune/make.c
r469 r480 1054 1054 if( count == (UR_MAX_PATH_LEN - 1) ) \ 1055 1055 return 0; \ 1056 if( *cp >= '0' && *cp <= '9' ) \ 1057 { \ 1056 if( (*cp >= '0' && *cp <= '9') || (*cp == '-') ) { \ 1058 1057 node[ count ] = ur_stringToInt( cp, it, 0 ); \ 1059 1058 } else { \ -
trunk/thune/tokenize.c
r458 r480 517 517 ++lines; 518 518 ++it; 519 sol = 1; 519 520 goto start; 520 521 }
