]> Devi Nivas Git - chevron.git/commit
Add better error messages
authornoah morrison <noah@morrison.ph>
Wed, 8 Apr 2015 02:49:10 +0000 (22:49 -0400)
committernoah morrison <noah@morrison.ph>
Wed, 8 Apr 2015 02:49:10 +0000 (22:49 -0400)
commitce3261c5d13c329db995a5a669222e69ec12d75c
tree25be77dea6ce267ff0ed4f03b71cc3d7631163e7
parent18700608c573a651d81d50627f6ac5808bdb37be
Add better error messages

Fixes issue #15 on github

The tokenizer now keeps track of the current line,
and raises a more descriptive error message when it fails.

If running from the CLI then exit with status 1.
chevron/main.py
chevron/tokenizer.py