From: Kenneth Graunke Date: Thu, 22 Apr 2010 06:46:22 +0000 (-0700) Subject: ir_reader: Fix incorrect error message for expressions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21128c23c69d7dc0b46455591899e4850b2029d8;p=mesa.git ir_reader: Fix incorrect error message for expressions. --- diff --git a/ir_reader.cpp b/ir_reader.cpp index 74fe5faaf67..dc1c84fcac1 100644 --- a/ir_reader.cpp +++ b/ir_reader.cpp @@ -600,13 +600,13 @@ read_expression(_mesa_glsl_parse_state *st, s_list *list) /* Now that we know the operator, check for the right number of operands */ if (ir_expression::get_num_operands(op) == 2) { if (list_length != 5) { - ir_read_error(st, list, "expected (expression %s )", - op_sym->value()); + ir_read_error(st, list, "expected (expression %s " + " )", op_sym->value()); return NULL; } } else { if (list_length != 4) { - ir_read_error(st, list, "expected (expression %s )", + ir_read_error(st, list, "expected (expression %s )", op_sym->value()); return NULL; }