Fix #244. Infinite loop when parsing token expressions with --