[tex-live] Possible lacheck Bug Report
Karl Berry
karl at freefriends.org
Sun Jan 27 00:21:35 CET 2019
Yes, they have different syntax
Indeed :).
and the syntax of \[exg]def is quite complex.
Fortunately there is no need to actually parse \def definitions.
We just see \[exg]def\ and then ignore everything up to the {.
That is almost what it's doing now; it's just not looking for the \
after \def (possibly preceded by whitespace, of course) to start the
control sequence being defined. Thus the misinterpretation of \def
followed by something else.
give above has another bug: [exg]? should apply to def only, not to
newcommand, hence it must not be outsode the parentheses.
Clearly, but also clearly not a problem in practice, since no one
creates \enewcommand etc. And even if they did, it would work well
enough. There is no harm (and no gain) in recognizing it. -k
More information about the tex-live
mailing list