CLN: clean up parser options

Also add a test to make sure that the C parser options validation is actually
covered