parser: Check for multiple block definitions

Signed-off-by: Michael Buesch <m@bues.ch>