mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-09-14 12:27:08 +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]>
|
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.
|
* tests/output.at: Add tests for --defines and --graph.
|
||||||
|
|
||||||
2001-09-18 Marc Autret <[email protected]>
|
2001-09-18 Marc Autret <[email protected]>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Hans Aberg [email protected]
|
|||||||
Jesse Thilo [email protected]
|
Jesse Thilo [email protected]
|
||||||
Jim Meyering [email protected]
|
Jim Meyering [email protected]
|
||||||
Juan Manuel Guerrero [email protected]
|
Juan Manuel Guerrero [email protected]
|
||||||
|
Keith Browne [email protected]
|
||||||
Laurent Mascherpa [email protected]
|
Laurent Mascherpa [email protected]
|
||||||
Marc Autret [email protected]
|
Marc Autret [email protected]
|
||||||
Neil Booth [email protected]
|
Neil Booth [email protected]
|
||||||
|
|||||||
+9
-4
@@ -736,10 +736,15 @@ parse_union_decl (void)
|
|||||||
|
|
||||||
while (c != EOF)
|
while (c != EOF)
|
||||||
{
|
{
|
||||||
obstack_1grow (&attrs_obstack, c);
|
|
||||||
if (defines_flag)
|
/* If C contains '/', it is output by copy_comment (). */
|
||||||
obstack_1grow (&defines_obstack, c);
|
if (c != '/')
|
||||||
|
{
|
||||||
|
obstack_1grow (&attrs_obstack, c);
|
||||||
|
if (defines_flag)
|
||||||
|
obstack_1grow (&defines_obstack, c);
|
||||||
|
}
|
||||||
|
|
||||||
switch (c)
|
switch (c)
|
||||||
{
|
{
|
||||||
case '\n':
|
case '\n':
|
||||||
|
|||||||
Reference in New Issue
Block a user