shithub: riscv

Download patch

ref: b62042cdebfe221eb78245ee756d0f0dfde9cc9d
parent: 6aa1ca35c31e38a0f463d13bdd7e6d3391d0d824
author: cinap_lenrek <[email protected]>
date: Sun Sep 9 05:06:37 EDT 2012

libaml: store *value* instead of name reference in dest for alias op

--- a/sys/src/libaml/aml.c
+++ b/sys/src/libaml/aml.c
@@ -1072,7 +1072,7 @@
 	Name *n;
 
 	if(n = FP->arg[1])
-		n->v = FP->arg[0];
+		n->v = deref(FP->arg[0]);
 	return nil;
 }