summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime/c/pgf/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c
index b49dfc4c4..ea68ba8ca 100644
--- a/src/runtime/c/pgf/parser.c
+++ b/src/runtime/c/pgf/parser.c
@@ -1846,10 +1846,11 @@ pgf_get_tokens(PgfSequence seq,
tok_idx = 0;
}
default:
- continue;
+ goto end;
}
}
+end:;
GuString tokens = gu_string_buf_freeze(sbuf, pool);
gu_pool_free(tmp_pool);