mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-07-23 12:40:33 +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:
@@ -1,5 +1,11 @@
|
||||
2001-09-18 Marc Autret <[email protected]>
|
||||
|
||||
* src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
|
||||
do that.
|
||||
Reported by Keith Browne.
|
||||
|
||||
2001-09-18 Marc Autret <[email protected]>
|
||||
|
||||
* tests/output.at: Add tests for --defines and --graph.
|
||||
|
||||
2001-09-18 Marc Autret <[email protected]>
|
||||
|
||||
@@ -9,6 +9,7 @@ Hans Aberg [email protected]
|
||||
Jesse Thilo [email protected]
|
||||
Jim Meyering [email protected]
|
||||
Juan Manuel Guerrero [email protected]
|
||||
Keith Browne [email protected]
|
||||
Laurent Mascherpa [email protected]
|
||||
Marc Autret [email protected]
|
||||
Neil Booth [email protected]
|
||||
|
||||
+9
-4
@@ -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