Fixed #4941 (segmentation fault (invalid code) in Tokenizer::setVarId)