You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are more opportunities for good error reporting by adding more sourceLocations, e.g in this excerpt of generated code,
enum CitronSymbol {
case yyBaseOfStack
case yy0(CitronToken)
case yy7(EBNF.AltList)
case yy17(EBNF.Alt)
case yy26(EBNF.TermList)
case yy40(EBNF.RuleList)
case yy46(EBNF.Term)
case yy52(EBNF.Rule.Kind)
case yy56(EBNF.Rule)
Each of these case lines corresponds to a place in the original source where the type was declared for a nonterminal. If I got the spellings of those types wrong, I'll see errors in the generated .swift file rather than in the citron input.
The text was updated successfully, but these errors were encountered:
There are more opportunities for good error reporting by adding more sourceLocations, e.g in this excerpt of generated code,
Each of these case lines corresponds to a place in the original source where the type was declared for a nonterminal. If I got the spellings of those types wrong, I'll see errors in the generated .swift file rather than in the citron input.
The text was updated successfully, but these errors were encountered: