replace throw Error with this.fail and col, line numbers
Merge pull request #66 from novocaine/master

fix missing line numbers in error messages