summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texexpand.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-01-04 12:09:26 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-01-04 12:09:26 +0100
commit705b807c950a697d3c8be592c452a6fb3e561c7e (patch)
tree82904661aca945d008f07deb568ee7f05b55df4f /source/luametatex/source/tex/texexpand.c
parent62d980c99a617ff260f29ac2d3bdb084049f25b0 (diff)
downloadcontext-705b807c950a697d3c8be592c452a6fb3e561c7e.tar.gz
2023-01-04 11:35:00
Diffstat (limited to 'source/luametatex/source/tex/texexpand.c')
-rw-r--r--source/luametatex/source/tex/texexpand.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/luametatex/source/tex/texexpand.c b/source/luametatex/source/tex/texexpand.c
index f257f8b0f..feb20c8d9 100644
--- a/source/luametatex/source/tex/texexpand.c
+++ b/source/luametatex/source/tex/texexpand.c
@@ -88,8 +88,8 @@ inline static void tex_aux_expand_after(void)
if (cur_cmd > max_command_cmd) {
tex_expand_current_token();
} else {
- tex_back_input(t2);
- /* token_link(t1) = t2; */ /* no gain, rarely happens */
+ tex_back_input(t2);
+ /* token_link(t1) = t2; */ /* no gain, rarely happens */
}
tex_back_input(t1);
}
@@ -980,7 +980,7 @@ static void tex_aux_macro_call(halfword cs, halfword cmd, halfword chr)
} else {
/* maybe move the preamble scanner to here */
}
- tex_token_show(chr, default_token_show_max);
+ tex_token_show(chr);
}
tex_end_diagnostic();
}
@@ -1355,7 +1355,7 @@ static void tex_aux_macro_call(halfword cs, halfword cmd, halfword chr)
if (tracing) {
tex_begin_diagnostic();
tex_print_format("%c%c<-", match_visualizer, '0' + nofscanned + (nofscanned > 9 ? gap_match_count : 0));
- tex_show_token_list(pstack[nofscanned - 1], null, default_token_show_max, 0);
+ tex_show_token_list(pstack[nofscanned - 1], 0);
tex_end_diagnostic();
}
} else {
@@ -1449,7 +1449,7 @@ static void tex_aux_macro_call(halfword cs, halfword cmd, halfword chr)
This comes last, after the cleanup and the start of the macro list.
*/
if (nofscanned) {
- tex_copy_pstack_to_param_stack(&pstack[0], nofscanned);
+ tex_copy_to_parameter_stack(&pstack[0], nofscanned);
}
EXIT:
lmt_expand_state.arguments = nofarguments;