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
992e55c1
Commit
992e55c1
authored
28 years ago
by
pw
Browse files
Options
Downloads
Patches
Plain Diff
/tmp/msg
parent
68ba48a1
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/main.lisp
+22
-18
22 additions, 18 deletions
compiler/main.lisp
with
22 additions
and
18 deletions
compiler/main.lisp
+
22
−
18
View file @
992e55c1
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.10
9
1997/02/
0
5 15:
41:53
pw Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.1
1
0 1997/02/
1
5 15:
32:49
pw Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -1549,23 +1549,27 @@
...
@@ -1549,23 +1549,27 @@
;;; exist.
;;; exist.
;;;
;;;
(
defun
verify-source-files
(
stuff
)
(
defun
verify-source-files
(
stuff
)
(
flet
((
try-with-type
(
path
type
error-p
)
(
let*
((
stuff
(
if
(
listp
stuff
)
stuff
(
list
stuff
)))
(
let
((
new
(
merge-pathnames
path
(
make-pathname
:type
type
(
default-host
(
make-pathname
:defaults
path
))))
:host
(
pathname-host
(
pathname
(
first
stuff
))))))
(
if
(
probe-file
new
)
(
flet
((
try-with-type
(
path
type
error-p
)
new
(
let
((
new
(
merge-pathnames
(
and
error-p
(
truename
new
))))))
path
(
make-pathname
:type
type
(
unless
stuff
:defaults
default-host
))))
(
error
"Can't compile with no source files."
))
(
if
(
probe-file
new
)
(
mapcar
#'
(
lambda
(
x
)
new
(
let
((
x
(
pathname
x
)))
(
and
error-p
(
truename
new
))))))
(
cond
((
logical-pathname-p
x
)
(
unless
stuff
(
try-with-type
x
"LISP"
t
))
(
error
"Can't compile with no source files."
))
((
probe-file
x
)
x
)
(
mapcar
#'
(
lambda
(
x
)
((
try-with-type
x
"lisp"
nil
))
(
let
((
x
(
pathname
x
)))
((
try-with-type
x
"dylan"
nil
))
(
cond
((
logical-pathname-p
x
)
((
try-with-type
x
"lisp"
t
)))))
(
try-with-type
x
"LISP"
t
))
(
if
(
listp
stuff
)
stuff
(
list
stuff
)))))
((
probe-file
x
)
x
)
((
try-with-type
x
"lisp"
nil
))
((
try-with-type
x
"dylan"
nil
))
((
try-with-type
x
"lisp"
t
)))))
stuff
))))
;;; COMPILE-FROM-STREAM -- Public
;;; COMPILE-FROM-STREAM -- Public
;;;
;;;
...
...
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