projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f60d4f
)
isl_pw_qpolynomial_print: properly print divs in ISL_FORMAT_C
author
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 22 Oct 2010 19:42:50 +0000
(21:42 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 26 Oct 2010 14:29:30 +0000
(16:29 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_output.c
patch
|
blob
|
history
diff --git
a/isl_output.c
b/isl_output.c
index
66a2d72
..
50aab01
100644
(file)
--- a/
isl_output.c
+++ b/
isl_output.c
@@
-231,8
+231,11
@@
static __isl_give isl_printer *print_term(__isl_keep isl_dim *dim,
;
else if (isl_int_is_negone(c))
p = isl_printer_print_str(p, "-");
- else
+ else
{
p = isl_printer_print_isl_int(p, c);
+ if (p->output_format == ISL_FORMAT_C)
+ p = isl_printer_print_str(p, "*");
+ }
type = pos2type(dim, &pos);
p = print_name(dim, p, type, pos, set, latex);
return p;