ppcg_print_declaration: reuse ppcg_size_from_extent
commitab6da574b532f56a7d30cd64947b66426a6a0a7d
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 11 Feb 2016 11:17:02 +0000 (11 12:17 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 15 Feb 2016 09:36:29 +0000 (15 10:36 +0100)
tree2a702ebe306da66fad11c8a0156939e9b1d1fe61
parentc6f18ac347bcdf6847d619fd9d778e075be0f089
ppcg_print_declaration: reuse ppcg_size_from_extent

Moreover, convert the size expression as a whole to an "access"
AST expression instead of converting the index expressions
individually.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
print.c