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
df23a00b
Commit
df23a00b
authored
35 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Added the FILE-COMMENT macro for RCS header usage.
parent
8e537442
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/extensions.lisp
+15
-1
15 additions, 1 deletion
code/extensions.lisp
with
15 additions
and
1 deletion
code/extensions.lisp
+
15
−
1
View file @
df23a00b
...
...
@@ -14,13 +14,14 @@
;;; **********************************************************************
(
in-package
"EXTENSIONS"
)
(
export
'
(
letf*
letf
dovector
deletef
indenting-further
(
export
'
(
letf*
letf
dovector
deletef
indenting-further
file-comment
read-char-no-edit
listen-skip-whitespace
concat-pnames
iterate
once-only
collect
do-anonymous
undefined-value
))
(
import
'lisp::whitespace-char-p
)
;;; Undefined-Value -- Public
;;;
;;; This is here until we figure out what to do with it.
...
...
@@ -30,6 +31,19 @@
'%undefined%
)
;;; FILE-COMMENT -- Public
;;;
(
defmacro
file-comment
(
string
)
"FILE-COMMENT String
When COMPILE-FILE sees this form at top-level, it places the constant string
in the run-time source location information. DESCRIBE will print the file
comment for the file that a function was defined in. The string is also
textually present in the FASL, so the RCS \"ident\" command can find it,
etc."
(
declare
(
ignore
string
))
'
(
undefined-value
))
(
defun
skip-whitespace
(
&optional
(
stream
*standard-input*
))
(
loop
(
let
((
char
(
read-char
stream
)))
(
if
(
not
(
lisp::whitespacep
char
))
...
...
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