Fixed #5182 (Tokenizer::simplifyEnum: template function call as enum value)