aboutsummaryrefslogtreecommitdiff
path: root/src/parse.cff
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.cff')
-rw-r--r--src/parse.cff1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.cff b/src/parse.cff
index ce32475..96ffaea 100644
--- a/src/parse.cff
+++ b/src/parse.cff
@@ -437,6 +437,7 @@ fn lex(P *Parser) Tok {
str Vec<u8> = {},
c u8 #?,
i = 0z;
+ defer str->clear();
while (c = chr(P)) != delim {
if c == 0 or c == '\n' {
fatal(P, P.tokloc, "unterminated %s literal",