Slice an array, returning a sub-section of the array.
Slice operation for array types. frysk-core/frysk/value/ChangeLog 2007-11-21 Teresa Thomas <tthomas@redhat.com> * ArrayType.java (slice): New. * Type.java (slice): New. * TypeDecorator.java (slice): New. * TestArray.java (testSlice): New test. frysk-core/frysk/expr/ChangeLog 2007-11-21 Teresa Thomas <tthomas@redhat.com> * CExprEvaluator.g (SLICE): New. * CExpr.g: Add grammar for slice operation.
Similar feature for pointers: Slice operation for pointers. Format - ptr[i:j] frysk-core/frysk/value/ChangeLog 2007-11-26 Teresa Thomas <tthomas@redhat.com> * PointerType.java (slice): New. * TestPointer.java (testCharPointerSlice): New test.
Slice for arrays/pointers containing null value fails.
Re-write slice for pointers, simplify. frysk-core/frysk/value/ChangeLog 2007-11-28 Teresa Thomas <tthomas@redhat.com> * PointerType.java (slice): Re-write. * ArrayType.java (slice): Remove FIX-ME comment.