Commit 2f3d695a authored by Russ Cox's avatar Russ Cox

gc: fix bug introduced earlier

Apparently l and $1 were the same register on Linux.
On the other systems, the compiler caught it.

R=ken2
CC=golang-dev
https://golang.org/cl/5654061
parent 337547d1
......@@ -1422,6 +1422,7 @@ structdcl:
NodeList *l;
Node *n;
l = $1;
if(l != nil && l->next == nil && l->n == nil) {
// ? symbol, during import
n = $2;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment