On Mon, Jun 8, 2020 at 8:36 PM jon stenerson <[email protected]> wrote: > > Hi all, > > I don't understand the error message here. The parser seems to be > looking for a position-token but the lexer is sending srcloc-tokens? Is > there a simple fix? Using Racket 7.7 on WIn 10.
Hi Jon, Yes, you're right, and there is a simple fix. Instead of using `lexer-srcloc`, you can use `lexer-src-pos`. The former seems to be an addition to the `br-` variant of parser-tools, but I don't see any indication that the lexers it generates can be used with the yacc tools. (I could be wrong about that.) - Jon -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAKfDxxyi_ubBaRhs%3DHD9R7UxTYmePqqVLbsbOFcHzg8%2BQfR1KQ%40mail.gmail.com.

