aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-13 20:03:43 +1300
committerAndrew Chambers <[email protected]>2021-10-13 20:03:43 +1300
commit93b535597ad003629315793c58f3eeea0b907527 (patch)
tree91ab02b4179435e436a848cb0e3442ab359371f1 /parse.c
parent92c7930bf2f2cfeea51991524384bf6ce226bd7a (diff)
Simplify, intern instructions.
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index b272121..41bc74e 100644
--- a/parse.c
+++ b/parse.c
@@ -128,7 +128,7 @@ AsmLine *parse(void) {
if (ctx.v.kind == ASM_SYNTAX_ERROR)
lfatal("syntax error\n");
l = zalloc(sizeof(AsmLine));
- l->v = ctx.v;
+ l->v = internparsev(&ctx.v);
if (prevl)
prevl->next = l;
else