(defvar foo-smie-grammar
(smie-prec2->grammar
(smie-bnf->prec2
'((exp (exp "+" exp)
(exp "*" exp)
("let" let-decls "in" exp))
(let-decls (let-decls ";" let-decls)
(exp)))
'((assoc ";") (assoc "+") (assoc "*")))))
The above gives warnings:
Warning (smie): Conflict: in >/< *
Warning (smie): Conflict: in >/< +
Warning (smie): Total: 2 warnings
Without the let-decls
non-terminal, all is fine. How do I fix this? The grammar isn't obviously problematic to me.