Improve syntax errors when parsing pflang

This patch fixes issue #25.
Merge pull request #25 from Igalia/issue-25-improve-syntax-errors

Improve syntax errors when parsing pflang