diff lwlib/lw_expr.c @ 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 367bdde181be
children 5cccf90bf838
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 },