more parser error factoring Daniel

* parser.c: more parser error factoring
Daniel
2 files changed