From 9655c1ac5646bde1007ecba7c6271d3aa98f294b Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Tue, 9 Mar 2010 12:52:30 +0800 Subject: [ARITH] Fix binary operator parsing Jilles Tjoelker reported that binary operator parsing doesn't respect operator precedence correctly in the case where a lower- precedence operator is followed by a higher-precedence operator, and then by a lower-precedence operator. This patch fixes this by stopping when we encounter a binary oeprator with a precedence lower than one that we have already encountered. Signed-off-by: Herbert Xu --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3e68917..8dfd747 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-03-09 Herbert Xu + + * Fix binary operator parsing. + 2009-11-26 Herbert Xu * Fix off-by-one recordregion in readcmd. -- cgit 1.4.1