diff options
Diffstat (limited to 'src/tools/zc0.c')
| -rw-r--r-- | src/tools/zc0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/zc0.c b/src/tools/zc0.c index a3c3f4a..d484016 100644 --- a/src/tools/zc0.c +++ b/src/tools/zc0.c @@ -783,7 +783,7 @@ static void stmt(void) else if (is(".")) { next(); ptagname(); nw = 1; } /* a bare tag: .m p = new(3); */ else if (is("embed")) { /* embed "file" as [type] name; makes a local */ Lex L; lexsave(&L); next(); - if (tk == T_STR) { embeddecl(1); return; } + if (tk == T_STR) { free(L.ts); embeddecl(1); return; } /* the saved token is not restored */ lexrest(&L); } if (nw >= 0 || accept("let") || accept("var")) { |
