# expl3: \cs_generate_variant broke with the last update: undefined control sequence \::T [closed]

The last expl3 update broke my "continue" detection for the index. Here is a MWE: (EDIT: I realized it is possible to reduce it even further)

\documentclass{minimal}
\usepackage{expl3,xparse}
\ExplSyntaxOn

\cs_generate_variant:Nn \tl_if_eq:nnTF { xxTF }

\def\ifevenmarkcontd#1{
\tl_if_eq:xxTF { me } { you }
{
}
{
}
}

\ExplSyntaxOff

\begin{document}
\ifevenmarkcontd{anything}
\end{document}


When running it the error message is:

! Undefined control sequence.
<argument> \::T
\::F
l.19

?


If I use \tl_if_eq:nnTF then it compiles. But I need to expand the arguments, and it did work before the last update. How can I fix this now? What is the reason?

-

## closed as off topic by Marco Daniel, lockstep, Tom Bombadil, percusse, diabonasAug 26 '12 at 13:38

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

I actually had the same error a while back. I assumed I wasn't allowed to define a variant with the following TF because I hadn't had a working version previously. –  Scott H. Aug 26 '12 at 1:24
This is a bug report rather than a question; as such, it would be more appropriate on the LaTeX-L mailing list (see latex-project.org/code.html) than here. See meta.tex.stackexchange.com/q/2622/2966 for discussion of this policy. –  J. C. Salomon Aug 26 '12 at 4:02
oh, sorry. I will send an email as well then. –  MiB Aug 26 '12 at 5:52
I forget how I resolved the issue. At worst you can probably use \tl_set:Nx to expand the the arguments and then pass the resulting tl's to \tl_if_eq:NNTF. –  Scott H. Aug 26 '12 at 6:07
–  Joseph Wright Aug 26 '12 at 6:29

In addition to the point tohecz makes, you don't really need the TF here, which is probably why we've not picked this up in testing. I would do simple
\cs_generate_variant:Nn \tl_if_eq:nnTF { xx }