ref: a2edadd2f36ac7cd89027252bdc63f459112ec1a
parent: befd4b3ef6de5f64ba923e2b0b86e46609e7e1fd
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 14 13:11:50 EDT 2015
Remove wrong test in initializer
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -349,9 +349,6 @@
static struct node *
initializer(Symbol *sym)
{
- if (!(sym->flags & ISEXTERN))
- error("'%s' initialized and declared extern", sym->name);
-
if (accept('{')) {
initializer(sym);
expect('}');