* 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

@@ -1,5 +1,11 @@
2001-09-18 Marc Autret <autret_m@epita.fr>
* src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
do that.
Reported by Keith Browne.
2001-09-18 Marc Autret <autret_m@epita.fr>
* tests/output.at: Add tests for --defines and --graph.
2001-09-18 Marc Autret <autret_m@epita.fr>

1
THANKS
View File

@@ -9,6 +9,7 @@ Hans Aberg haberg@matematik.su.se
Jesse Thilo jthilo@gnu.org
Jim Meyering meyering@gnu.org
Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De
Keith Browne kbrowne@legato.com
Laurent Mascherpa laurent.mascherpa@epita.fr
Marc Autret autret_m@epita.fr
Neil Booth NeilB@earthling.net

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':