parser refactored
my assert in parser

it doesn't throw, but marks the error and tries to proceed to next token