citron
citron copied to clipboard
More #sourceLocation
I got an error today that pointed into the definition of CitronSymbol
in the generated parser code. It would be nice if that could point back into the source file. Thanks!
Trying to understand this better: Was it a problem with the type specified in a %nonterminal_type
directive?
To clarify: A bad type specified in a %nonterminal_type
directive can cause an error to be shown in the definition of CitronSymbol
(which is an enum whose values can have these nonterminal types as associated values). Is this the problem you're seeing, or is it something else?
Sorry, I don't remember the details. I was deep into it.
Having seen it again, yes, it's in the definition of CitronSymbol
.
Was the problem a bad type definition in a %nonterminal_type
directive? Or was it something else?
Yes, that was the problem.
On Thu, Apr 22, 2021 at 2:53 AM Roopesh Chander @.***> wrote:
Was the problem a bad type definition in a %nonterminal_type directive? Or was it something else?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roop/citron/issues/9#issuecomment-824702831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAKYILFLLCKBTFLCSET5A3TJ7WZTANCNFSM42565VZQ .
-- -Dave