scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 6ea8920a77633b7ea3190e2db5ba390a9cfc1f22
parent df8e77f218a09fa630992c262d652586ac18ac95
Author: Lucas Gabriel Vuotto <l.vuotto92@gmail.com>
Date:   Wed, 13 Apr 2016 10:46:38 -0300

[cc2-qbe] Fix typo in variable name

Signed-off-by: Lucas Gabriel Vuotto <l.vuotto92@gmail.com>

Diffstat:
Mcc2/arch/qbe/cgen.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c @@ -156,7 +156,7 @@ sethi(Node *np) if (np->address > 10) return np; if (lp) - rp->complex = lp->complex; + np->complex = lp->complex; if (rp) { int d = np->complex - rp->complex;