Fix backtracking on #... literals