From e74c52066d421b027ce1be36e02dce615caac397 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 2 Dec 2011 17:22:28 +0000 Subject: Fix SF/3448433 * interp/br-util.boot (bcPred): Do not compare pred against a string. --- src/ChangeLog | 5 +++++ src/interp/br-util.boot | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 02df4c38..3364d23c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-12-02 Gabriel Dos Reis + + Fix SF/3448433 + * interp/br-util.boot (bcPred): Do not compare pred against a string. + 2011-12-02 Gabriel Dos Reis * interp/g-opt.boot (modified?): Examine the rhs too. diff --git a/src/interp/br-util.boot b/src/interp/br-util.boot index c20e5d23..acc4ed9a 100644 --- a/src/interp/br-util.boot +++ b/src/interp/br-util.boot @@ -415,7 +415,7 @@ bcConPredTable(u,conname,:options) == htEndTable() bcPred(pred,:options) == - pred = '"" or pred = true or null pred => 'skip + pred is true or pred = nil => 'skip italicList := IFCAR options if not IFCAR IFCDR options then htSay '" {\em if} " htPred2English(pred,italicList) -- cgit v1.2.3