changeset 443:a8934dfba400 3.0 3.0.1

Fixed operator precedence for *
author lost@l-w.ca
date Sat, 30 Oct 2010 15:02:57 -0600
parents a9521955554f
children 7899511b2102
files lwlib/lw_expr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/lw_expr.c	Sat Oct 30 12:15:00 2010 -0600
+++ b/lwlib/lw_expr.c	Sat Oct 30 15:02:57 2010 -0600
@@ -1164,7 +1164,7 @@
 	{
 		{ lw_expr_oper_plus, "+", 100 },
 		{ lw_expr_oper_minus, "-", 100 },
-		{ lw_expr_oper_times, "*", 100 },
+		{ lw_expr_oper_times, "*", 150 },
 		{ lw_expr_oper_divide, "/", 150 },
 		{ lw_expr_oper_mod, "%", 150 },
 		{ lw_expr_oper_intdiv, "\\", 150 },