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
f8cd3646
Commit
f8cd3646
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some residual character bits lossage that was causing #\a to
print as #\\a.
parent
f7c453be
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
+6
-11
6 additions, 11 deletions
code/print.lisp
with
6 additions
and
11 deletions
code/print.lisp
+
6
−
11
View file @
f8cd3646
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.
9
1990/0
8/24 18:12:20 wlott
Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.
10
1990/0
9/18 22:42:23 ram
Exp $
;;;
;;;
;;; CMU Common Lisp printer.
;;; CMU Common Lisp printer.
;;;
;;;
...
@@ -1190,23 +1190,18 @@
...
@@ -1190,23 +1190,18 @@
;;; OUTPUT-CHARACTER -- Internal
;;; OUTPUT-CHARACTER -- Internal
;;;
;;;
;;; If *print-escape* is false, just do a WRITE-CHAR, otherwise output
;;; If *print-escape* is false, just do a WRITE-CHAR, otherwise output the
;;; any bits and then the character or name, escaping if necessary. In
;;; character name or the character in the #\char format.
;;; either case, we blast the bits or font before writing the character
;;; itself to the stream.
;;;
;;;
(
defun
output-character
(
char
stream
)
(
defun
output-character
(
char
stream
)
(
if
*print-escape*
(
if
*print-escape*
(
let
((
name
(
char-name
char
)))
(
let
((
name
(
char-name
char
)))
(
write-string
"#\\"
stream
)
(
write-string
"#\\"
stream
)
(
cond
(
name
(
write-string
name
stream
))
(
if
name
(
t
(
write-string
name
stream
)
(
when
(
funny-character-char-p
char
)
(
write-char
char
stream
)))
(
write-char
#\\
stream
))
(
write-char
char
stream
))))
(
write-char
char
stream
)))
(
write-char
char
stream
)))
;;;; Random and Miscellaneous Print Subfunctions
;;;; Random and Miscellaneous Print Subfunctions
...
...
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