diff options
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index 33d2e7f..347c1a6 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1047,8 +1047,12 @@ teco_state_expectstring_input(teco_machine_main_t *ctx, gunichar chr, GError **e * to the ANSI range (teco_ascii_toupper())? * This would be faster than case folding each and every character * of a string argument to check against the escape char. + * + * FIXME: This has undesired effects if you try to use one of + * of these characters with multiple string arguments. */ switch (ctx->expectstring.machine.escape_char) { + case TECO_CTL_KEY('A'): case '\e': case '{': if (ctx->parent.must_undo) |