From: Kenneth Graunke Date: Sat, 10 Apr 2010 00:29:47 +0000 (-0700) Subject: ir_print_visitor: Fix unclosed parenthesis in (assign ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c84f636c9726ef38a6ae5e007327438f8492dbba;p=mesa.git ir_print_visitor: Fix unclosed parenthesis in (assign ... Also remove useless parens around subexpressions. --- diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index 75fc109e133..bd35bd7966b 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -216,18 +216,18 @@ void ir_print_visitor::visit(ir_dereference *ir) void ir_print_visitor::visit(ir_assignment *ir) { - printf("(assign ("); + printf("(assign "); if (ir->condition) ir->condition->accept(this); else printf("true"); - printf(") ("); + printf(" "); ir->lhs->accept(this); - printf(") ("); + printf(" "); ir->rhs->accept(this); printf(") ");