Start testing errors.

- Add support to test runner for compile errors.
- Include line number in tokens.
- Exit with non-zero on compile error.
This commit is contained in:
Bob Nystrom
2013-10-28 07:12:39 -07:00
parent db14c531b8
commit 9208a7f862
5 changed files with 75 additions and 25 deletions

View File

@ -0,0 +1 @@
io.write(notDefined) // expect error

View File

@ -0,0 +1,3 @@
{
io.write(notDefined) // expect error
}