gotcha for complex parsers in gen_parser