Yes according to the spec this was wrong, but still worked with small warnings count.
pos++ moved to after line 669.