aboutsummaryrefslogtreecommitdiff
path: root/src/interp/pspad1.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-12-30 12:10:11 +0000
committerdos-reis <gdr@axiomatics.org>2010-12-30 12:10:11 +0000
commitb1fb4cb58a886484e213bd1235f6de75713950c9 (patch)
tree9081e1cd5af4cc6af281259faed5352035a26dec /src/interp/pspad1.boot
parente46eacc852aacf74de6d98ed5aad9249f41eabb0 (diff)
downloadopen-axiom-b1fb4cb58a886484e213bd1235f6de75713950c9.tar.gz
more string cleanups
Diffstat (limited to 'src/interp/pspad1.boot')
-rw-r--r--src/interp/pspad1.boot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/pspad1.boot b/src/interp/pspad1.boot
index a89253f9..10461cc9 100644
--- a/src/interp/pspad1.boot
+++ b/src/interp/pspad1.boot
@@ -168,7 +168,7 @@ consBuffer item ==
if item = '"failed" then item := 'failed
n:=
string? item => 2+#item
- IDENTP item => #PNAME item
+ IDENTP item => #symbolName item
#STRINGIMAGE item
columnsLeft:= $lineLength-$c
if columnsLeft <= 0 and isCloseDelimiter item then $lineLength := $lineLength + 2
@@ -183,7 +183,7 @@ consBuffer item ==
consBuffer item
nil
$lineFragmentBuffer:=
- null item or IDENTP item => [PNAME item,:$lineFragmentBuffer]
+ null item or IDENTP item => [symbolName item,:$lineFragmentBuffer]
integer? item or CHARP item => [STRINGIMAGE item,:$lineFragmentBuffer]
string? item => ["_"",string2PrintImage item,"_"",:$lineFragmentBuffer]
sayBrightly ['"Unexpected line buffer item: ", STRINGIMAGE item]
@@ -421,7 +421,7 @@ formatHasDollarOp x ==
x is ["elt",a,b] and isTypeProbably? a
isTypeProbably? x ==
- IDENTP x and upperCase? PNAME(x).0
+ IDENTP x and upperCase? stringChar(symbolName x,0)
formatOpPren(op,x) == formatOp op and formatPren x