From 0f53f2226d85e39a2533f851b53f634111f849f0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 28 Apr 2004 06:03:54 +0000 Subject: [PATCH] (%union synch line): Put a dummy member in the union, because empty unions aren't allowed in C. Caught by GCC 3.4.0. --- tests/synclines.at | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/synclines.at b/tests/synclines.at index 0128e6b8..e10f3c63 100644 --- a/tests/synclines.at +++ b/tests/synclines.at @@ -1,5 +1,5 @@ # Executing Actions. -*- Autotest -*- -# Copyright (C) 2002 Free Software Foundation, Inc. +# Copyright (C) 2002, 2004 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -100,6 +100,7 @@ exp: '0'; AT_TEST_SYNCLINE([%union synch line], [[%union { #error "2" + char dummy; } %{ void yyerror (const char *s); -- 2.45.2