* src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment

do that.
Reported by Keith Browne.
This commit is contained in:
Marc Autret
2001-09-18 11:37:11 +00:00
parent ea4f4c4c1b
commit 7972022dac
3 changed files with 16 additions and 4 deletions

View File

@@ -736,10 +736,15 @@ parse_union_decl (void)
while (c != EOF)
{
obstack_1grow (&attrs_obstack, c);
if (defines_flag)
obstack_1grow (&defines_obstack, c);
/* If C contains '/', it is output by copy_comment (). */
if (c != '/')
{
obstack_1grow (&attrs_obstack, c);
if (defines_flag)
obstack_1grow (&defines_obstack, c);
}
switch (c)
{
case '\n':