diff options
Diffstat (limited to 'src/parser.c')
| -rw-r--r-- | src/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c index c84881b..32e60cd 100644 --- a/src/parser.c +++ b/src/parser.c @@ -378,7 +378,8 @@ teco_machine_main_transition_input(teco_machine_main_t *ctx, if ((ctx->flags.modifier_at && !transitions[chr].modifier_at) || (ctx->flags.mode == TECO_MODE_NORMAL && ctx->flags.modifier_colon > transitions[chr].modifier_colon)) { - teco_error_modifier_set(error, chr); + gchar cmd[] = {chr, '\0'}; + teco_error_modifier_set(error, cmd); return NULL; } |
