GH-167: improve error message for unclosed function at EOF

This commit is contained in:
Jon Siwek 2019-01-24 14:54:39 -06:00
parent 30138dfbd0
commit 9b43f1d5f4
5 changed files with 52 additions and 11 deletions

View file

@ -0,0 +1 @@
error: syntax error, at end of file ./a.bro

View file

@ -0,0 +1 @@
error in ./b.bro, line 1: syntax error, at or near "module" or end of file ./a.bro