fix misuse of _

svn: r10569

original commit: ecfc0cd104265fadfe71ea05116aa29bccf90261
This commit is contained in:
Eli Barzilay 2008-07-03 00:49:52 +00:00
parent ed05ff3b71
commit 9f077008d6

View File

@ -1221,8 +1221,8 @@
(provide define-cpointer-type)
(define-syntax (define-cpointer-type stx)
(syntax-case stx ()
[(_ _TYPE) #'(_ _TYPE #f #f #f)]
[(frm _TYPE ptr-type) #'(frm _TYPE ptr-type #f #f)]
[(_ _TYPE) #'(define-cpointer-type _TYPE #f #f #f)]
[(_ _TYPE ptr-type) #'(define-cpointer-type _TYPE ptr-type #f #f)]
[(_ _TYPE ptr-type scheme->c c->scheme)
(and (identifier? #'_TYPE)
(regexp-match #rx"^_.+" (symbol->string (syntax-e #'_TYPE))))