added hack to allow some comments in LP

svn: r14875
This commit is contained in:
Matthias Felleisen 2009-05-19 22:23:17 +00:00
parent 0500571383
commit a1f9a6f1ab

View File

@ -6,6 +6,14 @@
(require (for-syntax scheme/base syntax/boundmap scheme/list syntax/kerncase
syntax/strip-context))
;; --- MF: bad hack for getting rid of comments
(provide code:comment)
(define-syntax (code:comment stx)
(if (eq? (syntax-local-context) 'expression)
(syntax (void))
(syntax (define (f x) x))))
;; --- MF
(begin-for-syntax
(define first-id #f)
(define main-id #f)