TODO: figure out how to make syntax-parse errors not loop

This commit is contained in:
AlexKnauth 2017-01-12 17:55:23 -05:00
parent 73466e025c
commit b0c4666587

View File

@ -23,7 +23,10 @@
#,(?list-helper #'[acc ... tmp] #'[y ...])
#false))]))
(?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)
tmp)