reset lineno to 1 before each parsing
better exception message