adMartem
Oh, by the way, do make sure to test against the absolutely latest code. In the last couple of days, I really did some review of the lookahead generation logic and nailed certain bugs. Now, there was a pretty flagrant bug in the lexical state handling, where it could generate a faulty lookahead when the lookahead involved a lexical state switch. That might have been something you were hitting. So, there's that. But, just yesterday, like less than 24 hours ago, I came across another bug in the lookahead generation logic and fixed that.
Actually, I started writing here a description of the bug (now fixed) but then I figured it would be better to write a top-level post about it...