From c84f636c9726ef38a6ae5e007327438f8492dbba Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 9 Apr 2010 17:29:47 -0700 Subject: [PATCH] ir_print_visitor: Fix unclosed parenthesis in (assign ... Also remove useless parens around subexpressions. --- ir_print_visitor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(") "); -- 2.30.2