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
17eeccd3
Commit
17eeccd3
authored
35 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Make string-chars look like base-characters, but warn the bozos.
parent
a85ff7ea
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
compiler/generic/vm-type.lisp
+8
-3
8 additions, 3 deletions
compiler/generic/vm-type.lisp
with
8 additions
and
3 deletions
compiler/generic/vm-type.lisp
+
8
−
3
View file @
17eeccd3
...
...
@@ -7,13 +7,15 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-type.lisp,v 1.5 1990/03/26 22:01:46 wlott Exp $
;;;
;;; This file contains implementation-dependent parts of the type support
;;; code. This is stuff which deals with the mapping from types defined in
;;; Common Lisp to types actually supported by an implementation.
;;;
;;; Written by Rob MacLachlan
;;;
(
in-package
'c
)
(
in-package
"C"
)
;;;; Implementation dependent deftypes:
...
...
@@ -33,11 +35,14 @@
;;; Character is the same as base-character.
;;; ### Bootstrap hack: base characters don't exist in the old compiler,
;;; so leave characters alone.
;;; so leave characters alone.
Also, make string-char look like base-char.
(
compiler-let
((
lisp::*bootstrap-deftype*
t
))
(
eval-when
(
compile
eval
load
)
(
remhash
'character
*builtin-types*
))
(
deftype
character
()
'base-character
))
(
deftype
character
()
'base-character
)
(
deftype
string-char
()
(
warn
"Someone used the STRING-CHAR type."
)
'base-character
))
;;;
;;; An index into an integer.
...
...
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