mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
do that. Reported by Keith Browne.
This commit is contained in:
13
src/reader.c
13
src/reader.c
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user