Right now it doesn't seem to print line numbers at all on errors. I put a simple console.log(location) into the place in the parser the error is generated and it worked. I think you just need to wrap the call to parse catch exceptions and print out the line number.
Right now it doesn't seem to print line numbers at all on errors. I put a simple console.log(location) into the place in the parser the error is generated and it worked. I think you just need to wrap the call to parse catch exceptions and print out the line number.