From 5abd93965556410d7e8674b4ffb8d485dbea10b2 Mon Sep 17 00:00:00 2001 From: Cary R Date: Fri, 8 Feb 2013 11:17:38 -0800 Subject: [PATCH] vlog95: fix bug in min/max translation code --- tgt-vlog95/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgt-vlog95/expr.c b/tgt-vlog95/expr.c index 5a8b20cd2..4092c9ff1 100644 --- a/tgt-vlog95/expr.c +++ b/tgt-vlog95/expr.c @@ -184,7 +184,7 @@ static void emit_expr_binary(ivl_scope_t scope, ivl_expr_t expr, unsigned wid) emit_expr(scope, ivl_expr_oper1(expr), wid); fprintf(vlog_out, ") %s (", oper); emit_expr(scope, ivl_expr_oper2(expr), wid); - fprintf(vlog_out, " ? ("); + fprintf(vlog_out, ") ? ("); emit_expr(scope, ivl_expr_oper1(expr), wid); fprintf(vlog_out, ") : ("); emit_expr(scope, ivl_expr_oper2(expr), wid);