* src/SDCCmem.c (allocVariables): fixed bug #955321
[fw/sdcc] / src / SDCCmem.c
index dc0982b44137381faf5189e571f0a864e171194a..2f55cf2d49c41ce45bf717e4709e2761ac3eff1d 100644 (file)
@@ -816,6 +816,7 @@ allocVariables (symbol * symChain)
          if (csym && csym->level == sym->level)
            werror (E_DUPLICATE_TYPEDEF, sym->name);
 
+         SPEC_EXTR (sym->etype) = 0;
          addSym (TypedefTab, sym, sym->name, sym->level, sym->block, 0);
          continue;             /* go to the next one         */
        }