Remove unused stack code
Allow parser_advance to take a count