added hack to allow some comments in LP
svn: r14875
This commit is contained in:
parent
0500571383
commit
a1f9a6f1ab
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user