Fixed missing longstr in grammar
error-reason can be empty
Merge pull request #42 from hintjens/master

Small fixes