On Tuesday, March 14, 2017 at 11:05:08 AM UTC-7, Stephen Chang wrote:
>
> 1) Use a commit pattern, which tells syntax-parse not to backtrack
> past the commit point. You have to change the order of patterns for
> this to work.
>
[...]
> 2) Use the ~post pattern, which essentially tells syntax-par
You get the dreaded "bad syntax" because syntax-parse doesnt know
which pattern failed. There a couple of things you can do:
1) Use a commit pattern, which tells syntax-parse not to backtrack
past the commit point. You have to change the order of patterns for
this to work.
(define-splicing-synt
2 matches
Mail list logo