ref: df39695ef7997e8cfb4bb3e00976c4689edb15f5
parent: 1ded9b772e698bf9aa277fc3790c7674046161e2
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Jan 12 04:26:21 EST 2016
Fix copy-paste error in stab.c Thanks to 'paperwing' dude on irc.
--- a/parse/stab.c
+++ b/parse/stab.c
@@ -269,7 +269,7 @@
if (e->decl.isconst != g->decl.isconst)
fatal(e, "export %s declared with different constness on %s:%d", declname(e),
fname(g->loc), lnum(g->loc));
- if (e->decl.isconst != g->decl.isconst)
+ if (e->decl.isextern != g->decl.isextern)
fatal(e, "export %s declared with different externness on %s:%d", declname(e),
fname(g->loc), lnum(g->loc));