The problem also concerns \starttyping:
\starttext
.
\startluacode
context([[
\starttyping
\stoptyping
]])
\stopluacode
\stoptext
tex error > runaway error: end of file encountered
mtx-context | fatal error: return code: 256
%%%%%%%%%
\starttext
.
\startluacode
context([[
\starttyping
foobar
\stoptyping
]])
\stopluacode
\stoptext
tex error > tex error on line 5 in file ./test.tex:
lua error:
registered function call [1041]: ...mtx/tex/texmf-context/tex/context/base/mkxl/buff-ini.lmt:534: invalid value (nil) at index 3 in table for '
concat'
stack traceback:
[C]: in function 'table.concat'
...mtx/tex/texmf-context/tex/context/base/mkxl/buff-ini.lmt:534: in upvalue 'pickup'
...mtx/tex/texmf-context/tex/context/base/mkxl/buff-ini.lmt:677: in function <...mtx/tex/texmf-context/tex/context/base/mkxl/buff-ini.lmt:668>
(...tail calls...)
Sylvain