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
7648bad0
Commit
7648bad0
authored
33 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Changed to count notes and display in completion message.
parent
621804e7
Branches
issue-100-ldb-base-char-printing
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hemlock/lispeval.lisp
+20
-15
20 additions, 15 deletions
hemlock/lispeval.lisp
with
20 additions
and
15 deletions
hemlock/lispeval.lisp
+
20
−
15
View file @
7648bad0
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/lispeval.lisp,v 1.1.1.
5
1991/10/01 17:
10
:0
3
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/lispeval.lisp,v 1.1.1.
6
1991/10/01 17:
23
:0
4
ram Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -42,7 +42,8 @@
error-file
; The file to dump errors into
load
; Load compiled file or not?
(
errors
0
)
; Count of compiler errors.
(
warnings
0
))
; Count of compiler warnings.
(
warnings
0
)
; Count of compiler warnings.
(
notes
0
))
; Count of compiler notes.
;;;
(
defun
%print-note
(
note
stream
d
)
(
declare
(
ignore
d
))
...
...
@@ -171,7 +172,8 @@
(
message
"~A"
message
)
(
case
severity
(
:error
(
incf
(
note-errors
note
)))
(
:warning
(
incf
(
note-warnings
note
))))
(
:warning
(
incf
(
note-warnings
note
)))
(
:note
(
incf
(
note-notes
note
))))
(
let
((
region
(
case
(
note-kind
note
)
(
:compile
(
note-region
note
))
...
...
@@ -215,13 +217,16 @@
(
setf
(
note-server
note
)
nil
)
(
if
abortp
(
loud-message
"The ~A aborted."
(
note-context
note
))
(
let
((
errors
(
note-errors
note
))
(
warnings
(
note-warnings
note
)))
(
message
"The ~A complete.~@[ ~D error~:P~]~@[ ~D warning~:P~]"
(
note-context
note
)
(
and
(
plusp
errors
)
errors
)
(
and
(
plusp
warnings
)
warnings
))))
(
loud-message
"The ~A aborted."
(
note-context
note
))
(
let
((
errors
(
note-errors
note
))
(
warnings
(
note-warnings
note
))
(
notes
(
note-notes
note
)))
(
message
"The ~A complete.~
~@[ ~D error~:P~]~@[ ~D warning~:P~]~@[ ~D note~:P~]"
(
note-context
note
)
(
and
(
plusp
errors
)
errors
)
(
and
(
plusp
warnings
)
warnings
)
(
and
(
plusp
notes
)
notes
))))
(
let
((
region
(
note-region
note
)))
(
when
(
regionp
region
)
...
...
@@ -235,11 +240,11 @@
file
)
(
if
(
>
(
file-write-date
file
)
(
note-output-date
note
))
(
let
((
new-name
(
make-pathname
:type
"fasl"
:defaults
(
note-input-file
note
))))
(
rename-file
file
new-name
)
(
mach:unix-chmod
(
namestring
new-name
)
#o644
))
(
delete-file
file
)))
(
let
((
new-name
(
make-pathname
:type
"fasl"
:defaults
(
note-input-file
note
))))
(
rename-file
file
new-name
)
(
mach:unix-chmod
(
namestring
new-name
)
#o644
))
(
delete-file
file
)))
(
maybe-send-next-note
server
))
(
values
))
...
...
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