mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 18:53: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:
@@ -1,5 +1,11 @@
|
|||||||
2001-09-18 Marc Autret <autret_m@epita.fr>
|
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.
|
* tests/output.at: Add tests for --defines and --graph.
|
||||||
|
|
||||||
2001-09-18 Marc Autret <autret_m@epita.fr>
|
2001-09-18 Marc Autret <autret_m@epita.fr>
|
||||||
|
|||||||
1
THANKS
1
THANKS
@@ -9,6 +9,7 @@ Hans Aberg haberg@matematik.su.se
|
|||||||
Jesse Thilo jthilo@gnu.org
|
Jesse Thilo jthilo@gnu.org
|
||||||
Jim Meyering meyering@gnu.org
|
Jim Meyering meyering@gnu.org
|
||||||
Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De
|
Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De
|
||||||
|
Keith Browne kbrowne@legato.com
|
||||||
Laurent Mascherpa laurent.mascherpa@epita.fr
|
Laurent Mascherpa laurent.mascherpa@epita.fr
|
||||||
Marc Autret autret_m@epita.fr
|
Marc Autret autret_m@epita.fr
|
||||||
Neil Booth NeilB@earthling.net
|
Neil Booth NeilB@earthling.net
|
||||||
|
|||||||
13
src/reader.c
13
src/reader.c
@@ -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