/* check if it is in the table as a typedef */
if (!ignoreTypedefType && sym && IS_SPEC (sym->etype)
- && SPEC_TYPEDEF (sym->etype))
+ && SPEC_TYPEDEF (sym->etype) && findSym(TypedefTab, NULL, yytext))
return (TYPE_NAME);
else
return(IDENTIFIER);
dbuf_destroy(&linebuf);
}
else
- unput(ch);
- break;
+ {
+ unput(ch);
+ goto out;
+ }
default:
count_char(ch);