From 267b2ba5d80f2d4f9897fb5ad633716d5a8a6752 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 24 Feb 2009 02:40:28 -0400 Subject: Made commodity reduction during parsing consistent --- src/compare.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/compare.cc') diff --git a/src/compare.cc b/src/compare.cc index d716bcda..e8d96c62 100644 --- a/src/compare.cc +++ b/src/compare.cc @@ -53,8 +53,7 @@ namespace { sort_values.push_back(sort_value_t()); sort_values.back().inverted = inverted; - sort_values.back().value = - expr_t(node).calc(*scope).reduced().simplified(); + sort_values.back().value = expr_t(node).calc(*scope).simplified(); if (sort_values.back().value.is_null()) throw_(calc_error, -- cgit v1.2.3