summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex/textoken.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/textoken.c')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/textoken.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/textoken.c b/Build/source/texk/web2c/luatexdir/tex/textoken.c
index 10a9f80e9fe..ddf91b2b0c2 100644
--- a/Build/source/texk/web2c/luatexdir/tex/textoken.c
+++ b/Build/source/texk/web2c/luatexdir/tex/textoken.c
@@ -1905,6 +1905,9 @@ static next_line_retval next_line(void)
}
force_eof = false;
/*tex \LUA\ input or \.{\\scantextokens} */
+ if (tracing_scan_tokens_par > 0 && (iname == 20 || iname == 19)) {
+ print_char(')');
+ }
if (iname == 21 || iname == 19) {
end_file_reading();
} else {