summaryrefslogtreecommitdiff
path: root/parse/gram.y
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-26 16:56:14 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-26 16:56:14 -0800
commit37851f1670b9022625f90b6c5412acf212618a05 (patch)
tree0aea377b7a98c524752406e41effe9f2e1913580 /parse/gram.y
parent6e5b64b5b225a3a491cc07dbb6f300bd4a5994b2 (diff)
downloadmc-37851f1670b9022625f90b6c5412acf212618a05.tar.gz
Fix some generated asm for plan9.
Diffstat (limited to 'parse/gram.y')
-rw-r--r--parse/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/gram.y b/parse/gram.y
index fc29391..c53c763 100644
--- a/parse/gram.y
+++ b/parse/gram.y
@@ -805,7 +805,7 @@ funclit : Tobrace params Tendln blkbody Tcbrace {
fn = $$->lit.fnval;
for (i = 0; i < nlbls; i++) {
lit = lbls[i]->expr.args[0];
- putlbl(fn->func.scope, lbls[i]->lit.lblname, lbls[i]);
+ putlbl(fn->func.scope, lit->lit.lblname, lbls[i]);
}
lfree(&lbls, &nlbls);
}