aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 295c635..f4f7595 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -374,6 +374,7 @@ void
teco_machine_main_clear(teco_machine_main_t *ctx)
{
teco_goto_table_clear(&ctx->goto_table);
+ teco_string_clear(&ctx->expectstring.string);
teco_machine_stringbuilding_clear(&ctx->expectstring.machine);
}