From 4c50eae6a0e1915f83f80dbf45508e78eb110a37 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 17 Nov 2000 11:08:03 +0000 Subject: [PATCH] * tests/regression.m4 (%union and --defines): New test, demonstrating a current bug in the obstack implementation. --- ChangeLog | 5 +++++ tests/regression.m4 | 41 ++++++++++++++++++++++------------------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3871a9ff..2fc2e944 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-11-17 Akim Demaille + + * tests/regression.m4 (%union and --defines): New test, + demonstrating a current bug in the obstack implementation. + 2000-11-17 Akim Demaille * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New diff --git a/tests/regression.m4 b/tests/regression.m4 index 6fecd6a2..8a004831 100644 --- a/tests/regression.m4 +++ b/tests/regression.m4 @@ -6,7 +6,13 @@ Regression tests. EOF -AT_SETUP(Duplicate string) + +## ------------------ ## +## Duplicate string. ## +## ------------------ ## + + +AT_SETUP([Duplicate string]) AT_DATA([duplicate.y], [[/* `Bison -v' used to dump core when two tokens are defined with the same @@ -23,30 +29,27 @@ exp: '(' exp ')' | NUM ; AT_CHECK([bison -v duplicate.y -o duplicate.c], 0, ignore, ignore) -AT_CLEANUP(duplicate.*) -# -*- Autoconf -*- +AT_CLEANUP([duplicate.*]) -cat <