aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-02-22 06:20:48 +0000
committerdos-reis <gdr@axiomatics.org>2009-02-22 06:20:48 +0000
commit7d3b7d55f97f1d8119160e409b0922e3e6ec6ac7 (patch)
tree53b3ed878daa198bacf783c173883e5e0f1bfb17
parent72c2791a858003ac3c47f59d399d12b8d4a471fb (diff)
downloadopen-axiom-7d3b7d55f97f1d8119160e409b0922e3e6ec6ac7.tar.gz
* interp/msgdb.boot: Avoid SETANDFILEQ.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/interp/msgdb.boot17
2 files changed, 12 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2a0897d3..bacfafbe 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * interp/msgdb.boot: Avoid SETANDFILEQ.
+
2009-02-21 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (compRetractAlternative): Don't store
diff --git a/src/interp/msgdb.boot b/src/interp/msgdb.boot
index 9e6556f8..e49c9e21 100644
--- a/src/interp/msgdb.boot
+++ b/src/interp/msgdb.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2008, Gabriel Dos Reis.
+-- Copyright (C) 2007-2009, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -245,11 +245,11 @@ addBlanks msg ==
NREVERSE msg1
-SETANDFILEQ($msgdbPrims,'( %b %d %l %i %u %U %n %x %ce %rj "%U" "%b" "%d" "%l" "%i" "%u" "%U" "%n" "%x" "%ce" "%rj"))
-SETANDFILEQ($msgdbPunct,'(_. _, _! _: _; _? _] _) "." "," "!" ":" ";" "?" "]" ")" ))
-SETANDFILEQ($msgdbNoBlanksBeforeGroup,['" ", " ", '"%", "%",_
- :$msgdbPrims, :$msgdbPunct])
-SETANDFILEQ($msgdbListPrims,'(%m %s %ce %rj "%m" "%s" "%ce" "%rj"))
+$msgdbPrims =='( %b %d %l %i %u %U %n %x %ce %rj "%U" "%b" "%d" "%l" "%i" "%u" "%U" "%n" "%x" "%ce" "%rj")
+$msgdbPunct := '(_. _, _! _: _; _? _] _) "." "," "!" ":" ";" "?" "]" ")" )
+$msgdbNoBlanksBeforeGroup := ['" ", " ", '"%", "%",_
+ :$msgdbPrims, :$msgdbPunct]
+$msgdbListPrims == '(%m %s %ce %rj "%m" "%s" "%ce" "%rj")
noBlankBeforeP word==
INTP word => false
@@ -260,9 +260,8 @@ noBlankBeforeP word==
(PAIRP word) and member(CAR word,$msgdbListPrims) => true
false
-$msgdbPunct := '(_[ _( "[" "(" )
-SETANDFILEQ($msgdbNoBlanksAfterGroup,['" ", " ",'"%" ,"%",_
- :$msgdbPrims,:$msgdbPunct])
+$msgdbNoBlanksAfterGroup == ['" ", " ",'"%" ,"%", :$msgdbPrims,
+ "[", "(", '"[", '"(" ]
noBlankAfterP word==
INTP word => false