aboutsummaryrefslogtreecommitdiff
path: root/src/interp
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 /src/interp
parent72c2791a858003ac3c47f59d399d12b8d4a471fb (diff)
downloadopen-axiom-7d3b7d55f97f1d8119160e409b0922e3e6ec6ac7.tar.gz
* interp/msgdb.boot: Avoid SETANDFILEQ.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/msgdb.boot17
1 files changed, 8 insertions, 9 deletions
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