Initially, we can just convert the current parser index into a (column, line) pair.
Later on, it would be nice to backtrack to the beginning of the item causing a problem.
Reporting a span consisting of two (col, line) pairs is a goal down the line but not a priority. (Good for highlighting errors in an editor, for instance)
Initially, we can just convert the current parser index into a (column, line) pair. Later on, it would be nice to backtrack to the beginning of the item causing a problem.
Reporting a span consisting of two (col, line) pairs is a goal down the line but not a priority. (Good for highlighting errors in an editor, for instance)