|
|
@ -41,11 +41,11 @@
|
|
|
|
(syntax/loc action
|
|
|
|
(syntax/loc action
|
|
|
|
(lambda (start-pos-p end-pos-p lexeme-p return-without-pos-p input-port-p)
|
|
|
|
(lambda (start-pos-p end-pos-p lexeme-p return-without-pos-p input-port-p)
|
|
|
|
(syntax-parameterize
|
|
|
|
(syntax-parameterize
|
|
|
|
((start-pos (lambda (x) #'start-pos-p))
|
|
|
|
((start-pos (make-rename-transformer #'start-pos-p))
|
|
|
|
(end-pos (lambda (x) #'end-pos-p))
|
|
|
|
(end-pos (make-rename-transformer #'end-pos-p))
|
|
|
|
(lexeme (lambda (x) #'lexeme-p))
|
|
|
|
(lexeme (make-rename-transformer #'lexeme-p))
|
|
|
|
(return-without-pos (lambda (x) #'return-without-pos-p))
|
|
|
|
(return-without-pos (make-rename-transformer #'return-without-pos-p))
|
|
|
|
(input-port (lambda (x) #'input-port-p)))
|
|
|
|
(input-port (make-rename-transformer #'input-port-p)))
|
|
|
|
action-stx)))))
|
|
|
|
action-stx)))))
|
|
|
|
|
|
|
|
|
|
|
|
(define-for-syntax (make-lexer-trans wrap?)
|
|
|
|
(define-for-syntax (make-lexer-trans wrap?)
|
|
|
|