Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
7c3a82a7
Commit
7c3a82a7
authored
33 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed OUTPUT-VECTOR to not consider *PRINT-ARRAY* in string printing.
parent
9cd3f69b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/print.lisp
+9
-10
9 additions, 10 deletions
code/print.lisp
with
9 additions
and
10 deletions
code/print.lisp
+
9
−
10
View file @
7c3a82a7
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.3
1
199
1/12/13 10:08:08 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.3
2
199
2/01/02 23:44:17 ram
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -942,16 +942,16 @@
(
defun
output-vector
(
vector
stream
)
(
declare
(
vector
vector
))
(
if
(
or
*print-array*
*print-readably*
)
(
typecase
vector
(
bit-vector
(
write-string
"#*"
stream
)
(
dotimes
(
i
(
length
vector
))
(
output-object
(
aref
vector
i
)
stream
)))
(
string
(
cond
((
stringp
vector
)
(
if
(
or
*print-escape*
*print-readably*
)
(
quote-string
vector
stream
)
(
write-string
vector
stream
)))
((
not
(
or
*print-array*
*print-readably*
))
(
output-terse-array
vector
stream
))
((
bit-vector-p
vector
)
(
write-string
"#*"
stream
)
(
dotimes
(
i
(
length
vector
))
(
output-object
(
aref
vector
i
)
stream
)))
(
t
(
when
(
and
*print-readably*
(
not
(
eq
(
array-element-type
vector
)
't
)))
...
...
@@ -963,8 +963,7 @@
(
write-char
#\space
stream
))
(
punt-if-too-long
i
stream
)
(
output-object
(
aref
vector
i
)
stream
))
(
write-string
")"
stream
))))
(
output-terse-array
vector
stream
)))
(
write-string
")"
stream
)))))
;;; QUOTE-STRING -- Internal.
;;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment