Skip to content

Commit

Permalink
prevent warnings about undefined functions (thanks to Attila Lendvai)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary King committed Nov 1, 2009
1 parent 9b016a7 commit b021bc4
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 12 deletions.
15 changes: 15 additions & 0 deletions .gitignore
@@ -0,0 +1,15 @@
# really this is private to my build process
make/
common-lisp.net
.vcs
GNUmakefile
init-lisp.lisp
website/changelog.xml


lift.tar.gz
website/output/
test-results*/
lift-local.config
*.dribble
*.fasl
23 changes: 13 additions & 10 deletions dev/macros.lisp
Expand Up @@ -68,15 +68,9 @@ instead
(form-keyword name/s))))
`(progn
(setf (binding-form-docstring ',name/s) ,docstring)
,@(when multiple-names?
(loop for name in name/s collect
`(defmethod bind-generate-bindings
((kind (eql ,name))
variable-form value-form body declarations
remaining-bindings)
(,main-method-name
variable-form value-form body declarations
remaining-bindings))))
(defgeneric ,main-method-name
(kind variable-form value-form body
declarations remaining-bindings))
(defmethod ,main-method-name
(,@(unless multiple-names?
(if force-keyword?
Expand All @@ -102,7 +96,16 @@ instead
variable-form value-form))
,@(bind-filter-declarations declarations variable-form)
,@(bind-macro-helper
remaining-bindings declarations body)))))))))
remaining-bindings declarations body)))))
,@(when multiple-names?
(loop for name in name/s collect
`(defmethod bind-generate-bindings
((kind (eql ,name))
variable-form value-form body declarations
remaining-bindings)
(,main-method-name
variable-form value-form body declarations
remaining-bindings))))))))

(defun next-value (x)
(gensym x))
Expand Down
2 changes: 1 addition & 1 deletion lift-local.config
Expand Up @@ -26,6 +26,6 @@
(:report-property :unique-name nil)
(:build-report)

(:report-property :format :describe)
(:report-property :format :brief)
(:report-property :full-pathname *standard-output*)
(:build-report)
1 change: 0 additions & 1 deletion version

This file was deleted.

0 comments on commit b021bc4

Please sign in to comment.