Fix ~literal patterns in syntax-parse.
This commit is contained in:
parent
9c3bee03e7
commit
5200b93a0c
|
@ -844,7 +844,7 @@ A syntax class is integrable if
|
||||||
(let* ([chunks (parse-keyword-options/eol #'more phase-directive-table
|
(let* ([chunks (parse-keyword-options/eol #'more phase-directive-table
|
||||||
#:no-duplicates? #t
|
#:no-duplicates? #t
|
||||||
#:context stx)]
|
#:context stx)]
|
||||||
[phase (options-select-value chunks '#:phase #:default #f)])
|
[phase (options-select-value chunks '#:phase #:default 0)])
|
||||||
;; FIXME: Duplicates phase expr!
|
;; FIXME: Duplicates phase expr!
|
||||||
(create-pat:literal #'lit phase phase))]
|
(create-pat:literal #'lit phase phase))]
|
||||||
[_
|
[_
|
||||||
|
|
Loading…
Reference in New Issue
Block a user