isl_ast_op_type_print_macro: reduce risk of using inconsistent names
commit2d10a0e248acb8d3fa46227b2cb17c1b1f1c1436
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 2 Feb 2016 17:28:24 +0000 (2 18:28 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 11 Feb 2016 08:48:00 +0000 (11 09:48 +0100)
treecb701929333ed4416e8605c1ce552860909b7ce9
parent1933f13b04df62d758f9e8b824afd98319746f84
isl_ast_op_type_print_macro: reduce risk of using inconsistent names

The names of the macro definitions printed by isl_ast_op_type_print_macro
should match those of the macro calls printed by isl_printer_print_ast_expr.
Those names do in fact match, but they are stored multiple times,
Store them only once to reduce the risk that some inconsistency
may creep in.

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