shithub: scc

Download patch

ref: 56114f333a1bf506d457033591b0101f3dc958b4
parent: 695cff844c8fb4d44a68da49758db726f47d9288
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue May 19 11:55:33 EDT 2015

Fix syntax error in symbol.c

--- a/cc1/symbol.c
+++ b/cc1/symbol.c
@@ -45,7 +45,7 @@
 			hp->next = sym;
 			hp = sym;
 			continue;
-		else if (sym->ns == NS_LABEL && !(sym->flags & ISDEFINED)) {
+		} else if (sym->ns == NS_LABEL && !(sym->flags & ISDEFINED)) {
 			/* FIXME: don't recover in this point */
 			error("label '%s' is not defined", sym->name);
 		} else if (sym->ns == NS_TAG) {