Removed the id_enum macro and replaced id_struct by id_tag (better name)

This commit is contained in:
ceriel
1991-07-08 16:49:04 +00:00
parent ca104453ca
commit 240dd55fd9
6 changed files with 15 additions and 23 deletions

View File

@@ -379,7 +379,7 @@ enum_specifier(register struct type **tpp;)
{
#ifdef DBSYMTAB
if (options['g']) {
stb_tag(idf->id_enum, idf->id_text);
stb_tag(idf->id_tag, idf->id_text);
}
#endif /*DBSYMTAB */
}
@@ -446,14 +446,14 @@ struct_or_union_specifier(register struct type **tpp;)
[
{
declare_struct(fund, idf, tpp);
(idf->id_struct->tg_busy)++;
(idf->id_tag->tg_busy)++;
}
struct_declaration_pack(*tpp)
{
(idf->id_struct->tg_busy)--;
(idf->id_tag->tg_busy)--;
#ifdef DBSYMTAB
if (options['g']) {
stb_tag(idf->id_struct, idf->id_text);
stb_tag(idf->id_tag, idf->id_text);
}
#endif /*DBSYMTAB */
}