TODO: figure out how to make syntax-parse errors not loop
This commit is contained in:
parent
73466e025c
commit
b0c4666587
|
@ -23,7 +23,10 @@
|
||||||
#,(?list-helper #'[acc ... tmp] #'[y ...])
|
#,(?list-helper #'[acc ... tmp] #'[y ...])
|
||||||
#false))]))
|
#false))]))
|
||||||
(?list-helper #'[] #'[x ...])]
|
(?list-helper #'[] #'[x ...])]
|
||||||
[stx (raise-syntax-error #f "bad syntax" #'stx)]))
|
[stx
|
||||||
|
;; TODO: figure out how to make syntax-parse's own errors
|
||||||
|
;; not cause infinite loops
|
||||||
|
(raise-syntax-error #f "bad syntax" #'stx)]))
|
||||||
(debug-repl)
|
(debug-repl)
|
||||||
tmp)
|
tmp)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user