lexer tweak to get named procedure
This commit is contained in:
parent
7123996b30
commit
fae6e273ed
|
@ -132,6 +132,7 @@
|
||||||
(syntax-property
|
(syntax-property
|
||||||
(syntax/loc stx
|
(syntax/loc stx
|
||||||
(let ([name act] ...)
|
(let ([name act] ...)
|
||||||
|
(let ([proc
|
||||||
(lexer-body start-state-stx
|
(lexer-body start-state-stx
|
||||||
trans-table-stx
|
trans-table-stx
|
||||||
(vector act-name ...)
|
(vector act-name ...)
|
||||||
|
@ -139,7 +140,9 @@
|
||||||
spec-act-stx
|
spec-act-stx
|
||||||
has-comment-act?-stx
|
has-comment-act?-stx
|
||||||
spec-comment-act-stx
|
spec-comment-act-stx
|
||||||
eof-act-stx)))
|
eof-act-stx)])
|
||||||
|
;; reverse eta to get named procedures:
|
||||||
|
(lambda (port) (proc port)))))
|
||||||
'disappeared-use
|
'disappeared-use
|
||||||
disappeared-uses)))))))))
|
disappeared-uses)))))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user