add PetScan::set_array_size
commit278bf466e18d80d0b734081b1579bbe6987f0449
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 15 Apr 2016 10:09:29 +0000 (15 12:09 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 15 Apr 2016 11:48:54 +0000 (15 13:48 +0200)
tree6938f44c060825e07a212bf15276b9b043390df4
parent70a5993886191c355aaf851cb9be7ef20fbff14e
add PetScan::set_array_size

This allows the size expression computed by PetScan::get_array_size
to be overridden.  In particular, this will be used to replace
the size expression of an array by one with substituted size parameters.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
scan.h