Fix infinite loop in parser.parse

"-" caused parser.parse to hang because parseFlagged did not consume
anything.