summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/lua
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lnewtokenlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/lnewtokenlib.c b/Build/source/texk/web2c/luatexdir/lua/lnewtokenlib.c
index 3e879b54ade..cb3736b8ee3 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lnewtokenlib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lnewtokenlib.c
@@ -580,9 +580,11 @@ static int run_scan_string(lua_State * L) /* HH */
t = def_ref;
def_ref = saved_defref;
tokenlist_to_luastring(L,t);
+ flush_list(t);
} else if (cur_cmd == call_cmd) {
t = token_link(cur_chr);
tokenlist_to_luastring(L,t);
+ flush_list(t);
} else if (cur_cmd == 11 || cur_cmd == 12 ) {
declare_buffer;
while (1) {
@@ -617,6 +619,7 @@ static int run_scan_argument(lua_State * L) /* HH */
t = def_ref;
def_ref = saved_defref;
tokenlist_to_luastring(L,t);
+ flush_list(t);
} else if (cur_cmd == call_cmd) {
halfword saved_cur_tok = cur_tok;
cur_tok = right_brace_token + '}';
@@ -630,6 +633,7 @@ static int run_scan_argument(lua_State * L) /* HH */
t = def_ref;
def_ref = saved_defref;
tokenlist_to_luastring(L,t);
+ flush_list(t);
} else if (cur_cmd == 11 || cur_cmd == 12 ) {
declare_buffer;
while (1) {