When a parsing error is encountered, an exception is thrown from parser::expect() indicating the expected token, but not the current parsing position, making it difficult to track down the offending syntax error. It would be nice if the current position (in line and column, if possible) could also be included in the error message.
When a parsing error is encountered, an exception is thrown from parser::expect() indicating the expected token, but not the current parsing position, making it difficult to track down the offending syntax error. It would be nice if the current position (in line and column, if possible) could also be included in the error message.