[Dev-luatex] String problem with \csname\endcsname

Taco Hoekwater taco at elvenkind.com
Fri Jul 17 13:22:16 CEST 2009

Hi Manuel,

Manuel Pégourié-Gonnard wrote:
> Hi,
> Here's a small problem with luatex from trunk (notice the missing 'hello' in the
> first line):
> ! \csname\endcsname.
> l.2 \errmessage{hello \csname\endcsname}
> More generally, print_cs() screws things up when printing null_cs while selector
> is new_string, by indirectly calling make_string(). I think the attached patch
> solves the problem.


> Manuel.
> PS: Btw, I wonder about two points in tokenlist_to_cstring()
> - why did you comment out printing of \csname\endcsname?
> - why is there two times Print_uchar(e) in the definition of Print_esc?

The function was originally used from some very specific lua code only,
I'll fix that.

Best wishes,

More information about the dev-luatex mailing list